Index: src/crankshaft/mips/lithium-codegen-mips.cc |
diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc |
index 13eb79a8c3d89eb242148f92729a88b20b8e8393..49719cbad41c140f990155ee7fd7a498553c124e 100644 |
--- a/src/crankshaft/mips/lithium-codegen-mips.cc |
+++ b/src/crankshaft/mips/lithium-codegen-mips.cc |
@@ -5038,7 +5038,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()); |
@@ -5141,7 +5141,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()); |