Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 84d436b9ec33e71c16a1cd65a718660f1199bacd..eddadf5e82d48bb98bd28ddc40359cc11e1b7e2a 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -264,6 +264,10 @@ void JSGenericLowering::LowerJSStoreGlobal(Node* node) { |
} |
void JSGenericLowering::LowerJSStoreDataPropertyInLiteral(Node* node) { |
+ DataPropertyParameters const& p = DataPropertyParametersOf(node->op()); |
+ node->InsertInputs(zone(), 4, 2); |
+ node->ReplaceInput(4, jsgraph()->HeapConstant(p.feedback().vector())); |
+ node->ReplaceInput(5, jsgraph()->SmiConstant(p.feedback().index())); |
ReplaceWithRuntimeCall(node, Runtime::kDefineDataPropertyInLiteral); |
} |