| 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 b47cc96970f3014a0c7742d347ce0f9de98cce89..ddd2074cfb38ed5fc734860c00b96060c61af593 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -1219,8 +1219,9 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| __ Push(a3, a2, a1, a0);
|
| __ CallRuntime(Runtime::kCreateObjectLiteral);
|
| } else {
|
| - FastCloneShallowObjectStub stub(isolate(), expr->properties_count());
|
| - __ CallStub(&stub);
|
| + Callable callable = CodeFactory::FastCloneShallowObject(
|
| + isolate(), expr->properties_count());
|
| + __ Call(callable.code(), RelocInfo::CODE_TARGET);
|
| RestoreContext();
|
| }
|
| PrepareForBailoutForId(expr->CreateLiteralId(), BailoutState::TOS_REGISTER);
|
| @@ -1358,8 +1359,9 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
|
| __ Push(a3, a2, a1, a0);
|
| __ CallRuntime(Runtime::kCreateArrayLiteral);
|
| } else {
|
| - FastCloneShallowArrayStub stub(isolate(), allocation_site_mode);
|
| - __ CallStub(&stub);
|
| + Callable callable =
|
| + CodeFactory::FastCloneShallowArray(isolate(), allocation_site_mode);
|
| + __ Call(callable.code(), RelocInfo::CODE_TARGET);
|
| RestoreContext();
|
| }
|
| PrepareForBailoutForId(expr->CreateLiteralId(), BailoutState::TOS_REGISTER);
|
|
|