Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index c0ae4e8d71168a3a07263fa1d25f96b9033bfeb5..5988b7d2a69ba058fac9abbed05ee5b943be0252 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -4530,30 +4530,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; |
- movp(map_out, FieldOperand(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); |
-} |
- |
#ifdef _WIN64 |
static const int kRegisterPassedArguments = 4; |
#else |