Index: src/compiler/js-call-reducer.cc |
diff --git a/src/compiler/js-call-reducer.cc b/src/compiler/js-call-reducer.cc |
index a11643582e0a09d8af26801af01dca88d3a3dd89..21148b3d20d6351d82cbbc3913745762129b52b1 100644 |
--- a/src/compiler/js-call-reducer.cc |
+++ b/src/compiler/js-call-reducer.cc |
@@ -617,9 +617,6 @@ Reduction JSCallReducer::ReduceJSCall(Node* node) { |
return Changed(node); |
} |
- // Not much we can do if deoptimization support is disabled. |
- if (!(flags() & kDeoptimizationEnabled)) return NoChange(); |
- |
Handle<Object> feedback(nexus.GetFeedback(), isolate()); |
if (feedback->IsAllocationSite()) { |
// Retrieve the Array function from the {node}. |
@@ -727,9 +724,6 @@ Reduction JSCallReducer::ReduceJSConstruct(Node* node) { |
return NoChange(); |
} |
- // Not much we can do if deoptimization support is disabled. |
- if (!(flags() & kDeoptimizationEnabled)) return NoChange(); |
- |
if (!p.feedback().IsValid()) return NoChange(); |
CallICNexus nexus(p.feedback().vector(), p.feedback().slot()); |
Handle<Object> feedback(nexus.GetFeedback(), isolate()); |