diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-05-05 14:57:23 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-10 20:42:28 -0700 |
| commit | 2f05b1482a6f62658cc70c252d48a24a40404aa8 (patch) | |
| tree | 17384a9a13b9cb993918ded8c83b8d7a123e6b47 /src/Compilation.zig | |
| parent | ac07ddadeb36019c262b4f28a4fa3884f6f50b32 (diff) | |
| download | zig-2f05b1482a6f62658cc70c252d48a24a40404aa8.tar.gz zig-2f05b1482a6f62658cc70c252d48a24a40404aa8.zip | |
Sema: update core comptime detection logic to be InternPool aware
* Add some assertions to make sure instructions are not none. I tested
all these with master branch as well and made sure the behavior tests
still passed with the assertions intact (along with a handful of
callsite updates).
* Fix Sema.resolveMaybeUndefValAllowVariablesMaybeRuntime not noticing
that interned values are comptime-known. This was causing all kinds
of chaos.
* Fix print_air writeType calling tag() without checking for ip_index
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
