Index: src/crankshaft/arm/lithium-codegen-arm.cc |
diff --git a/src/crankshaft/arm/lithium-codegen-arm.cc b/src/crankshaft/arm/lithium-codegen-arm.cc |
index b61b6d8b7dc142102f7400c8cf2b64b6731307dc..ac7c1e7d1d5276e18c5fc1899617205712d7146c 100644 |
--- a/src/crankshaft/arm/lithium-codegen-arm.cc |
+++ b/src/crankshaft/arm/lithium-codegen-arm.cc |
@@ -127,7 +127,7 @@ bool LCodeGen::GeneratePrologue() { |
__ b(ne, &ok); |
__ ldr(r2, GlobalObjectOperand()); |
- __ ldr(r2, FieldMemOperand(r2, GlobalObject::kGlobalProxyOffset)); |
+ __ ldr(r2, FieldMemOperand(r2, JSGlobalObject::kGlobalProxyOffset)); |
__ str(r2, MemOperand(sp, receiver_offset)); |
@@ -3312,7 +3312,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) { |
__ ldr(result, FieldMemOperand(function, JSFunction::kContextOffset)); |
__ ldr(result, |
ContextOperand(result, Context::GLOBAL_OBJECT_INDEX)); |
- __ ldr(result, FieldMemOperand(result, GlobalObject::kGlobalProxyOffset)); |
+ __ ldr(result, FieldMemOperand(result, JSGlobalObject::kGlobalProxyOffset)); |
if (result.is(receiver)) { |
__ bind(&result_in_receiver); |