Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index e6d2182a77208fa7d122b083c58ead2c5364a5e4..92ba70e587e53142737085b0ea8b0ab7cb78b8f8 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -11,7 +11,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 { |
@@ -835,7 +834,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()); |