Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index d8c239cc77fea73438253d6d07c3e08a5868f40f..428946512f9adb51f93a16ccb1b3687f24c86d33 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -930,7 +930,7 @@ static void AllocateEmptyJSArray(MacroAssembler* masm, |
const int initial_capacity = JSArray::kPreallocatedArrayElements; |
STATIC_ASSERT(initial_capacity >= 0); |
- __ LoadGlobalInitialConstructedArrayMap(array_function, scratch2, scratch1); |
+ __ LoadInitialArrayMap(array_function, scratch2, scratch1); |
// Allocate the JSArray object together with space for a fixed array with the |
// requested elements. |
@@ -1033,9 +1033,7 @@ static void AllocateJSArray(MacroAssembler* masm, |
ASSERT(!fill_with_hole || array_size.is(ecx)); // rep stos count |
ASSERT(!fill_with_hole || !result.is(eax)); // result is never eax |
- __ LoadGlobalInitialConstructedArrayMap(array_function, |
- scratch, |
- elements_array); |
+ __ LoadInitialArrayMap(array_function, scratch, elements_array); |
// Allocate the JSArray object together with space for a FixedArray with the |
// requested elements. |