| Index: src/x64/full-codegen-x64.cc
|
| diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc
|
| index e9ce3119eaf3e0bc3142b331a0ba1d7b06c9c018..f0297a6fbb21b78fd434fc6620b52b357ea9cbfd 100644
|
| --- a/src/x64/full-codegen-x64.cc
|
| +++ b/src/x64/full-codegen-x64.cc
|
| @@ -175,7 +175,7 @@ void FullCodeGenerator::Generate(CompilationInfo* info) {
|
| FastNewContextStub stub(heap_slots);
|
| __ CallStub(&stub);
|
| } else {
|
| - __ CallRuntime(Runtime::kNewContext, 1);
|
| + __ CallRuntime(Runtime::kNewFunctionContext, 1);
|
| }
|
| function_in_register = false;
|
| // Context is returned in both rax and rsi. It replaces the context
|
|
|