aboutsummaryrefslogtreecommitdiff
path: root/src/AstGen.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-04-23 22:40:57 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-04-23 22:40:57 -0700
commit6b98384e20e738dceabaad38dab1be12375f2a3d (patch)
treec6836eb784d8c07e177f98ee8503b179236c2b65 /src/AstGen.zig
parentfbfae832eaf520f7fcc632580b4b4a7fb171f90f (diff)
downloadzig-6b98384e20e738dceabaad38dab1be12375f2a3d.tar.gz
zig-6b98384e20e738dceabaad38dab1be12375f2a3d.zip
stage2: remove dead ZIR instructions
clearing up some enum tag space for future added instructions
Diffstat (limited to 'src/AstGen.zig')
-rw-r--r--src/AstGen.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/AstGen.zig b/src/AstGen.zig
index 5994ca0d7f..c3829d31e1 100644
--- a/src/AstGen.zig
+++ b/src/AstGen.zig
@@ -1825,7 +1825,6 @@ fn unusedResultExpr(gz: *GenZir, scope: *Scope, statement: ast.Node.Index) Inner
.int_big,
.float,
.float128,
- .intcast,
.int_type,
.is_non_null,
.is_null,
@@ -1837,7 +1836,6 @@ fn unusedResultExpr(gz: *GenZir, scope: *Scope, statement: ast.Node.Index) Inner
.mul,
.mulwrap,
.param_type,
- .ptrtoint,
.ref,
.shl,
.shr,
@@ -2004,7 +2002,6 @@ fn unusedResultExpr(gz: *GenZir, scope: *Scope, statement: ast.Node.Index) Inner
.condbr_inline,
.compile_error,
.ret_node,
- .ret_tok,
.ret_coerce,
.@"unreachable",
.store,