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