Index: src/ic/ppc/handler-compiler-ppc.cc |
diff --git a/src/ic/ppc/handler-compiler-ppc.cc b/src/ic/ppc/handler-compiler-ppc.cc |
index 86b1305ebcb28bf095c254084a205f2f1003fdf6..0335362fbb3a3c59a74116e055e45743c29b5120 100644 |
--- a/src/ic/ppc/handler-compiler-ppc.cc |
+++ b/src/ic/ppc/handler-compiler-ppc.cc |
@@ -169,7 +169,8 @@ void NamedLoadHandlerCompiler::GenerateDirectLoadGlobalFunctionPrototype( |
MacroAssembler* masm, int index, Register result, Label* miss) { |
const int offset = Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX); |
__ LoadP(result, MemOperand(cp, offset)); |
- __ LoadP(result, FieldMemOperand(result, GlobalObject::kNativeContextOffset)); |
+ __ LoadP(result, |
+ FieldMemOperand(result, JSGlobalObject::kNativeContextOffset)); |
__ LoadP(result, MemOperand(result, Context::SlotOffset(index))); |
// Load its initial map. The global functions all have initial maps. |
__ LoadP(result, |