Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index 8d4a340ecf5132ce1add3b732431323aff93f413..603799d4e02af53823ccad66328e1d1795d7bc95 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -2157,7 +2157,7 @@ void FullCodeGenerator::VisitYield(Yield* expr) { |
__ mov(load_receiver, Operand(esp, kPointerSize)); |
__ mov(LoadDescriptor::SlotRegister(), |
Immediate(SmiFromSlot(expr->KeyedLoadFeedbackSlot()))); |
- Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate(), SLOPPY).code(); |
+ Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); |
CallIC(ic, TypeFeedbackId::None()); |
__ mov(edi, eax); |
__ mov(Operand(esp, 2 * kPointerSize), edi); |
@@ -2326,7 +2326,7 @@ void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) { |
__ mov(LoadDescriptor::NameRegister(), Immediate(key->value())); |
__ mov(LoadDescriptor::SlotRegister(), |
Immediate(SmiFromSlot(prop->PropertyFeedbackSlot()))); |
- CallLoadIC(NOT_CONTEXTUAL, language_mode()); |
+ CallLoadIC(NOT_CONTEXTUAL); |
} |
@@ -2338,14 +2338,13 @@ void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) { |
DCHECK(prop->IsSuperAccess()); |
__ push(Immediate(key->value())); |
- __ push(Immediate(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(), |
Immediate(SmiFromSlot(prop->PropertyFeedbackSlot()))); |
CallIC(ic); |
@@ -2354,10 +2353,9 @@ void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) { |
void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) { |
// Stack: receiver, home_object, key. |
- __ push(Immediate(Smi::FromInt(language_mode()))); |
SetSourcePosition(prop->position()); |
- __ CallRuntime(Runtime::kLoadKeyedFromSuper, 4); |
+ __ CallRuntime(Runtime::kLoadKeyedFromSuper, 3); |
} |
@@ -2887,15 +2885,13 @@ void FullCodeGenerator::EmitSuperCallWithLoadIC(Call* expr) { |
__ push(eax); |
__ push(Operand(esp, kPointerSize * 2)); |
__ push(Immediate(key->value())); |
- __ push(Immediate(Smi::FromInt(language_mode()))); |
// Stack here: |
// - home_object |
// - this (receiver) |
// - 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. |
__ mov(Operand(esp, kPointerSize), eax); |
@@ -2945,15 +2941,13 @@ void FullCodeGenerator::EmitKeyedSuperCallWithLoadIC(Call* expr) { |
__ push(eax); |
__ push(Operand(esp, kPointerSize * 2)); |
VisitForStackValue(prop->key()); |
- __ push(Immediate(Smi::FromInt(language_mode()))); |
// Stack here: |
// - home_object |
// - this (receiver) |
// - 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. |
__ mov(Operand(esp, kPointerSize), eax); |