zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit a830ebe7180e28cbedc312ee65d390962b673b37 (tree)
parent 8df4bb7c968a41a9fca4fe56f48ccee90d2e551e
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Thu, 22 Apr 2021 22:18:41 -0700

ZIR: fix text printing of field_ptr_type

Thanks @g-w1

Diffstat:
Msrc/Zir.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Zir.zig b/src/Zir.zig @@ -2304,6 +2304,7 @@ const Writer = struct { .store, .store_to_block_ptr, .store_to_inferred_ptr, + .field_ptr_type, => try self.writeBin(stream, inst), .alloc, @@ -2436,7 +2437,6 @@ const Writer = struct { .atomic_store, .mul_add, .builtin_call, - .field_ptr_type, .field_parent_ptr, .memcpy, .memset,