Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index 8388c4e0ae392d29c29bdd2d2504809dcd24f0c0..cbf2972003462bdb381fa12b64249d8bbe3d8ec5 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -181,10 +181,10 @@ void LCodeGen::DoPrologue(LPrologue* instr) { |
__ Push(info()->scope()->GetScopeInfo(info()->isolate())); |
__ CallRuntime(Runtime::kNewScriptContext); |
deopt_mode = Safepoint::kLazyDeopt; |
- } else if (slots <= FastNewContextStub::kMaximumSlots) { |
- FastNewContextStub stub(isolate(), slots); |
+ } else if (slots <= FastNewFunctionContextStub::kMaximumSlots) { |
+ FastNewFunctionContextStub stub(isolate(), slots); |
__ CallStub(&stub); |
- // Result of FastNewContextStub is always in new space. |
+ // Result of FastNewFunctionContextStub is always in new space. |
need_write_barrier = false; |
} else { |
__ Push(rdi); |