Index: src/wasm/ast-decoder.h |
diff --git a/src/wasm/ast-decoder.h b/src/wasm/ast-decoder.h |
index 4138381915e542fd7395924dfd41b655d7d5c15e..9e96053a6ce035773fbe9f992e24d2f0e8430c35 100644 |
--- a/src/wasm/ast-decoder.h |
+++ b/src/wasm/ast-decoder.h |
@@ -224,6 +224,9 @@ TreeResult BuildTFGraph(base::AccountingAllocator* allocator, |
TFBuilder* builder, FunctionBody& body); |
void PrintAst(base::AccountingAllocator* allocator, FunctionBody& body); |
+// A simplified form of AST printing, e.g. from a debugger. |
+void PrintAstForDebugging(const byte* start, const byte* end); |
+ |
inline TreeResult VerifyWasmCode(base::AccountingAllocator* allocator, |
ModuleEnv* module, FunctionSig* sig, |
const byte* start, const byte* end) { |