Index: src/full-codegen/mips64/full-codegen-mips64.cc |
diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc |
index d1ec8f3c9d155964403c94b2f3451bf1d0965cda..ecf1a5724b79ff56937c279065a010feed42d41e 100644 |
--- a/src/full-codegen/mips64/full-codegen-mips64.cc |
+++ b/src/full-codegen/mips64/full-codegen-mips64.cc |
@@ -193,10 +193,10 @@ void FullCodeGenerator::Generate() { |
if (info->scope()->new_target_var() != nullptr) { |
__ push(a3); // Preserve new target. |
} |
- if (slots <= FastNewContextStub::kMaximumSlots) { |
- FastNewContextStub stub(isolate(), slots); |
+ 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(a1); |