Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index a14c64c35125349d1b8e06ba116d71fa59e41f0a..523cd7c3a5db6dd365ff3c6493b1d3af03837f39 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -467,7 +467,10 @@ DEFINE_BOOL(trace_wasm_encoder, false, "trace encoding of wasm code") |
DEFINE_BOOL(trace_wasm_decoder, false, "trace decoding of wasm code") |
DEFINE_BOOL(trace_wasm_decode_time, false, "trace decoding time of wasm code") |
DEFINE_BOOL(trace_wasm_compiler, false, "trace compiling of wasm code") |
-DEFINE_BOOL(trace_wasm_ast, false, "dump AST after WASM decode") |
+DEFINE_INT(trace_wasm_ast_start, 0, |
+ "start function for WASM AST trace (inclusive)") |
+DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") |
+DEFINE_INT(skip_compiling_wasm_funcs, 0, "start compiling at function N") |
DEFINE_BOOL(wasm_break_on_decoder_error, false, |
"debug break when wasm decoder encounters an error") |
DEFINE_BOOL(wasm_loop_assignment_analysis, false, |