| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index f65042ed3fdec9c186eb5e57408fa38dffada092..041aa3f0cddd8e0c10959065844a3b7425a48dcc 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -5677,12 +5677,12 @@ void LCodeGen::DoAllocate(LAllocate* instr) {
|
| __ Allocate(size, result, scratch, scratch2, deferred->entry(), flags);
|
| } else {
|
| Register size = ToRegister(instr->size());
|
| - __ AllocateInNewSpace(size,
|
| - result,
|
| - scratch,
|
| - scratch2,
|
| - deferred->entry(),
|
| - flags);
|
| + __ Allocate(size,
|
| + result,
|
| + scratch,
|
| + scratch2,
|
| + deferred->entry(),
|
| + flags);
|
| }
|
|
|
| __ bind(deferred->exit());
|
|
|