diff options
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index f7cfb7746..85fd2c21a 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -2285,7 +2285,7 @@ struct PrintExpressionContents TypeNamePrinter(o, wasm).print(curr->type.getHeapType()); o << ' ' << curr->segment; } - void visitArrayInit(ArrayInit* curr) { + void visitArrayNewFixed(ArrayNewFixed* curr) { if (printUnreachableReplacement(curr)) { return; } @@ -2895,7 +2895,7 @@ struct PrintSExpression : public UnifiedExpressionVisitor<PrintSExpression> { void visitArrayNewSeg(ArrayNewSeg* curr) { maybePrintUnreachableReplacement(curr, curr->type); } - void visitArrayInit(ArrayInit* curr) { + void visitArrayNewFixed(ArrayNewFixed* curr) { maybePrintUnreachableReplacement(curr, curr->type); } void visitArraySet(ArraySet* curr) { |