Index: src/ppc/macro-assembler-ppc.cc |
diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc |
index 9ef6052a95dfb7c35d8d5c28c1c4c24ec1fe7749..49ec792d44dbeb3d890083902f7ad96e30138e56 100644 |
--- a/src/ppc/macro-assembler-ppc.cc |
+++ b/src/ppc/macro-assembler-ppc.cc |
@@ -1211,7 +1211,8 @@ void MacroAssembler::CheckAccessGlobalProxy(Register holder_reg, |
int offset = |
Context::kHeaderSize + Context::GLOBAL_OBJECT_INDEX * kPointerSize; |
LoadP(scratch, FieldMemOperand(scratch, offset)); |
- LoadP(scratch, FieldMemOperand(scratch, GlobalObject::kNativeContextOffset)); |
+ LoadP(scratch, |
+ FieldMemOperand(scratch, JSGlobalObject::kNativeContextOffset)); |
// Check the context is a native context. |
if (emit_debug_code()) { |
@@ -2278,7 +2279,7 @@ void MacroAssembler::GetBuiltinFunction(Register target, |
// Load the builtins object into target register. |
LoadP(target, |
MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- LoadP(target, FieldMemOperand(target, GlobalObject::kNativeContextOffset)); |
+ LoadP(target, FieldMemOperand(target, JSGlobalObject::kNativeContextOffset)); |
// Load the JavaScript builtin function from the builtins object. |
LoadP(target, ContextOperand(target, native_context_index), r0); |
} |
@@ -2413,7 +2414,7 @@ void MacroAssembler::LoadContext(Register dst, int context_chain_length) { |
void MacroAssembler::LoadGlobalProxy(Register dst) { |
LoadP(dst, GlobalObjectOperand()); |
- LoadP(dst, FieldMemOperand(dst, GlobalObject::kGlobalProxyOffset)); |
+ LoadP(dst, FieldMemOperand(dst, JSGlobalObject::kGlobalProxyOffset)); |
} |
@@ -2423,7 +2424,8 @@ void MacroAssembler::LoadTransitionedArrayMapConditional( |
// Load the global or builtins object from the current context. |
LoadP(scratch, |
MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- LoadP(scratch, FieldMemOperand(scratch, GlobalObject::kNativeContextOffset)); |
+ LoadP(scratch, |
+ FieldMemOperand(scratch, JSGlobalObject::kNativeContextOffset)); |
// Check that the function's map is the same as the expected cached map. |
LoadP(scratch, |
@@ -2445,7 +2447,7 @@ void MacroAssembler::LoadGlobalFunction(int index, Register function) { |
MemOperand(cp, Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
// Load the native context from the global or builtins object. |
LoadP(function, |
- FieldMemOperand(function, GlobalObject::kNativeContextOffset)); |
+ FieldMemOperand(function, JSGlobalObject::kNativeContextOffset)); |
// Load the function from the native context. |
LoadP(function, MemOperand(function, Context::SlotOffset(index)), r0); |
} |