summaryrefslogtreecommitdiff
path: root/src/ir/properties.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/properties.h')
-rw-r--r--src/ir/properties.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ir/properties.h b/src/ir/properties.h
index 914a26919..301f15e16 100644
--- a/src/ir/properties.h
+++ b/src/ir/properties.h
@@ -59,7 +59,7 @@ inline bool isSymmetric(Binary* binary) {
inline bool isControlFlowStructure(Expression* curr) {
return curr->is<Block>() || curr->is<If>() || curr->is<Loop>() ||
- curr->is<Try>();
+ curr->is<Try>() || curr->is<TryTable>();
}
// Check if an expression is a control flow construct with a name, which implies
@@ -475,8 +475,8 @@ inline bool isResultFallthrough(Expression* curr) {
// unreachable, for example, but then there is no meaningful answer to give
// anyhow.
return curr->is<LocalSet>() || curr->is<Block>() || curr->is<If>() ||
- curr->is<Loop>() || curr->is<Try>() || curr->is<Select>() ||
- curr->is<Break>();
+ curr->is<Loop>() || curr->is<Try>() || curr->is<TryTable>() ||
+ curr->is<Select>() || curr->is<Break>();
}
inline bool canEmitSelectWithArms(Expression* ifTrue, Expression* ifFalse) {