Index: src/crankshaft/arm64/lithium-codegen-arm64.cc |
diff --git a/src/crankshaft/arm64/lithium-codegen-arm64.cc b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
index 292014a5d53d3638880363f01cf414934d0cd022..20f5be0fba4c22d9df30fa2cb9930331e7311c56 100644 |
--- a/src/crankshaft/arm64/lithium-codegen-arm64.cc |
+++ b/src/crankshaft/arm64/lithium-codegen-arm64.cc |
@@ -643,7 +643,7 @@ bool LCodeGen::GeneratePrologue() { |
__ JumpIfNotRoot(x10, Heap::kUndefinedValueRootIndex, &ok); |
__ Ldr(x10, GlobalObjectMemOperand()); |
- __ Ldr(x10, FieldMemOperand(x10, GlobalObject::kGlobalProxyOffset)); |
+ __ Ldr(x10, FieldMemOperand(x10, JSGlobalObject::kGlobalProxyOffset)); |
__ Poke(x10, receiver_offset); |
__ Bind(&ok); |
@@ -5873,7 +5873,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) { |
__ Bind(&global_object); |
__ Ldr(result, FieldMemOperand(function, JSFunction::kContextOffset)); |
__ Ldr(result, ContextMemOperand(result, Context::GLOBAL_OBJECT_INDEX)); |
- __ Ldr(result, FieldMemOperand(result, GlobalObject::kGlobalProxyOffset)); |
+ __ Ldr(result, FieldMemOperand(result, JSGlobalObject::kGlobalProxyOffset)); |
__ B(&done); |
__ Bind(©_receiver); |