Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index debff6da9c53e4807eb937be3f384efcc26b61b3..37c54a5c4f22fbfab54d6d4ee69edbe2c9e93a88 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -1496,7 +1496,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy) { |
__ bind(&slow); |
__ push(esi); // Context. |
__ push(Immediate(var->name())); |
- __ CallRuntime(Runtime::kLoadContextSlot, 2); |
+ __ CallRuntime(Runtime::kLoadLookupSlot, 2); |
__ bind(&done); |
context()->Plug(eax); |
break; |
@@ -2681,7 +2681,7 @@ void FullCodeGenerator::VisitCall(Call* expr) { |
// the object holding it (returned in edx). |
__ push(context_register()); |
__ push(Immediate(proxy->name())); |
- __ CallRuntime(Runtime::kLoadContextSlot, 2); |
+ __ CallRuntime(Runtime::kLoadLookupSlot, 2); |
__ push(eax); // Function. |
__ push(edx); // Receiver. |
@@ -4086,7 +4086,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
// context where the variable was introduced. |
__ push(context_register()); |
__ push(Immediate(var->name())); |
- __ CallRuntime(Runtime::kDeleteContextSlot, 2); |
+ __ CallRuntime(Runtime::kDeleteLookupSlot, 2); |
context()->Plug(eax); |
} |
} else { |
@@ -4379,7 +4379,7 @@ void FullCodeGenerator::VisitForTypeofValue(Expression* expr) { |
__ bind(&slow); |
__ push(esi); |
__ push(Immediate(proxy->name())); |
- __ CallRuntime(Runtime::kLoadContextSlotNoReferenceError, 2); |
+ __ CallRuntime(Runtime::kLoadLookupSlotNoReferenceError, 2); |
PrepareForBailout(expr, TOS_REG); |
__ bind(&done); |