Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 46b5471f66c39ffc2604ca0940a3aef5f4ed1f30..0dea629d3a72934c88093a72b2bb393642582db3 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -870,7 +870,8 @@ void LCodeGen::DeoptimizeIf(Condition condition, 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()); |
} |