Index: src/spaces.cc |
diff --git a/src/spaces.cc b/src/spaces.cc |
index 72b028cde61bcd4d6bb691371586a80baad9ba65..077bcab89d2975d8d166038f5110223bd2c5bbde 100644 |
--- a/src/spaces.cc |
+++ b/src/spaces.cc |
@@ -1265,7 +1265,7 @@ void FreeListNode::set_size(int size_in_bytes) { |
// If the block is too small (eg, one or two words), to hold both a size |
// field and a next pointer, we give it a filler map that gives it the |
// correct size. |
- if (size_in_bytes > Array::kHeaderSize) { |
+ if (size_in_bytes > ByteArray::kHeaderSize) { |
set_map(Heap::byte_array_map()); |
ByteArray::cast(this)->set_length(ByteArray::LengthFor(size_in_bytes)); |
} else if (size_in_bytes == kPointerSize) { |