Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index 708691635b4413f0bb61e2e72fd6436ae02c23a0..16adc2c66c7f213f9a76e78b9d3ecac98ae45be1 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -12,7 +12,6 @@ |
#include "src/crankshaft/hydrogen-osr.h" |
#include "src/ic/ic.h" |
#include "src/ic/stub-cache.h" |
-#include "src/profiler/cpu-profiler.h" |
namespace v8 { |
namespace internal { |
@@ -760,7 +759,7 @@ 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 (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()); |