Index: src/ppc/full-codegen-ppc.cc |
diff --git a/src/ppc/full-codegen-ppc.cc b/src/ppc/full-codegen-ppc.cc |
index bac4496afd68f5124dc3de761bd73901add0c70e..2e34d163a2a93245e6bb8e0d3532f8830e5f14b0 100644 |
--- a/src/ppc/full-codegen-ppc.cc |
+++ b/src/ppc/full-codegen-ppc.cc |
@@ -2200,7 +2200,7 @@ |
__ LoadP(load_name, MemOperand(sp, 2 * kPointerSize)); |
__ mov(LoadDescriptor::SlotRegister(), |
Operand(SmiFromSlot(expr->KeyedLoadFeedbackSlot()))); |
- Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate(), SLOPPY).code(); |
+ Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); |
CallIC(ic, TypeFeedbackId::None()); |
__ mr(r4, r3); |
__ StoreP(r4, MemOperand(sp, 2 * kPointerSize)); |
@@ -2389,7 +2389,7 @@ |
__ mov(LoadDescriptor::NameRegister(), Operand(key->value())); |
__ mov(LoadDescriptor::SlotRegister(), |
Operand(SmiFromSlot(prop->PropertyFeedbackSlot()))); |
- CallLoadIC(NOT_CONTEXTUAL, language_mode()); |
+ CallLoadIC(NOT_CONTEXTUAL); |
} |
@@ -2401,14 +2401,13 @@ |
DCHECK(prop->IsSuperAccess()); |
__ Push(key->value()); |
- __ Push(Smi::FromInt(language_mode())); |
- __ CallRuntime(Runtime::kLoadFromSuper, 4); |
+ __ CallRuntime(Runtime::kLoadFromSuper, 3); |
} |
void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) { |
SetSourcePosition(prop->position()); |
- 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); |
@@ -2417,10 +2416,9 @@ |
void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) { |
// Stack: receiver, home_object, key. |
- __ Push(Smi::FromInt(language_mode())); |
SetSourcePosition(prop->position()); |
- __ CallRuntime(Runtime::kLoadKeyedFromSuper, 4); |
+ __ CallRuntime(Runtime::kLoadKeyedFromSuper, 3); |
} |
@@ -2992,7 +2990,6 @@ |
VisitForAccumulatorValue(super_ref->this_var()); |
__ Push(scratch, r3, r3, scratch); |
__ Push(key->value()); |
- __ Push(Smi::FromInt(language_mode())); |
// Stack here: |
// - home_object |
@@ -3000,8 +2997,7 @@ |
// - this (receiver) <-- LoadFromSuper will pop here and below. |
// - home_object |
// - key |
- // - language_mode |
- __ CallRuntime(Runtime::kLoadFromSuper, 4); |
+ __ CallRuntime(Runtime::kLoadFromSuper, 3); |
// Replace home_object with target function. |
__ StoreP(r3, MemOperand(sp, kPointerSize)); |
@@ -3051,7 +3047,6 @@ |
VisitForAccumulatorValue(super_ref->this_var()); |
__ Push(scratch, r3, r3, scratch); |
VisitForStackValue(prop->key()); |
- __ Push(Smi::FromInt(language_mode())); |
// Stack here: |
// - home_object |
@@ -3059,8 +3054,7 @@ |
// - this (receiver) <-- LoadKeyedFromSuper will pop here and below. |
// - home_object |
// - key |
- // - language_mode |
- __ CallRuntime(Runtime::kLoadKeyedFromSuper, 4); |
+ __ CallRuntime(Runtime::kLoadKeyedFromSuper, 3); |
// Replace home_object with target function. |
__ StoreP(r3, MemOperand(sp, kPointerSize)); |