Index: src/crankshaft/s390/lithium-codegen-s390.cc |
diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc |
index 32ac576b8e1a5b4627935a2956ec22d6de7120f7..81217fa87b32ad95b24d2b66832c507a91898232 100644 |
--- a/src/crankshaft/s390/lithium-codegen-s390.cc |
+++ b/src/crankshaft/s390/lithium-codegen-s390.cc |
@@ -162,10 +162,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(r3); |