Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 1b338481bb95ce05bf36c39e7a35b3d7bb171d8a..696b8537dfc14ac31ffd522bc2d949bf200e0bd4 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1533,7 +1533,7 @@ void FullCodeGenerator::EmitVariableLoad(VariableProxy* proxy) { |
__ bind(&slow); |
__ Push(rsi); // Context. |
__ Push(var->name()); |
- __ CallRuntime(Runtime::kLoadContextSlot, 2); |
+ __ CallRuntime(Runtime::kLoadLookupSlot, 2); |
__ bind(&done); |
context()->Plug(rax); |
break; |
@@ -2683,7 +2683,7 @@ void FullCodeGenerator::VisitCall(Call* expr) { |
// the object holding it (returned in rdx). |
__ Push(context_register()); |
__ Push(proxy->name()); |
- __ CallRuntime(Runtime::kLoadContextSlot, 2); |
+ __ CallRuntime(Runtime::kLoadLookupSlot, 2); |
__ Push(rax); // Function. |
__ Push(rdx); // Receiver. |
@@ -4104,7 +4104,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
// context where the variable was introduced. |
__ Push(context_register()); |
__ Push(var->name()); |
- __ CallRuntime(Runtime::kDeleteContextSlot, 2); |
+ __ CallRuntime(Runtime::kDeleteLookupSlot, 2); |
context()->Plug(rax); |
} |
} else { |
@@ -4393,7 +4393,7 @@ void FullCodeGenerator::VisitForTypeofValue(Expression* expr) { |
__ bind(&slow); |
__ Push(rsi); |
__ Push(proxy->name()); |
- __ CallRuntime(Runtime::kLoadContextSlotNoReferenceError, 2); |
+ __ CallRuntime(Runtime::kLoadLookupSlotNoReferenceError, 2); |
PrepareForBailout(expr, TOS_REG); |
__ bind(&done); |