Author: [email protected]
Date: Thu Jul  9 05:20:04 2009
New Revision: 2418

Modified:
    branches/bleeding_edge/src/spaces.cc

Log:
Fix free list construction for global property cells on x64.

Review URL: http://codereview.chromium.org/155287

Modified: branches/bleeding_edge/src/spaces.cc
==============================================================================
--- branches/bleeding_edge/src/spaces.cc        (original)
+++ branches/bleeding_edge/src/spaces.cc        Thu Jul  9 05:20:04 2009
@@ -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
-~----------~----~----~----~------~----~------~--~---

Reply via email to