aboutsummaryrefslogtreecommitdiff
path: root/src/Zir.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-09-16 23:49:00 +0300
committerGitHub <noreply@github.com>2022-09-16 23:49:00 +0300
commitb2aedb07096fa4ed8766d3aa87e70704cee68265 (patch)
tree415ec2d04881991f541477ec0d0c1d96a21d056d /src/Zir.zig
parent8edd7219c0d5cc5799ae26ee8299b4d4114f7aed (diff)
parent31daea74d23be813737892a166cc16ade1272a1a (diff)
downloadzig-b2aedb07096fa4ed8766d3aa87e70704cee68265.tar.gz
zig-b2aedb07096fa4ed8766d3aa87e70704cee68265.zip
Merge pull request #12796 from Vexu/referenced-by-v2
stage2: add referenced by trace to compile errors attempt #2 (+ some fixes)
Diffstat (limited to 'src/Zir.zig')
-rw-r--r--src/Zir.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Zir.zig b/src/Zir.zig
index 167a55d19e..4953e575f9 100644
--- a/src/Zir.zig
+++ b/src/Zir.zig
@@ -287,7 +287,7 @@ pub const Inst = struct {
/// Uses the `break` union field.
break_inline,
/// Checks that comptime control flow does not happen inside a runtime block.
- /// Uses the `node` union field.
+ /// Uses the `un_node` union field.
check_comptime_control_flow,
/// Function call.
/// Uses the `pl_node` union field with payload `Call`.
@@ -1600,7 +1600,7 @@ pub const Inst = struct {
.bool_br_or = .bool_br,
.@"break" = .@"break",
.break_inline = .@"break",
- .check_comptime_control_flow = .node,
+ .check_comptime_control_flow = .un_node,
.call = .pl_node,
.cmp_lt = .pl_node,
.cmp_lte = .pl_node,