Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index e823b35f57c1df43dc21fb2c34fe36d4fb7b269d..a9861fc8f7bde2d56116c8e4abb0793c11b680ff 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -409,7 +409,8 @@ void JSGenericLowering::LowerJSStoreGlobal(Node* node) { |
ReplaceWithStubCall(node, callable, flags); |
} else { |
- Callable callable = CodeFactory::StoreIC(isolate(), p.language_mode()); |
+ Callable callable = CodeFactory::StoreICInOptimizedCode( |
+ isolate(), p.language_mode(), UNINITIALIZED); |
node->RemoveInput(0); // script context |
node->InsertInput(zone(), 1, jsgraph()->HeapConstant(p.name())); |
if (FLAG_vector_stores) { |