Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 83d7b4bf260141a6e7dd384e4642131b7caac353..2c3cd99edf206d2944438e271d25749e593f002c 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1509,7 +1509,7 @@ Handle<GlobalObject> Factory::NewGlobalObject(Handle<JSFunction> constructor) { |
// Initial size of the backing store to avoid resize of the storage during |
// bootstrapping. The size differs between the JS global object ad the |
// builtins object. |
- int initial_size = map->instance_type() == JS_GLOBAL_OBJECT_TYPE ? 64 : 512; |
+ int initial_size = 64; |
// Allocate a dictionary object for backing storage. |
int at_least_space_for = map->NumberOfOwnDescriptors() * 2 + initial_size; |