| Index: src/arm/builtins-arm.cc
|
| diff --git a/src/arm/builtins-arm.cc b/src/arm/builtins-arm.cc
|
| index 1e55f7277cb336418de002941b3a36330dd46b78..e1cbcfcf3d04b58480abfed671905278a3a2c15a 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);
|
|
|