Index: src/crankshaft/hydrogen-instructions.cc |
diff --git a/src/crankshaft/hydrogen-instructions.cc b/src/crankshaft/hydrogen-instructions.cc |
index e2140cf73aa194ba99acdb1e55b2aa4357fb8374..9e2f0652c74f60b9ca6d9c62a4b3d080e2195345 100644 |
--- a/src/crankshaft/hydrogen-instructions.cc |
+++ b/src/crankshaft/hydrogen-instructions.cc |
@@ -3220,8 +3220,8 @@ bool HAllocate::HandleSideEffectDominator(GVNFlag side_effect, |
int32_t new_dominator_size = dominator_size_constant + current_size_max_value; |
// Since we clear the first word after folded memory, we cannot use the |
- // whole Page::kMaxRegularHeapObjectSize memory. |
- if (new_dominator_size > Page::kMaxRegularHeapObjectSize - kPointerSize) { |
+ // whole kMaxRegularHeapObjectSize memory. |
+ if (new_dominator_size > kMaxRegularHeapObjectSize - kPointerSize) { |
if (FLAG_trace_allocation_folding) { |
PrintF("#%d (%s) cannot fold into #%d (%s) due to size: %d\n", |
id(), Mnemonic(), dominator_allocate->id(), |