Reviewers: Lasse Reichstein, William Hesse, Description: Fix free list construction for global property cells on x64.
Please review this at http://codereview.chromium.org/155287 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/spaces.cc Index: src/spaces.cc =================================================================== --- src/spaces.cc (revision 2416) +++ src/spaces.cc (working copy) @@ -1265,7 +1265,7 @@ // 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 > ByteArray::kHeaderSize) { + if (size_in_bytes > ByteArray::kAlignedSize) { set_map(Heap::raw_unchecked_byte_array_map()); ByteArray::cast(this)->set_length(ByteArray::LengthFor(size_in_bytes)); } else if (size_in_bytes == kPointerSize) { --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
