Index: src/ic/x87/handler-compiler-x87.cc |
diff --git a/src/ic/x87/handler-compiler-x87.cc b/src/ic/x87/handler-compiler-x87.cc |
index 8a25e235f91b16a6826fc1788ba97b9e2532dd93..bb3b25a47f49eb2328d7b242a6e9cb1b6d766f07 100644 |
--- a/src/ic/x87/handler-compiler-x87.cc |
+++ b/src/ic/x87/handler-compiler-x87.cc |
@@ -116,7 +116,7 @@ void NamedLoadHandlerCompiler::GenerateDirectLoadGlobalFunctionPrototype( |
MacroAssembler* masm, int index, Register result, Label* miss) { |
const int offset = Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX); |
__ mov(result, Operand(esi, offset)); |
- __ mov(result, FieldOperand(result, GlobalObject::kNativeContextOffset)); |
+ __ mov(result, FieldOperand(result, JSGlobalObject::kNativeContextOffset)); |
__ mov(result, Operand(result, Context::SlotOffset(index))); |
// Load its initial map. The global functions all have initial maps. |
__ mov(result, |