Index: src/wasm/ast-decoder.cc |
diff --git a/src/wasm/ast-decoder.cc b/src/wasm/ast-decoder.cc |
index 833b33538ab554b5fbc74bca4f1dc72c2c4d86eb..fe773630ec024c3dbd48f6af849fe0a096e285b2 100644 |
--- a/src/wasm/ast-decoder.cc |
+++ b/src/wasm/ast-decoder.cc |
@@ -1521,6 +1521,7 @@ bool PrintAst(base::AccountingAllocator* allocator, const FunctionBody& body, |
os << " " << count << " " << WasmOpcodes::TypeName(type); |
} |
os << std::endl; |
+ ++line_nr; |
for (const byte* locals = body.start; locals < pc; locals++) { |
os << (locals == body.start ? "0x" : " 0x") << AsHex(*locals, 2) << ","; |