diff options
Diffstat (limited to 'src/Module.zig')
| -rw-r--r-- | src/Module.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Module.zig b/src/Module.zig index 20cb7bf195..3806c0dea8 100644 --- a/src/Module.zig +++ b/src/Module.zig @@ -796,6 +796,10 @@ pub const Scope = struct { /// The first N instructions in a function body ZIR are arg instructions. instructions: std.ArrayListUnmanaged(*zir.Inst) = .{}, label: ?Label = null, + break_block: ?*zir.Inst.Block = null, + continue_block: ?*zir.Inst.Block = null, + /// only valid if label != null or (continue_block and break_block) != null + break_result_loc: astgen.ResultLoc = undefined, pub const Label = struct { token: ast.TokenIndex, |
