| ... | @@ -881,8 +881,8 @@ pub const FuncGen = struct { | ... | @@ -881,8 +881,8 @@ pub const FuncGen = struct { |
| 881 | if (self.liveness.isUnused(inst)) | 881 | if (self.liveness.isUnused(inst)) |
| 882 | return null; | 882 | return null; |
| 883 | | 883 | |
| 884 | const un_op = self.air.instructions.items(.data)[inst].un_op; | 884 | const ty_op = self.air.instructions.items(.data)[inst].ty_op; |
| 885 | const operand = try self.resolveInst(un_op); | 885 | const operand = try self.resolveInst(ty_op.operand); |
| 886 | | 886 | |
| 887 | return self.builder.buildNot(operand, ""); | 887 | return self.builder.buildNot(operand, ""); |
| 888 | } | 888 | } |