0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/src
Andrew Kelley 04572f6e34 Sema: fix coerceResultPtr
It did not handle properly when the dummy operand was a comptime_int; it
was crashing in coerce because comptime_int is supposed to be
comptime-known. So when calling coerceResultPtr, we pass the actual
operand, not a dummy operand, which means it will have the proper
comptime value when necessary.
History 2022-07-14 18:11:46 -07:00
..
arch stage2 ARM: add integer modulo with constant power-of-two rhs 2022-07-12 23:22:15 +02:00
codegen LLVM: implement signext/zeroext attributes 2022-07-13 11:14:46 -07:00
link wasm-linker: Implement linker tests (#12006) 2022-07-12 14:36:33 +02:00
stage1 stage1: fix typo in analyze.cpp (#12077) 2022-07-11 18:30:28 +02:00
translate_c stage2: fix bugs preventing stage2 from building stage3 with LLVM 2022-04-15 23:32:26 +03:00
Air.zig stage2: lower float negation explicitly 2022-06-30 00:02:00 -07:00
AstGen.zig AstGen: fix loop control flow applying to wrong loop 2022-07-13 16:10:41 -07:00
BuiltinFn.zig add new builtin function @tan 2022-04-27 16:45:23 -07:00
Cache.zig Revert "Fix C include files not being in whole cache (#11365)" 2022-04-22 08:19:51 -07:00
clang.zig Merge remote-tracking branch 'origin/master' into llvm14 2022-07-01 15:52:54 -07:00
clang_options.zig zig cc: honor all -m and -mno- CPU feature flags 2021-11-26 19:59:33 -07:00
clang_options_data.zig stage2: cleanups to --compress-debug-sections 2022-07-11 14:18:56 -07:00
codegen.zig stage2: make error{} the same size as anyerror 2022-06-11 23:49:33 +03:00
Compilation.zig Merge pull request #12044 from Vexu/stage2-compile-errors 2022-07-11 20:45:27 -04:00
config.zig.in update build scripts to LLD and LLVM 14 libraries 2022-07-03 18:41:43 -07:00
crash_report.zig std.Thread: ResetEvent improvements (#11523) 2022-04-26 16:48:56 -05:00
DepTokenizer.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
empty.zig fix wrong entrypoint, undefined package, and wrong build option 2020-12-07 17:27:09 -07:00
glibc.zig target: Rename sparcv9 -> sparc64 2022-05-13 16:43:59 -04:00
InternPool.zig stage2: rename InternArena to InternPool 2022-04-06 11:50:23 -07:00
introspect.zig stage2: Move WASI/Zig-specific selfExePath to introspect.zig 2022-04-18 23:06:49 -07:00
libc_installation.zig stage2: remove dependencies on async functions 2022-04-02 19:18:41 -07:00
libcxx.zig libcxx: add additional include directory 2022-07-02 20:41:47 -07:00
libtsan.zig stage2: fix path to cache artifacts in libcxx, 2022-01-02 13:16:17 -07:00
libunwind.zig stage2: fix path to cache artifacts in libcxx, 2022-01-02 13:16:17 -07:00
link.zig wasm-linker: Implement linker tests (#12006) 2022-07-12 14:36:33 +02:00
Liveness.zig stage2: lower float negation explicitly 2022-06-30 00:02:00 -07:00
main.zig stage2: handle parser notes in a more general way 2022-07-12 12:50:59 +03:00
mingw.zig std: Do not allocate the result for ChildProcess.init 2022-04-29 22:50:34 -04:00
Module.zig stage2: lower each struct field type, align, init separately 2022-07-13 02:38:13 -04:00
musl.zig compiler_rt: compile each unit separately for improved archiving 2022-06-17 16:38:59 -07:00
Package.zig flatten lib/std/special and improve "pkg inside another" logic 2022-05-06 22:41:00 -07:00
print_air.zig stage2: lower float negation explicitly 2022-06-30 00:02:00 -07:00
print_env.zig stage2: Move WASI/Zig-specific selfExePath to introspect.zig 2022-04-18 23:06:49 -07:00
print_targets.zig Remove usage of inline for from print_targets.cmdTargets 2022-04-26 17:52:21 -04:00
print_zir.zig print_zir: fix wrong union tag for validate_deref 2022-07-14 17:16:07 -07:00
RangeSet.zig std.math.big.int: breaking API changes to prevent UAF 2022-06-29 22:06:27 -04:00
register_manager.zig x64: simplify saving registers to stack in prologue 2022-06-07 19:33:40 +02:00
Sema.zig Sema: fix coerceResultPtr 2022-07-14 18:11:46 -07:00
stage1.zig Revert "Fix C include files not being in whole cache (#11365)" 2022-04-22 08:19:51 -07:00
target.zig stage2: object format affects whether LLVM can be used 2022-06-30 18:33:02 -07:00
test.zig Compilation: indent multiline error messages properly 2022-07-12 00:10:39 +03:00
ThreadPool.zig Compilation: multi-thread compiler-rt 2022-06-17 16:38:59 -07:00
tracy.zig lint: duplicate import (#10519) 2022-01-07 00:06:06 -05:00
translate_c.zig Merge remote-tracking branch 'origin/master' into llvm14 2022-07-04 14:07:08 -07:00
type.zig stage2: fix comptime bitcast involving f80 2022-07-13 13:14:37 -07:00
TypedValue.zig stage2: Fix panic when printing AIR for tuple/anon struct types 2022-07-08 10:19:17 +03:00
value.zig Sema: fix coerce_result_ptr in case of inferred result type 2022-07-14 16:48:44 -07:00
WaitGroup.zig Compilation: multi-thread compiler-rt 2022-06-17 16:38:59 -07:00
wasi_libc.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
windows_com.hpp windows_com: add missing __CRT_UUID_DECL() for IEnumSetupInstances 2022-07-09 14:04:38 -07:00
windows_sdk.cpp finalize windows_sdk paths based on snickler suggestions 2021-09-07 21:49:08 -06:00
windows_sdk.h fix regressed stage2 test harness 2020-09-21 21:14:01 -07:00
windows_sdk.zig stage2: update for new usingnamespace semantics 2021-09-01 17:54:07 -07:00
zig_clang.cpp Merge remote-tracking branch 'origin/master' into llvm14 2022-07-01 15:52:54 -07:00
zig_clang.h Merge remote-tracking branch 'origin/master' into llvm14 2022-07-01 15:52:54 -07:00
zig_clang_cc1_main.cpp update llvm and clang tools to release/14.x 2022-02-03 13:43:51 -07:00
zig_clang_cc1as_main.cpp update llvm and clang tools to release/14.x 2022-02-03 13:43:51 -07:00
zig_clang_driver.cpp apply zig patches to clang and llvm tools 2022-02-03 14:01:32 -07:00
zig_llvm-ar.cpp apply zig patches to clang and llvm tools 2022-02-03 14:01:32 -07:00
zig_llvm.cpp zig_llvm: include Debug Info Version even for CodeView 2022-07-12 18:38:11 -07:00
zig_llvm.h LLD: the driver functions now return "false" to mean "error" 2022-07-01 22:13:30 -07:00
Zir.zig stage2: lower each struct field type, align, init separately 2022-07-13 02:38:13 -04:00