| Index: src/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc
|
| index 665c14e2ee20914527b4d3c9ecd20af70467782f..4d17189c846044481022ad21fa8fbf2330b37a53 100644
|
| --- a/src/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/ppc/lithium-codegen-ppc.cc
|
| @@ -825,7 +825,8 @@ void LCodeGen::DeoptimizeIf(Condition cond, 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());
|
| }
|
|
|