| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index c62b9f532294afaf37c23770b929c32c7132a7b9..ddf926a765c4b55190911e78a689ba6930740b3b 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -4430,31 +4430,6 @@ void MacroAssembler::LoadTransitionedArrayMapConditional(
|
| }
|
|
|
|
|
| -void MacroAssembler::LoadInitialArrayMap(
|
| - Register function_in, Register scratch,
|
| - Register map_out, bool can_have_holes) {
|
| - ASSERT(!function_in.is(map_out));
|
| - Label done;
|
| - lw(map_out, FieldMemOperand(function_in,
|
| - JSFunction::kPrototypeOrInitialMapOffset));
|
| - if (!FLAG_smi_only_arrays) {
|
| - ElementsKind kind = can_have_holes ? FAST_HOLEY_ELEMENTS : FAST_ELEMENTS;
|
| - LoadTransitionedArrayMapConditional(FAST_SMI_ELEMENTS,
|
| - kind,
|
| - map_out,
|
| - scratch,
|
| - &done);
|
| - } else if (can_have_holes) {
|
| - LoadTransitionedArrayMapConditional(FAST_SMI_ELEMENTS,
|
| - FAST_HOLEY_SMI_ELEMENTS,
|
| - map_out,
|
| - scratch,
|
| - &done);
|
| - }
|
| - bind(&done);
|
| -}
|
| -
|
| -
|
| void MacroAssembler::LoadGlobalFunction(int index, Register function) {
|
| // Load the global or builtins object from the current context.
|
| lw(function,
|
|
|