| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index 79e2b69a4b1041ca007d9912bf741dbd51d5a1da..e4cd8c3519aecf531581c22b749eb1a066839d4b 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -197,7 +197,7 @@ bool LCodeGen::GeneratePrologue() {
|
| FastNewContextStub stub(heap_slots);
|
| __ CallStub(&stub);
|
| } else {
|
| - __ CallRuntime(Runtime::kNewContext, 1);
|
| + __ CallRuntime(Runtime::kNewFunctionContext, 1);
|
| }
|
| RecordSafepoint(Safepoint::kNoDeoptimizationIndex);
|
| // Context is returned in both rax and rsi. It replaces the context
|
|
|