Index: src/crankshaft/s390/lithium-codegen-s390.cc |
diff --git a/src/crankshaft/s390/lithium-codegen-s390.cc b/src/crankshaft/s390/lithium-codegen-s390.cc |
index edb3113beb5e50983b8b7c853cd13d678e1126e1..5dad875116764f76102a54c4db23ae80300add28 100644 |
--- a/src/crankshaft/s390/lithium-codegen-s390.cc |
+++ b/src/crankshaft/s390/lithium-codegen-s390.cc |
@@ -5218,7 +5218,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()); |
@@ -5331,7 +5331,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()); |