summaryrefslogtreecommitdiff
path: root/src/passes/Table64Lowering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Table64Lowering.cpp')
-rw-r--r--src/passes/Table64Lowering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/passes/Table64Lowering.cpp b/src/passes/Table64Lowering.cpp
index 65c9a2a63..71fc6a6fe 100644
--- a/src/passes/Table64Lowering.cpp
+++ b/src/passes/Table64Lowering.cpp
@@ -91,6 +91,10 @@ struct Table64Lowering : public WalkerPass<PostWalker<Table64Lowering>> {
wrapAddress64(curr->size, curr->destTable);
}
+ void visitTableInit(TableInit* curr) {
+ wrapAddress64(curr->dest, curr->table);
+ }
+
void visitCallIndirect(CallIndirect* curr) {
wrapAddress64(curr->target, curr->table);
}