| Index: src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| diff --git a/src/crankshaft/mips64/lithium-codegen-mips64.cc b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| index 1fbac754b357d837bc5c1309aaedb75637ac7109..e9ecca5b76d6e2599415d0de751de0bc57c35bfc 100644
|
| --- a/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| +++ b/src/crankshaft/mips64/lithium-codegen-mips64.cc
|
| @@ -5244,7 +5244,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());
|
| @@ -5349,7 +5349,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());
|
|
|