Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 0f183fbaafaef3b96074a618ab2de987934f57ad..ecf7249c03b9790eabfba66f35e89c9ddbdffc69 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -2072,7 +2072,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); |
} |
@@ -2084,14 +2084,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); |
@@ -2101,7 +2100,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); |
} |
@@ -2650,7 +2648,6 @@ void FullCodeGenerator::EmitSuperCallWithLoadIC(Call* expr) { |
VisitForAccumulatorValue(super_ref->this_var()); |
__ Push(scratch, r3, r3, scratch); |
__ Push(key->value()); |
- __ Push(Smi::FromInt(language_mode())); |
// Stack here: |
// - home_object |
@@ -2658,7 +2655,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. |
@@ -2709,7 +2705,6 @@ void FullCodeGenerator::EmitKeyedSuperCallWithLoadIC(Call* expr) { |
VisitForAccumulatorValue(super_ref->this_var()); |
__ Push(scratch, r3, r3, scratch); |
VisitForStackValue(prop->key()); |
- __ Push(Smi::FromInt(language_mode())); |
// Stack here: |
// - home_object |
@@ -2717,7 +2712,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. |