diff options
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 0f4a314ae..d0f19f78e 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -2236,14 +2236,7 @@ struct PrintExpressionContents printMedium(o, "array.set "); TypeNamePrinter(o, wasm).print(curr->ref->type.getHeapType()); } - void visitArrayLen(ArrayLen* curr) { - printMedium(o, "array.len "); - if (curr->ref->type == Type::unreachable) { - TypeNamePrinter(o, wasm).print(HeapType::array); - } else { - TypeNamePrinter(o, wasm).print(curr->ref->type.getHeapType()); - } - } + void visitArrayLen(ArrayLen* curr) { printMedium(o, "array.len"); } void visitArrayCopy(ArrayCopy* curr) { if (printUnreachableOrNullReplacement(curr->srcRef) || printUnreachableOrNullReplacement(curr->destRef)) { |