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