Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index 490ed7a0ac58ced7fb6f95fd9f4deabd7a73236b..c4faf69635dcb8dc9114797b8dbf1239bdba2265 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -34,8 +34,6 @@ |
#include "src/crankshaft/mips/lithium-gap-resolver-mips.h" |
#include "src/ic/ic.h" |
#include "src/ic/stub-cache.h" |
-#include "src/profiler/cpu-profiler.h" |
- |
namespace v8 { |
namespace internal { |
@@ -801,7 +799,7 @@ 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 (FLAG_trace_deopt || isolate()->cpu_profiler()->is_profiling() || |
+ if (FLAG_trace_deopt || isolate()->is_profiling() || |
jump_table_.is_empty() || |
!table_entry.IsEquivalentTo(jump_table_.last())) { |
jump_table_.Add(table_entry, zone()); |