Index: src/ic/ia32/handler-compiler-ia32.cc |
diff --git a/src/ic/ia32/handler-compiler-ia32.cc b/src/ic/ia32/handler-compiler-ia32.cc |
index 2aff4847e27a35239785753477c82a8cbb50835a..d5011fb7e9ab0e02b3e244cb27d58c722d549d54 100644 |
--- a/src/ic/ia32/handler-compiler-ia32.cc |
+++ b/src/ic/ia32/handler-compiler-ia32.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, |