| Index: src/ic/x64/handler-compiler-x64.cc
|
| diff --git a/src/ic/x64/handler-compiler-x64.cc b/src/ic/x64/handler-compiler-x64.cc
|
| index 9ec580040898c97e4f7b3be2c3ac34dcb6646635..6bc3aafa89fe8353fd0ff6304b7f8ac3036021e1 100644
|
| --- a/src/ic/x64/handler-compiler-x64.cc
|
| +++ b/src/ic/x64/handler-compiler-x64.cc
|
| @@ -80,7 +80,7 @@ void NamedLoadHandlerCompiler::GenerateDirectLoadGlobalFunctionPrototype(
|
| MacroAssembler* masm, int index, Register result, Label* miss) {
|
| const int offset = Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX);
|
| __ movp(result, Operand(rsi, offset));
|
| - __ movp(result, FieldOperand(result, GlobalObject::kNativeContextOffset));
|
| + __ movp(result, FieldOperand(result, JSGlobalObject::kNativeContextOffset));
|
| __ movp(result, Operand(result, Context::SlotOffset(index)));
|
| // Load its initial map. The global functions all have initial maps.
|
| __ movp(result,
|
|
|