| Index: src/mips/full-codegen-mips.cc
|
| diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc
|
| index a4ca21d089f467eebb3587ecb0883f3f83f077ef..ce24d324478cb005103ba7e6dfae7ecf3bd4382c 100644
|
| --- a/src/mips/full-codegen-mips.cc
|
| +++ b/src/mips/full-codegen-mips.cc
|
| @@ -1564,7 +1564,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy) {
|
| __ bind(&slow);
|
| __ li(a1, Operand(var->name()));
|
| __ Push(cp, a1); // Context and name.
|
| - __ CallRuntime(Runtime::kLoadContextSlot, 2);
|
| + __ CallRuntime(Runtime::kLoadLookupSlot, 2);
|
| __ bind(&done);
|
| context()->Plug(v0);
|
| }
|
| @@ -2765,7 +2765,7 @@ void FullCodeGenerator::VisitCall(Call* expr) {
|
| ASSERT(!context_register().is(a2));
|
| __ li(a2, Operand(proxy->name()));
|
| __ Push(context_register(), a2);
|
| - __ CallRuntime(Runtime::kLoadContextSlot, 2);
|
| + __ CallRuntime(Runtime::kLoadLookupSlot, 2);
|
| __ Push(v0, v1); // Function, receiver.
|
|
|
| // If fast case code has been generated, emit code to push the
|
| @@ -4158,7 +4158,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| ASSERT(!context_register().is(a2));
|
| __ li(a2, Operand(var->name()));
|
| __ Push(context_register(), a2);
|
| - __ CallRuntime(Runtime::kDeleteContextSlot, 2);
|
| + __ CallRuntime(Runtime::kDeleteLookupSlot, 2);
|
| context()->Plug(v0);
|
| }
|
| } else {
|
| @@ -4441,7 +4441,7 @@ void FullCodeGenerator::VisitForTypeofValue(Expression* expr) {
|
| __ bind(&slow);
|
| __ li(a0, Operand(proxy->name()));
|
| __ Push(cp, a0);
|
| - __ CallRuntime(Runtime::kLoadContextSlotNoReferenceError, 2);
|
| + __ CallRuntime(Runtime::kLoadLookupSlotNoReferenceError, 2);
|
| PrepareForBailout(expr, TOS_REG);
|
| __ bind(&done);
|
|
|
|
|