Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 8fdc1b138251be068c269552be82ca538a6236c4..01e8deb4e140d00566d2536433b941b2bc5eb542 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -1328,12 +1328,12 @@ static void Generate_StoreIC_Normal_Strict(MacroAssembler* masm) { |
static void Generate_StoreIC_Megamorphic(MacroAssembler* masm) { |
- StoreIC::GenerateMegamorphic(masm, StoreIC::kStoreICNonStrict); |
+ StoreIC::GenerateMegamorphic(masm, kNonStrictMode); |
} |
static void Generate_StoreIC_Megamorphic_Strict(MacroAssembler* masm) { |
- StoreIC::GenerateMegamorphic(masm, StoreIC::kStoreICStrict); |
+ StoreIC::GenerateMegamorphic(masm, kStrictMode); |
} |
@@ -1348,17 +1348,22 @@ static void Generate_StoreIC_ArrayLength_Strict(MacroAssembler* masm) { |
static void Generate_StoreIC_GlobalProxy(MacroAssembler* masm) { |
- StoreIC::GenerateGlobalProxy(masm); |
+ StoreIC::GenerateGlobalProxy(masm, kNonStrictMode); |
} |
static void Generate_StoreIC_GlobalProxy_Strict(MacroAssembler* masm) { |
- StoreIC::GenerateGlobalProxy(masm); |
+ StoreIC::GenerateGlobalProxy(masm, kStrictMode); |
} |
static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { |
- KeyedStoreIC::GenerateGeneric(masm); |
+ KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); |
+} |
+ |
+ |
+static void Generate_KeyedStoreIC_Generic_Strict(MacroAssembler* masm) { |
+ KeyedStoreIC::GenerateGeneric(masm, kStrictMode); |
} |
@@ -1372,6 +1377,11 @@ static void Generate_KeyedStoreIC_Initialize(MacroAssembler* masm) { |
} |
+static void Generate_KeyedStoreIC_Initialize_Strict(MacroAssembler* masm) { |
+ KeyedStoreIC::GenerateInitialize(masm); |
+} |
+ |
+ |
#ifdef ENABLE_DEBUGGER_SUPPORT |
static void Generate_LoadIC_DebugBreak(MacroAssembler* masm) { |
Debug::GenerateLoadICDebugBreak(masm); |