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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/properties.h b/src/ir/properties.h
index 8800f1049..d2c5affd2 100644
--- a/src/ir/properties.h
+++ b/src/ir/properties.h
@@ -283,7 +283,7 @@ inline Expression* getImmediateFallthrough(Expression* curr,
return br->value;
}
} else if (auto* tryy = curr->dynCast<Try>()) {
- if (!EffectAnalyzer(passOptions, module, tryy->body).throws) {
+ if (!EffectAnalyzer(passOptions, module, tryy->body).throws()) {
return tryy->body;
}
} else if (auto* as = curr->dynCast<RefCast>()) {