Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 30bc4adb58c1db541cea497fbd735b360c546866..2f463981824d71347a689f6f46248251feacf534 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -2689,31 +2689,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; |
- mov(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); |
-} |
- |
- |
void MacroAssembler::LoadGlobalContext(Register global_context) { |
// Load the global or builtins object from the current context. |
mov(global_context, |