Index: src/a64/macro-assembler-a64.cc |
diff --git a/src/a64/macro-assembler-a64.cc b/src/a64/macro-assembler-a64.cc |
index 5b979c2b31ed496463018ce49d4c69ac73ceabb2..e1a8755f4fc24d25993d1a56aa3b1834e47b1972 100644 |
--- a/src/a64/macro-assembler-a64.cc |
+++ b/src/a64/macro-assembler-a64.cc |
@@ -4712,17 +4712,6 @@ void MacroAssembler::LoadTransitionedArrayMapConditional( |
} |
-void MacroAssembler::LoadArrayFunction(Register function) { |
- // Load the global or builtins object from the current context. |
- Ldr(function, GlobalObjectMemOperand()); |
- // Load the global context from the global or builtins object. |
- Ldr(function, |
- FieldMemOperand(function, GlobalObject::kGlobalContextOffset)); |
- // Load the array function from the native context. |
- Ldr(function, ContextMemOperand(function, Context::ARRAY_FUNCTION_INDEX)); |
-} |
- |
- |
void MacroAssembler::LoadGlobalFunction(int index, Register function) { |
// Load the global or builtins object from the current context. |
Ldr(function, GlobalObjectMemOperand()); |