Reviewers: Mads Ager, Erik Corry,

Description:
Set iIsExtensible to true as default in the map.


Please review this at http://codereview.chromium.org/556041

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
  M     src/heap.cc


Index: src/heap.cc
===================================================================
--- src/heap.cc (revision 3686)
+++ src/heap.cc (working copy)
@@ -1203,7 +1203,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