Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index 75c249b7c5eb65f9f4acf505d33b4db1051fdcea..456bfd56293ebf1e245130d7c8b1375cc52fb0f0 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -1477,7 +1477,7 @@ void MacroAssembler::CheckAccessGlobalProxy(Register holder_reg, |
int offset = |
Context::kHeaderSize + Context::GLOBAL_OBJECT_INDEX * kPointerSize; |
ldr(scratch, FieldMemOperand(scratch, offset)); |
- ldr(scratch, FieldMemOperand(scratch, GlobalObject::kNativeContextOffset)); |
+ ldr(scratch, FieldMemOperand(scratch, JSGlobalObject::kNativeContextOffset)); |
// Check the context is a native context. |
if (emit_debug_code()) { |
@@ -2506,7 +2506,7 @@ void MacroAssembler::GetBuiltinFunction(Register target, |
// Load the builtins object into target register. |
ldr(target, |
MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- ldr(target, FieldMemOperand(target, GlobalObject::kNativeContextOffset)); |
+ ldr(target, FieldMemOperand(target, JSGlobalObject::kNativeContextOffset)); |
// Load the JavaScript builtin function from the builtins object. |
ldr(target, ContextOperand(target, native_context_index)); |
} |
@@ -2653,7 +2653,7 @@ void MacroAssembler::LoadContext(Register dst, int context_chain_length) { |
void MacroAssembler::LoadGlobalProxy(Register dst) { |
ldr(dst, GlobalObjectOperand()); |
- ldr(dst, FieldMemOperand(dst, GlobalObject::kGlobalProxyOffset)); |
+ ldr(dst, FieldMemOperand(dst, JSGlobalObject::kGlobalProxyOffset)); |
} |
@@ -2666,7 +2666,7 @@ void MacroAssembler::LoadTransitionedArrayMapConditional( |
// Load the global or builtins object from the current context. |
ldr(scratch, |
MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- ldr(scratch, FieldMemOperand(scratch, GlobalObject::kNativeContextOffset)); |
+ ldr(scratch, FieldMemOperand(scratch, JSGlobalObject::kNativeContextOffset)); |
// Check that the function's map is the same as the expected cached map. |
ldr(scratch, |
@@ -2690,8 +2690,8 @@ void MacroAssembler::LoadGlobalFunction(int index, Register function) { |
ldr(function, |
MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
// Load the native context from the global or builtins object. |
- ldr(function, FieldMemOperand(function, |
- GlobalObject::kNativeContextOffset)); |
+ ldr(function, |
+ FieldMemOperand(function, JSGlobalObject::kNativeContextOffset)); |
// Load the function from the native context. |
ldr(function, MemOperand(function, Context::SlotOffset(index))); |
} |