summaryrefslogtreecommitdiff
path: root/src/ir/effects.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/effects.h')
-rw-r--r--src/ir/effects.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ir/effects.h b/src/ir/effects.h
index be949a8bf..fee8b3441 100644
--- a/src/ir/effects.h
+++ b/src/ir/effects.h
@@ -752,6 +752,10 @@ private:
parent.writesTable = true;
parent.implicitTrap = true;
}
+ void visitTableInit(TableInit* curr) {
+ parent.writesTable = true;
+ parent.implicitTrap = true;
+ }
void visitTry(Try* curr) {
if (curr->delegateTarget.is()) {
parent.delegateTargets.insert(curr->delegateTarget);