Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index e98639e372c8d6880846c62548dbdd98ef28694f..624f702ce5c946bd96148c8a24489265c297a467 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -1711,7 +1711,7 @@ void ArgumentsAccessStub::GenerateNewSloppyFast(MacroAssembler* masm) { |
__ LoadP(r7, |
MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- __ LoadP(r7, FieldMemOperand(r7, GlobalObject::kNativeContextOffset)); |
+ __ LoadP(r7, FieldMemOperand(r7, JSGlobalObject::kNativeContextOffset)); |
__ cmpi(r9, Operand::Zero()); |
if (CpuFeatures::IsSupported(ISELECT)) { |
__ LoadP(r11, MemOperand(r7, kNormalOffset)); |
@@ -1928,7 +1928,7 @@ void ArgumentsAccessStub::GenerateNewStrict(MacroAssembler* masm) { |
// Get the arguments boilerplate from the current native context. |
__ LoadP(r7, |
MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- __ LoadP(r7, FieldMemOperand(r7, GlobalObject::kNativeContextOffset)); |
+ __ LoadP(r7, FieldMemOperand(r7, JSGlobalObject::kNativeContextOffset)); |
__ LoadP( |
r7, |
MemOperand(r7, Context::SlotOffset(Context::STRICT_ARGUMENTS_MAP_INDEX))); |