Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index 1e45bfdbdd9082f34c32d796b6199a80639a8439..92e52823ca3d7acbd986a3261a9a58e9b9237421 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -5057,7 +5057,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()); |
@@ -5159,7 +5159,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()); |