mirror of
https://github.com/ziglang/zig.git
synced 2025-12-26 16:13:07 +00:00
stage2: fix AIR not instruction (see prev commit)
This commit is contained in:
parent
414b144257
commit
934ebbe900
@ -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, "");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user