| Index: src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/crankshaft/ppc/lithium-codegen-ppc.cc b/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| index 6333be5c284e728f57bbeb606d09402b2047e88f..cb736705329bc30a4416a54d09900a1f504128e8 100644
|
| --- a/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/crankshaft/ppc/lithium-codegen-ppc.cc
|
| @@ -5318,7 +5318,7 @@ void LCodeGen::DoAllocate(LAllocate* instr) {
|
|
|
| if (instr->size()->IsConstantOperand()) {
|
| int32_t size = ToInteger32(LConstantOperand::cast(instr->size()));
|
| - CHECK(size <= Page::kMaxRegularHeapObjectSize);
|
| + CHECK(size <= kMaxRegularHeapObjectSize);
|
| __ Allocate(size, result, scratch, scratch2, deferred->entry(), flags);
|
| } else {
|
| Register size = ToRegister(instr->size());
|
| @@ -5424,7 +5424,7 @@ void LCodeGen::DoFastAllocate(LFastAllocate* instr) {
|
| }
|
| if (instr->size()->IsConstantOperand()) {
|
| int32_t size = ToInteger32(LConstantOperand::cast(instr->size()));
|
| - CHECK(size <= Page::kMaxRegularHeapObjectSize);
|
| + CHECK(size <= kMaxRegularHeapObjectSize);
|
| __ FastAllocate(size, result, scratch1, scratch2, flags);
|
| } else {
|
| Register size = ToRegister(instr->size());
|
|
|