Index: src/arm/virtual-frame-arm.cc |
diff --git a/src/arm/virtual-frame-arm.cc b/src/arm/virtual-frame-arm.cc |
index b4b518cff6eced69c192f7efe0b47c7f5192175a..544e405dbbcce99ec3692fe326b0c5d4d45a66a4 100644 |
--- a/src/arm/virtual-frame-arm.cc |
+++ b/src/arm/virtual-frame-arm.cc |
@@ -332,9 +332,9 @@ void VirtualFrame::CallLoadIC(Handle<String> name, RelocInfo::Mode mode) { |
void VirtualFrame::CallStoreIC(Handle<String> name, |
bool is_contextual, |
StrictModeFlag strict_mode) { |
- Handle<Code> ic(Builtins::builtin(strict_mode == kStrictMode |
- ? Builtins::StoreIC_Initialize_Strict |
- : Builtins::StoreIC_Initialize)); |
+ Handle<Code> ic(Builtins::builtin( |
+ (strict_mode == kStrictMode) ? Builtins::StoreIC_Initialize_Strict |
+ : Builtins::StoreIC_Initialize)); |
PopToR0(); |
RelocInfo::Mode mode; |
if (is_contextual) { |
@@ -359,8 +359,10 @@ void VirtualFrame::CallKeyedLoadIC() { |
} |
-void VirtualFrame::CallKeyedStoreIC() { |
- Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Initialize)); |
+void VirtualFrame::CallKeyedStoreIC(StrictModeFlag strict_mode) { |
+ Handle<Code> ic(Builtins::builtin( |
+ (strict_mode == kStrictMode) ? Builtins::KeyedStoreIC_Initialize_Strict |
+ : Builtins::KeyedStoreIC_Initialize)); |
PopToR1R0(); |
SpillAll(); |
EmitPop(r2); |