| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index 76fc717b28c97bbca9de5b8eea0055c80dbe3076..59cb42731eb1ee7cf5d8ecc1eceb879638f44e3e 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -2106,7 +2106,7 @@ void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) {
|
| __ mov(LoadDescriptor::NameRegister(), Operand(key->value()));
|
| __ mov(LoadDescriptor::SlotRegister(),
|
| Operand(SmiFromSlot(prop->PropertyFeedbackSlot())));
|
| - CallLoadIC(NOT_INSIDE_TYPEOF, language_mode());
|
| + CallLoadIC(NOT_INSIDE_TYPEOF);
|
| }
|
|
|
|
|
| @@ -2118,14 +2118,13 @@ void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) {
|
| DCHECK(prop->IsSuperAccess());
|
|
|
| __ Push(key->value());
|
| - __ Push(Smi::FromInt(language_mode()));
|
| __ CallRuntime(Runtime::kLoadFromSuper);
|
| }
|
|
|
|
|
| void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) {
|
| SetExpressionPosition(prop);
|
| - Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate(), language_mode()).code();
|
| + Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code();
|
| __ mov(LoadDescriptor::SlotRegister(),
|
| Operand(SmiFromSlot(prop->PropertyFeedbackSlot())));
|
| CallIC(ic);
|
| @@ -2135,7 +2134,6 @@ void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) {
|
| void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) {
|
| // Stack: receiver, home_object, key.
|
| SetExpressionPosition(prop);
|
| - __ Push(Smi::FromInt(language_mode()));
|
| __ CallRuntime(Runtime::kLoadKeyedFromSuper);
|
| }
|
|
|
| @@ -2658,7 +2656,6 @@ void FullCodeGenerator::EmitSuperCallWithLoadIC(Call* expr) {
|
| __ ldr(scratch, MemOperand(sp, kPointerSize * 2));
|
| __ Push(scratch);
|
| __ Push(key->value());
|
| - __ Push(Smi::FromInt(language_mode()));
|
|
|
| // Stack here:
|
| // - home_object
|
| @@ -2666,7 +2663,6 @@ void FullCodeGenerator::EmitSuperCallWithLoadIC(Call* expr) {
|
| // - this (receiver) <-- LoadFromSuper will pop here and below.
|
| // - home_object
|
| // - key
|
| - // - language_mode
|
| __ CallRuntime(Runtime::kLoadFromSuper);
|
|
|
| // Replace home_object with target function.
|
| @@ -2720,7 +2716,6 @@ void FullCodeGenerator::EmitKeyedSuperCallWithLoadIC(Call* expr) {
|
| __ ldr(scratch, MemOperand(sp, kPointerSize * 2));
|
| __ Push(scratch);
|
| VisitForStackValue(prop->key());
|
| - __ Push(Smi::FromInt(language_mode()));
|
|
|
| // Stack here:
|
| // - home_object
|
| @@ -2728,7 +2723,6 @@ void FullCodeGenerator::EmitKeyedSuperCallWithLoadIC(Call* expr) {
|
| // - this (receiver) <-- LoadKeyedFromSuper will pop here and below.
|
| // - home_object
|
| // - key
|
| - // - language_mode
|
| __ CallRuntime(Runtime::kLoadKeyedFromSuper);
|
|
|
| // Replace home_object with target function.
|
|
|