| Index: src/x64/macro-assembler-x64.cc
|
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
|
| index 807e90dbec86555ee90921dc3e1349204897e398..5f467e3ceea049bd7e8ef286c0419a9b57badc3b 100644
|
| --- a/src/x64/macro-assembler-x64.cc
|
| +++ b/src/x64/macro-assembler-x64.cc
|
| @@ -4269,6 +4269,15 @@ void MacroAssembler::LoadGlobalFunction(int index, Register function) {
|
| }
|
|
|
|
|
| +void MacroAssembler::LoadArrayFunction(Register function) {
|
| + movq(function,
|
| + Operand(rsi, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX)));
|
| + movq(function, FieldOperand(function, GlobalObject::kGlobalContextOffset));
|
| + movq(function,
|
| + Operand(function, Context::SlotOffset(Context::ARRAY_FUNCTION_INDEX)));
|
| +}
|
| +
|
| +
|
| void MacroAssembler::LoadGlobalFunctionInitialMap(Register function,
|
| Register map) {
|
| // Load the initial map. The global functions all have initial maps.
|
|
|