Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index d122e9a9f90854c9d6ea0a6d1b727af3304a4bd4..9b899bd047624184d5b43f698c66710184334e2e 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -116,7 +116,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. |
@@ -212,8 +212,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. |
__ Assert( |