| Index: src/a64/lithium-codegen-a64.cc
|
| diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc
|
| index 0148349a14c7c5838028b733dc575739fd242484..7a93754857cc472707ffbda55f8fb74bab1ceb85 100644
|
| --- a/src/a64/lithium-codegen-a64.cc
|
| +++ b/src/a64/lithium-codegen-a64.cc
|
| @@ -1489,11 +1489,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, temp1, temp2, deferred->entry(), flags);
|
| - } else {
|
| - __ B(deferred->entry());
|
| - }
|
| + __ Allocate(size, result, temp1, temp2, deferred->entry(), flags);
|
| } else {
|
| Register size = ToRegister32(instr->size());
|
| __ Sxtw(size.X(), size);
|
|
|