Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 94f5116415c46847122d3e36f59b1e5c04661684..c02a15dbcaf8a6bf943a9903d630d965bdfe36a7 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2867,9 +2867,9 @@ void LCodeGen::DoStoreNamedGeneric(LStoreNamedGeneric* instr) { |
// Name is always in r2. |
__ mov(r2, Operand(instr->name())); |
- Handle<Code> ic(Builtins::builtin(info_->is_strict() |
- ? Builtins::StoreIC_Initialize_Strict |
- : Builtins::StoreIC_Initialize)); |
+ Handle<Code> ic(Builtins::builtin( |
+ info_->is_strict() ? Builtins::StoreIC_Initialize_Strict |
+ : Builtins::StoreIC_Initialize)); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |
@@ -2911,7 +2911,9 @@ void LCodeGen::DoStoreKeyedGeneric(LStoreKeyedGeneric* instr) { |
ASSERT(ToRegister(instr->key()).is(r1)); |
ASSERT(ToRegister(instr->value()).is(r0)); |
- Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Initialize)); |
+ Handle<Code> ic(Builtins::builtin( |
+ info_->is_strict() ? Builtins::KeyedStoreIC_Initialize_Strict |
+ : Builtins::KeyedStoreIC_Initialize)); |
CallCode(ic, RelocInfo::CODE_TARGET, instr); |
} |