Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index c609e578d4353f976932632ff301429d457dcbf6..87cd2c50cfa9eb01258307c85391a81e1a4dc4c7 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -1354,8 +1354,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
arguments_string, code); |
function->shared()->set_instance_class_name(*arguments_string); |
- Handle<Map> map = |
- factory->NewMap(JS_OBJECT_TYPE, Heap::kSloppyArgumentsObjectSize); |
+ Handle<Map> map = factory->NewMap( |
+ JS_OBJECT_TYPE, Heap::kSloppyArgumentsObjectSize, FAST_ELEMENTS); |
// Create the descriptor array for the arguments object. |
Map::EnsureDescriptorSlack(map, 2); |
@@ -1414,8 +1414,8 @@ void Genesis::InitializeGlobal(Handle<JSGlobalObject> global_object, |
caller->set_setter(*poison); |
// Create the map. Allocate one in-object field for length. |
- Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, |
- Heap::kStrictArgumentsObjectSize); |
+ Handle<Map> map = factory->NewMap( |
+ JS_OBJECT_TYPE, Heap::kStrictArgumentsObjectSize, FAST_ELEMENTS); |
// Create the descriptor array for the arguments object. |
Map::EnsureDescriptorSlack(map, 3); |