Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 51126db7aae9550ba99f20a889b930b541ae8d47..ec742ea2dc12639abc4bb873a4fb50fbcaa1ad2f 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -147,11 +147,11 @@ bool LCodeGen::GeneratePrologue() { |
// fp: Caller's frame pointer. |
// lr: Caller's pc. |
- // Classic mode functions and builtins need to replace the receiver with the |
+ // Sloppy mode functions and builtins need to replace the receiver with the |
// global proxy when called as functions (without an explicit receiver |
// object). |
if (info_->this_has_uses() && |
- info_->is_classic_mode() && |
+ info_->is_sloppy_mode() && |
!info_->is_native()) { |
Label ok; |
int receiver_offset = info_->scope()->num_parameters() * kPointerSize; |
@@ -3212,7 +3212,7 @@ void LCodeGen::DoLoadKeyedExternalArray(LLoadKeyed* instr) { |
case FAST_ELEMENTS: |
case FAST_SMI_ELEMENTS: |
case DICTIONARY_ELEMENTS: |
- case NON_STRICT_ARGUMENTS_ELEMENTS: |
+ case SLOPPY_ARGUMENTS_ELEMENTS: |
UNREACHABLE(); |
break; |
} |
@@ -4255,7 +4255,7 @@ void LCodeGen::DoStoreKeyedExternalArray(LStoreKeyed* instr) { |
case FAST_HOLEY_ELEMENTS: |
case FAST_HOLEY_SMI_ELEMENTS: |
case DICTIONARY_ELEMENTS: |
- case NON_STRICT_ARGUMENTS_ELEMENTS: |
+ case SLOPPY_ARGUMENTS_ELEMENTS: |
UNREACHABLE(); |
break; |
} |