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 67776e4ca9a6b25ad74d5b36d55f4f5c6e0850bb..f273e2999e78006064f6c5d06a6d1ac43846b79c 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()); |