| ... | ... | @@ -12423,7 +12423,6 @@ bool ir_has_side_effects(IrInstruction *instruction) { |
| 12423 | 12423 | case IrInstructionIdCheckSwitchProngs: |
| 12424 | 12424 | case IrInstructionIdSetGlobalAlign: |
| 12425 | 12425 | case IrInstructionIdSetGlobalSection: |
| 12426 | | case IrInstructionIdUnwrapErrPayload: |
| 12427 | 12426 | return true; |
| 12428 | 12427 | case IrInstructionIdPhi: |
| 12429 | 12428 | case IrInstructionIdUnOp: |
| ... | ... | @@ -12492,6 +12491,12 @@ bool ir_has_side_effects(IrInstruction *instruction) { |
| 12492 | 12491 | IrInstructionAsm *asm_instruction = (IrInstructionAsm *)instruction; |
| 12493 | 12492 | return asm_instruction->has_side_effects; |
| 12494 | 12493 | } |
| 12494 | case IrInstructionIdUnwrapErrPayload: |
| 12495 | { |
| 12496 | IrInstructionUnwrapErrPayload *unwrap_err_payload_instruction = |
| 12497 | (IrInstructionUnwrapErrPayload *)instruction; |
| 12498 | return unwrap_err_payload_instruction->safety_check_on; |
| 12499 | } |
| 12495 | 12500 | } |
| 12496 | 12501 | zig_unreachable(); |
| 12497 | 12502 | } |