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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index 616ce9759..00b09dea4 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -2006,6 +2006,10 @@ struct PrintExpressionContents
o << "with_rtt ";
TypeNamePrinter(o, wasm).print(curr->rtt->type.getHeapType());
}
+ void visitArrayInit(ArrayInit* curr) {
+ printMedium(o, "array.init ");
+ TypeNamePrinter(o, wasm).print(curr->rtt->type.getHeapType());
+ }
void visitArrayGet(ArrayGet* curr) {
if (printUnreachableReplacement(curr->ref)) {
return;