Revision: 3718
Author: [email protected]
Date: Wed Jan 27 05:51:04 2010
Log: Set iIsExtensible to true as default in the map.

Review URL: http://codereview.chromium.org/556041
http://code.google.com/p/v8/source/detail?r=3718

Modified:
 /branches/bleeding_edge/src/heap.cc

=======================================
--- /branches/bleeding_edge/src/heap.cc Wed Jan 27 00:25:48 2010
+++ /branches/bleeding_edge/src/heap.cc Wed Jan 27 05:51:04 2010
@@ -1206,7 +1206,7 @@
   map->set_code_cache(empty_fixed_array());
   map->set_unused_property_fields(0);
   map->set_bit_field(0);
-  map->set_bit_field2(0);
+  map->set_bit_field2(1 << Map::kIsExtensible);

   // If the map object is aligned fill the padding area with Smi 0 objects.
   if (Map::kPadStart < Map::kSize) {

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to