commit 934ebbe900dcc770d7761a87ae35beaf1c5a6797 (tree) parent 414b144257e440be00928290220adcdfcdfb1e77 Author: Andrew Kelley <andrew@ziglang.org> Date: Sun, 18 Jul 2021 22:29:50 -0700 stage2: fix AIR not instruction (see prev commit) Diffstat:
| M | src/codegen/llvm.zig | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig @@ -881,8 +881,8 @@ pub const FuncGen = struct { if (self.liveness.isUnused(inst)) return null; - const un_op = self.air.instructions.items(.data)[inst].un_op; - const operand = try self.resolveInst(un_op); + const ty_op = self.air.instructions.items(.data)[inst].ty_op; + const operand = try self.resolveInst(ty_op.operand); return self.builder.buildNot(operand, ""); }