aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-02-24 15:07:46 -0500
committerAndrew Kelley <superjoe30@gmail.com>2017-02-24 15:07:46 -0500
commitcd992b89d2252fade1e56b5e4e7537b171af890e (patch)
treefe22efaf2003a0bf5b34b872e621d45276b5b29d /src
parenta665872e881920e8020a513340d2427b88a55bd6 (diff)
downloadzig-cd992b89d2252fade1e56b5e4e7537b171af890e.tar.gz
zig-cd992b89d2252fade1e56b5e4e7537b171af890e.zip
fix unwrap error payload not emitting debug safety
Diffstat (limited to 'src')
-rw-r--r--src/ir.cpp2
1 files changed, 1 insertions, 1 deletions
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: