Index: src/arm/builtins-arm.cc |
diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc |
index 756634d38d6e399dce0a69052190403e0ad1fa37..186d06e3f095b3a11a17561b646711e8ef0ce58f 100644 |
--- a/src/arm/builtins-arm.cc |
+++ b/src/arm/builtins-arm.cc |
@@ -114,7 +114,7 @@ static void AllocateEmptyJSArray(MacroAssembler* masm, |
Label* gc_required) { |
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. |
@@ -208,8 +208,7 @@ static void AllocateJSArray(MacroAssembler* masm, |
bool fill_with_hole, |
Label* gc_required) { |
// Load the initial map from the array function. |
- __ LoadGlobalInitialConstructedArrayMap(array_function, scratch2, |
- elements_array_storage); |
+ __ LoadInitialArrayMap(array_function, scratch2, elements_array_storage); |
if (FLAG_debug_code) { // Assert that array size is not zero. |
__ tst(array_size, array_size); |