diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-02-26 20:50:45 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-02-26 21:35:30 -0700 |
| commit | 5f3b21a5b6895bd2bfc7144a038a4b7b60313736 (patch) | |
| tree | a297b2bea36043bab867eec337303fc1ddab03f1 /src/InternPool.zig | |
| parent | f7143e18e368eb89763e9d813b8b7c9c96dd1bd3 (diff) | |
| download | zig-5f3b21a5b6895bd2bfc7144a038a4b7b60313736.tar.gz zig-5f3b21a5b6895bd2bfc7144a038a4b7b60313736.zip | |
Zir: decouple from InternPool
Note that the correctness of these enum tag values is still protected
by the comptime logic at the top of Zcu (currently src/Module.zig).
Diffstat (limited to 'src/InternPool.zig')
| -rw-r--r-- | src/InternPool.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig index fa7f1153ec..70c332e9ac 100644 --- a/src/InternPool.zig +++ b/src/InternPool.zig @@ -2858,7 +2858,7 @@ pub const static_keys = [_]Key{ /// This is specified with an integer literal and a corresponding comptime /// assert below to break an unfortunate and arguably incorrect dependency loop /// when compiling. -pub const static_len = 84; +pub const static_len = Zir.Inst.Index.static_len; comptime { //@compileLog(static_keys.len); assert(static_len == static_keys.len); |
