Commit 0a4820d0 authored by ssanfilippo's avatar ssanfilippo Committed by Commit bot

[Interpreter] Rebuild dispatch table when FLAG_trace_ignition_codegen is enabled.

Otherwise, no handler would be dumped when using a snapshot.

BUG=v8:4280
LOG=N

Review URL: https://codereview.chromium.org/1821663002

Cr-Commit-Position: refs/heads/master@{#34990}
parent 43fe7d68
...@@ -153,8 +153,9 @@ bool Interpreter::MakeBytecode(CompilationInfo* info) { ...@@ -153,8 +153,9 @@ bool Interpreter::MakeBytecode(CompilationInfo* info) {
} }
bool Interpreter::IsDispatchTableInitialized() { bool Interpreter::IsDispatchTableInitialized() {
if (FLAG_trace_ignition) { if (FLAG_trace_ignition || FLAG_trace_ignition_codegen) {
// Regenerate table to add bytecode tracing operations. // Regenerate table to add bytecode tracing operations
// or to print the assembly code generated by TurboFan.
return false; return false;
} }
return dispatch_table_[0] != nullptr; return dispatch_table_[0] != nullptr;
......
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