Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 03c2024a23986659658d34f9b8f966171b8053a0..21195266773537e262f800e193f52a01b81602b4 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -22,8 +22,7 @@ namespace internal { |
static void GenerateLoadArrayFunction(MacroAssembler* masm, Register result) { |
// Load the native context. |
__ Ldr(result, GlobalObjectMemOperand()); |
- __ Ldr(result, |
- FieldMemOperand(result, GlobalObject::kNativeContextOffset)); |
+ __ Ldr(result, FieldMemOperand(result, JSGlobalObject::kNativeContextOffset)); |
// Load the InternalArray function from the native context. |
__ Ldr(result, |
MemOperand(result, |
@@ -36,8 +35,7 @@ static void GenerateLoadInternalArrayFunction(MacroAssembler* masm, |
Register result) { |
// Load the native context. |
__ Ldr(result, GlobalObjectMemOperand()); |
- __ Ldr(result, |
- FieldMemOperand(result, GlobalObject::kNativeContextOffset)); |
+ __ Ldr(result, FieldMemOperand(result, JSGlobalObject::kNativeContextOffset)); |
// Load the InternalArray function from the native context. |
__ Ldr(result, ContextMemOperand(result, |
Context::INTERNAL_ARRAY_FUNCTION_INDEX)); |