Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index c2ac2bb84259672886ecf4860c064fb064368c5d..389a10a9d927f112a0211b96ab2322842a7eaef5 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -219,9 +219,10 @@ void JSGenericLowering::LowerJSLoadGlobal(Node* node) { |
jsgraph()->IntPtrConstant(LiteralsArray::kFeedbackVectorOffset - |
kHeapObjectTag), |
effect, control); |
- node->InsertInput(zone(), 0, jsgraph()->SmiConstant(p.feedback().index())); |
- node->ReplaceInput(1, vector); |
- node->ReplaceInput(4, effect); |
+ node->InsertInput(zone(), 0, jsgraph()->HeapConstant(p.name())); |
+ node->InsertInput(zone(), 1, jsgraph()->SmiConstant(p.feedback().index())); |
+ node->ReplaceInput(2, vector); |
+ node->ReplaceInput(5, effect); |
ReplaceWithStubCall(node, callable, flags); |
} |