Commit 818769db authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

Remove obsolete trace_wasm_text_{start,end} flags

R=titzer@chromium.org
NOTRY=true

Change-Id: Ib1957f83010acd7603fbdf36780be80cf3f514c5
Reviewed-on: https://chromium-review.googlesource.com/452298Reviewed-by: 's avatarBen Titzer <titzer@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#43769}
parent a5eec0ca
...@@ -4099,13 +4099,6 @@ SourcePositionTable* WasmCompilationUnit::BuildGraphForWasmFunction( ...@@ -4099,13 +4099,6 @@ SourcePositionTable* WasmCompilationUnit::BuildGraphForWasmFunction(
func_index_ < FLAG_trace_wasm_ast_end) { func_index_ < FLAG_trace_wasm_ast_end) {
PrintRawWasmCode(isolate_->allocator(), func_body_, module_env_->module); PrintRawWasmCode(isolate_->allocator(), func_body_, module_env_->module);
} }
// TODO(clemens): Remove the trace_wasm_text_start flag.
// if (func_index_ >= FLAG_trace_wasm_text_start && func_index_ <
// FLAG_trace_wasm_text_end) {
// OFStream os(stdout);
// PrintWasmText(module_env_.module, module_env_->wire_bytes,
// function_->func_index, os, nullptr);
//}
if (FLAG_trace_wasm_decode_time) { if (FLAG_trace_wasm_decode_time) {
*decode_ms = decode_timer.Elapsed().InMillisecondsF(); *decode_ms = decode_timer.Elapsed().InMillisecondsF();
} }
......
...@@ -544,10 +544,6 @@ DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code") ...@@ -544,10 +544,6 @@ DEFINE_BOOL(trace_wasm_interpreter, false, "trace interpretation of wasm code")
DEFINE_INT(trace_wasm_ast_start, 0, DEFINE_INT(trace_wasm_ast_start, 0,
"start function for WASM AST trace (inclusive)") "start function for WASM AST trace (inclusive)")
DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)") DEFINE_INT(trace_wasm_ast_end, 0, "end function for WASM AST trace (exclusive)")
DEFINE_INT(trace_wasm_text_start, 0,
"start function for WASM text generation (inclusive)")
DEFINE_INT(trace_wasm_text_end, 0,
"end function for WASM text generation (exclusive)")
DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N") DEFINE_UINT(skip_compiling_wasm_funcs, 0, "start compiling at function N")
DEFINE_BOOL(wasm_break_on_decoder_error, false, DEFINE_BOOL(wasm_break_on_decoder_error, false,
"debug break when wasm decoder encounters an error") "debug break when wasm decoder encounters an error")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment