| Index: src/full-codegen/arm/full-codegen-arm.cc
|
| diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc
|
| index 84862350deb6cd96859367b066c64ef0c509c008..ef569de3015f96613f26c6fdd6db298798d8a018 100644
|
| --- a/src/full-codegen/arm/full-codegen-arm.cc
|
| +++ b/src/full-codegen/arm/full-codegen-arm.cc
|
| @@ -1218,8 +1218,9 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) {
|
| __ Push(r3, r2, r1, r0);
|
| __ 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);
|
| @@ -1356,8 +1357,9 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) {
|
| __ Push(r3, r2, r1, r0);
|
| __ 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);
|
|
|