diff options
Diffstat (limited to 'src/passes/StackIR.cpp')
-rw-r--r-- | src/passes/StackIR.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/passes/StackIR.cpp b/src/passes/StackIR.cpp index 9b8b9b8b1..52ea061a3 100644 --- a/src/passes/StackIR.cpp +++ b/src/passes/StackIR.cpp @@ -255,7 +255,9 @@ private: case StackInst::BlockEnd: case StackInst::IfElse: case StackInst::IfEnd: - case StackInst::LoopEnd: { + case StackInst::LoopEnd: + case StackInst::Catch: + case StackInst::TryEnd: { return true; } default: { return false; } @@ -267,7 +269,8 @@ private: switch (inst->op) { case StackInst::BlockBegin: case StackInst::IfBegin: - case StackInst::LoopBegin: { + case StackInst::LoopBegin: + case StackInst::TryBegin: { return true; } default: { return false; } @@ -279,7 +282,8 @@ private: switch (inst->op) { case StackInst::BlockEnd: case StackInst::IfEnd: - case StackInst::LoopEnd: { + case StackInst::LoopEnd: + case StackInst::TryEnd: { return true; } default: { return false; } |