| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index ca5c04cc9e9f504dad0cb2fa107f499a25c5566e..f4d75775bbca8897f68cd1620bdf52de1931f6dd 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -782,7 +782,8 @@ void LCodeGen::DeoptimizeIf(Condition cc, LInstruction* instr,
|
| !frame_is_built_);
|
| // We often have several deopts to the same entry, reuse the last
|
| // jump entry if this is the case.
|
| - if (jump_table_.is_empty() ||
|
| + if (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling() ||
|
| + jump_table_.is_empty() ||
|
| !table_entry.IsEquivalentTo(jump_table_.last())) {
|
| jump_table_.Add(table_entry, zone());
|
| }
|
|
|