From cd992b89d2252fade1e56b5e4e7537b171af890e Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 24 Feb 2017 15:07:46 -0500 Subject: fix unwrap error payload not emitting debug safety --- src/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ir.cpp b/src/ir.cpp index 77631f0666..424fd4dfd8 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -12423,6 +12423,7 @@ bool ir_has_side_effects(IrInstruction *instruction) { case IrInstructionIdCheckSwitchProngs: case IrInstructionIdSetGlobalAlign: case IrInstructionIdSetGlobalSection: + case IrInstructionIdUnwrapErrPayload: return true; case IrInstructionIdPhi: case IrInstructionIdUnOp: @@ -12471,7 +12472,6 @@ bool ir_has_side_effects(IrInstruction *instruction) { case IrInstructionIdFrameAddress: case IrInstructionIdTestErr: case IrInstructionIdUnwrapErrCode: - case IrInstructionIdUnwrapErrPayload: case IrInstructionIdMaybeWrap: case IrInstructionIdErrWrapCode: case IrInstructionIdErrWrapPayload: -- cgit v1.2.3