Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 0345ca429571642db0c62b6cbcd33e2b67f27aa7..33fc465827920fd9d806842b9a94373192f44e31 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3313,7 +3313,9 @@ void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr); |
} |
- Handle<Code> ic = CodeFactory::KeyedLoadICInOptimizedCode(isolate()).code(); |
+ Handle<Code> ic = |
+ CodeFactory::KeyedLoadICInOptimizedCode( |
+ isolate(), instr->hydrogen()->initialization_state()).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -4534,8 +4536,9 @@ void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
DCHECK(ToRegister(instr->key()).is(StoreDescriptor::NameRegister())); |
DCHECK(ToRegister(instr->value()).is(StoreDescriptor::ValueRegister())); |
- Handle<Code> ic = |
- CodeFactory::KeyedStoreIC(isolate(), instr->language_mode()).code(); |
+ Handle<Code> ic = CodeFactory::KeyedStoreICInOptimizedCode( |
+ isolate(), instr->language_mode(), |
+ instr->hydrogen()->initialization_state()).code(); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |