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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ir/effects.h b/src/ir/effects.h
index 9bdf08c74..0e45ec70c 100644
--- a/src/ir/effects.h
+++ b/src/ir/effects.h
@@ -696,6 +696,11 @@ private:
parent.writesTable = true;
parent.implicitTrap = true;
}
+ void visitTableCopy(TableCopy* curr) {
+ parent.readsTable = true;
+ parent.writesTable = true;
+ parent.implicitTrap = true;
+ }
void visitTry(Try* curr) {
if (curr->delegateTarget.is()) {
parent.delegateTargets.insert(curr->delegateTarget);