aboutsummaryrefslogtreecommitdiff
path: root/src/Air.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-07-14 21:57:40 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-07-20 12:19:16 -0700
commitc020a302960c499ffe811dd0601a2d386c191b91 (patch)
treecdcc37a5a2efc0ade7be07c8c014d1f82f8d547b /src/Air.zig
parent27be4f31402557972ae28d552f4ec4617357d454 (diff)
downloadzig-c020a302960c499ffe811dd0601a2d386c191b91.tar.gz
zig-c020a302960c499ffe811dd0601a2d386c191b91.zip
Sema: remove br_block_flat AIR instruction
Thanks to the new AIR memory layout, we can do this by turning a br operand into a block, rather than having this special purpose instruction.
Diffstat (limited to 'src/Air.zig')
-rw-r--r--src/Air.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Air.zig b/src/Air.zig
index e2eeae1130..60e6e9933d 100644
--- a/src/Air.zig
+++ b/src/Air.zig
@@ -308,10 +308,6 @@ pub const Inst = struct {
operand: Ref,
payload: u32,
},
- constant: struct {
- ty: Type,
- val: Value,
- },
dbg_stmt: struct {
line: u32,
column: u32,