Index: src/a64/macro-assembler-a64.cc |
diff --git a/src/a64/macro-assembler-a64.cc b/src/a64/macro-assembler-a64.cc |
index 2d55294b75bf8cb0d462965e6ad2d441a4da145c..7f5a0d6c0833be10cbf6d67cb5ca634c3912337f 100644 |
--- a/src/a64/macro-assembler-a64.cc |
+++ b/src/a64/macro-assembler-a64.cc |
@@ -4710,29 +4710,6 @@ void MacroAssembler::LoadTransitionedArrayMapConditional( |
} |
-void MacroAssembler::LoadInitialArrayMap(Register function_in, |
- Register scratch, |
- Register map_out, |
- ArrayHasHoles holes) { |
- ASSERT(!AreAliased(function_in, scratch, map_out)); |
- Label done; |
- Ldr(map_out, FieldMemOperand(function_in, |
- JSFunction::kPrototypeOrInitialMapOffset)); |
- |
- if (!FLAG_smi_only_arrays) { |
- ElementsKind kind = (holes == kArrayCanHaveHoles) ? FAST_HOLEY_ELEMENTS |
- : FAST_ELEMENTS; |
- LoadTransitionedArrayMapConditional(FAST_SMI_ELEMENTS, kind, map_out, |
- scratch, &done); |
- } else if (holes == kArrayCanHaveHoles) { |
- LoadTransitionedArrayMapConditional(FAST_SMI_ELEMENTS, |
- FAST_HOLEY_SMI_ELEMENTS, map_out, |
- scratch, &done); |
- } |
- Bind(&done); |
-} |
- |
- |
void MacroAssembler::LoadArrayFunction(Register function) { |
// Load the global or builtins object from the current context. |
Ldr(function, GlobalObjectMemOperand()); |