summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 8bf30702c..3abe1f738 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -2055,6 +2055,12 @@ struct PrintExpressionContents
o << ' ';
curr->sourceTable.print(o);
}
+ void visitTableInit(TableInit* curr) {
+ printMedium(o, "table.init ");
+ curr->table.print(o);
+ o << ' ';
+ curr->segment.print(o);
+ }
void visitTry(Try* curr) {
printMedium(o, "try");
if (curr->name.is()) {