Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index fd0dbbb5553116cc1eb41adac1fdf884cd04e08b..610038eff80db6ee3307f2a8cabd48f551b8e44a 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -5105,7 +5105,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, temp, no_reg, deferred->entry(), flags); |
} else { |
Register size = ToRegister(instr->size()); |
@@ -5148,7 +5148,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, temp, flags); |
} else { |
Register size = ToRegister(instr->size()); |