Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index b9ff9e13447ce893c99cf62f3128a5ece6a7554f..2342f36a0b985208eba8828bc88beeb208c07d5f 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -1174,7 +1174,7 @@ MUST_USE_RESULT static MaybeObject* HandleApiCallHelper( |
} |
SharedFunctionInfo* shared = function->shared(); |
- if (shared->is_classic_mode() && !shared->native()) { |
+ if (shared->is_sloppy_mode() && !shared->native()) { |
Object* recv = args[0]; |
ASSERT(!recv->IsNull()); |
if (recv->IsUndefined()) { |
@@ -1366,8 +1366,8 @@ static void Generate_KeyedLoadIC_IndexedInterceptor(MacroAssembler* masm) { |
} |
-static void Generate_KeyedLoadIC_NonStrictArguments(MacroAssembler* masm) { |
- KeyedLoadIC::GenerateNonStrictArguments(masm); |
+static void Generate_KeyedLoadIC_SloppyArguments(MacroAssembler* masm) { |
+ KeyedLoadIC::GenerateSloppyArguments(masm); |
} |
@@ -1393,7 +1393,7 @@ static void Generate_StoreIC_Setter_ForDeopt(MacroAssembler* masm) { |
static void Generate_KeyedStoreIC_Generic(MacroAssembler* masm) { |
- KeyedStoreIC::GenerateGeneric(masm, kNonStrictMode); |
+ KeyedStoreIC::GenerateGeneric(masm, kSloppyMode); |
} |
@@ -1432,8 +1432,8 @@ static void Generate_KeyedStoreIC_PreMonomorphic_Strict(MacroAssembler* masm) { |
} |
-static void Generate_KeyedStoreIC_NonStrictArguments(MacroAssembler* masm) { |
- KeyedStoreIC::GenerateNonStrictArguments(masm); |
+static void Generate_KeyedStoreIC_SloppyArguments(MacroAssembler* masm) { |
+ KeyedStoreIC::GenerateSloppyArguments(masm); |
} |