diff options
| author | Meghan <hello@nektro.net> | 2022-07-24 01:56:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-24 11:56:33 +0300 |
| commit | dea437edfb124b8a4cf4f2e09330ef4282991cc9 (patch) | |
| tree | cff1a5c5f9b89c4f8f94def8006f7d07f9757dbc /src/print_zir.zig | |
| parent | 903bed931dddc8b3f7ad1fa87e57eca13375dd32 (diff) | |
| download | zig-dea437edfb124b8a4cf4f2e09330ef4282991cc9.tar.gz zig-dea437edfb124b8a4cf4f2e09330ef4282991cc9.zip | |
stage2: implement `noinline fn`
Diffstat (limited to 'src/print_zir.zig')
| -rw-r--r-- | src/print_zir.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/print_zir.zig b/src/print_zir.zig index 3a10c8c8cb..6b85e767d3 100644 --- a/src/print_zir.zig +++ b/src/print_zir.zig @@ -1984,6 +1984,7 @@ const Writer = struct { inferred_error_set, false, false, + false, .none, &.{}, @@ -2091,6 +2092,7 @@ const Writer = struct { extra.data.bits.is_inferred_error, extra.data.bits.is_var_args, extra.data.bits.is_extern, + extra.data.bits.is_noinline, align_ref, align_body, addrspace_ref, @@ -2250,6 +2252,7 @@ const Writer = struct { inferred_error_set: bool, var_args: bool, is_extern: bool, + is_noinline: bool, align_ref: Zir.Inst.Ref, align_body: []const Zir.Inst.Index, addrspace_ref: Zir.Inst.Ref, @@ -2273,6 +2276,7 @@ const Writer = struct { try self.writeFlag(stream, "vargs, ", var_args); try self.writeFlag(stream, "extern, ", is_extern); try self.writeFlag(stream, "inferror, ", inferred_error_set); + try self.writeFlag(stream, "noinline, ", is_noinline); if (noalias_bits != 0) { try stream.print("noalias=0b{b}, ", .{noalias_bits}); |
