Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 2b0163c588d72bfbc8eaaa5ecaa4b624a392575d..0261e4c6472a4f70c46eb311790ee389e81ba51e 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -331,12 +331,8 @@ void JSGenericLowering::LowerJSStoreProperty(Node* node) { |
LanguageMode language_mode = p.language_mode(); |
Callable callable = CodeFactory::KeyedStoreICInOptimizedCode( |
isolate(), language_mode, UNINITIALIZED); |
- if (FLAG_vector_stores) { |
- DCHECK(p.feedback().index() != -1); |
- node->InsertInput(zone(), 3, jsgraph()->SmiConstant(p.feedback().index())); |
- } else { |
- node->RemoveInput(3); |
- } |
+ DCHECK(p.feedback().index() != -1); |
+ node->InsertInput(zone(), 3, jsgraph()->SmiConstant(p.feedback().index())); |
ReplaceWithStubCall(node, callable, |
CallDescriptor::kPatchableCallSite | flags); |
} |
@@ -348,12 +344,8 @@ void JSGenericLowering::LowerJSStoreNamed(Node* node) { |
Callable callable = CodeFactory::StoreICInOptimizedCode( |
isolate(), p.language_mode(), UNINITIALIZED); |
node->InsertInput(zone(), 1, jsgraph()->HeapConstant(p.name())); |
- if (FLAG_vector_stores) { |
- DCHECK(p.feedback().index() != -1); |
- node->InsertInput(zone(), 3, jsgraph()->SmiConstant(p.feedback().index())); |
- } else { |
- node->RemoveInput(3); |
- } |
+ DCHECK(p.feedback().index() != -1); |
+ node->InsertInput(zone(), 3, jsgraph()->SmiConstant(p.feedback().index())); |
ReplaceWithStubCall(node, callable, |
CallDescriptor::kPatchableCallSite | flags); |
} |
@@ -373,12 +365,8 @@ void JSGenericLowering::LowerJSStoreGlobal(Node* node) { |
effect, graph()->start()); |
node->InsertInput(zone(), 0, global); |
node->InsertInput(zone(), 1, jsgraph()->HeapConstant(p.name())); |
- if (FLAG_vector_stores) { |
- DCHECK(p.feedback().index() != -1); |
- node->InsertInput(zone(), 3, jsgraph()->SmiConstant(p.feedback().index())); |
- } else { |
- node->RemoveInput(3); |
- } |
+ DCHECK(p.feedback().index() != -1); |
+ node->InsertInput(zone(), 3, jsgraph()->SmiConstant(p.feedback().index())); |
ReplaceWithStubCall(node, callable, |
CallDescriptor::kPatchableCallSite | flags); |
} |