| Index: src/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc
|
| index 756b6476af4c396b1d7682387c6dc42c3352592c..2a5428527705c4018c29231b7ff4fe330c205af5 100644
|
| --- a/src/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/ppc/lithium-codegen-ppc.cc
|
| @@ -5598,11 +5598,8 @@ 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 {
|
| - __ b(deferred->entry());
|
| - }
|
| + CHECK(size <= Page::kMaxRegularHeapObjectSize);
|
| + __ Allocate(size, result, scratch, scratch2, deferred->entry(), flags);
|
| } else {
|
| Register size = ToRegister(instr->size());
|
| __ Allocate(size, result, scratch, scratch2, deferred->entry(), flags);
|
|
|