| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index dd012af579194dafb2aaa5c733c25dccc6ed7718..2edf4fcefb955ce3025963d5859d8aff8e5573aa 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -5262,11 +5262,7 @@ void LCodeGen::DoAllocate(LAllocate* instr) {
|
|
|
| if (instr->size()->IsConstantOperand()) {
|
| int32_t size = ToInteger32(LConstantOperand::cast(instr->size()));
|
| - if (size <= Page::kMaxRegularHeapObjectSize) {
|
| - __ Allocate(size, result, scratch, scratch2, deferred->entry(), flags);
|
| - } else {
|
| - __ jmp(deferred->entry());
|
| - }
|
| + __ Allocate(size, result, scratch, scratch2, deferred->entry(), flags);
|
| } else {
|
| Register size = ToRegister(instr->size());
|
| __ Allocate(size,
|
|
|