Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index d85ebdb114c76ba4a3f9a9796d2154814e678ab8..482bb7e49b714f63cb2bd0e87130861b16a3fce0 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1601,7 +1601,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) { |
Context::SlotOffset(Context::FAST_ALIASED_ARGUMENTS_MAP_INDEX); |
__ ldr(r4, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- __ ldr(r4, FieldMemOperand(r4, GlobalObject::kNativeContextOffset)); |
+ __ ldr(r4, FieldMemOperand(r4, JSGlobalObject::kNativeContextOffset)); |
__ cmp(r6, Operand::Zero()); |
__ ldr(r4, MemOperand(r4, kNormalOffset), eq); |
__ ldr(r4, MemOperand(r4, kAliasedOffset), ne); |
@@ -1794,7 +1794,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) { |
// Get the arguments boilerplate from the current native context. |
__ ldr(r4, MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- __ ldr(r4, FieldMemOperand(r4, GlobalObject::kNativeContextOffset)); |
+ __ ldr(r4, FieldMemOperand(r4, JSGlobalObject::kNativeContextOffset)); |
__ ldr(r4, MemOperand( |
r4, Context::SlotOffset(Context::STRICT_ARGUMENTS_MAP_INDEX))); |