Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 72706cca856ddfb2daa7eca4090e6794baa4128f..d1afaa01471dcf400c0775f56531ddfedf8289f8 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -1398,7 +1398,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, temp1, temp2, deferred->entry(), flags); |
} else { |
Register size = ToRegister32(instr->size()); |
@@ -1494,7 +1494,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()); |