Index: src/crankshaft/x64/lithium-codegen-x64.cc |
diff --git a/src/crankshaft/x64/lithium-codegen-x64.cc b/src/crankshaft/x64/lithium-codegen-x64.cc |
index 335591899bbbe5605fe579b2438b3a86dc6b507c..5bd0a62198064be057ac6a1087578195ef77ea15 100644 |
--- a/src/crankshaft/x64/lithium-codegen-x64.cc |
+++ b/src/crankshaft/x64/lithium-codegen-x64.cc |
@@ -137,7 +137,7 @@ bool LCodeGen::GeneratePrologue() { |
__ j(not_equal, &ok, Label::kNear); |
__ movp(rcx, GlobalObjectOperand()); |
- __ movp(rcx, FieldOperand(rcx, GlobalObject::kGlobalProxyOffset)); |
+ __ movp(rcx, FieldOperand(rcx, JSGlobalObject::kGlobalProxyOffset)); |
__ movp(args.GetReceiverOperand(), rcx); |
@@ -3287,7 +3287,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) { |
__ movp(receiver, |
Operand(receiver, |
Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX))); |
- __ movp(receiver, FieldOperand(receiver, GlobalObject::kGlobalProxyOffset)); |
+ __ movp(receiver, FieldOperand(receiver, JSGlobalObject::kGlobalProxyOffset)); |
__ bind(&receiver_ok); |
} |