Index: src/crankshaft/ia32/lithium-codegen-ia32.cc |
diff --git a/src/crankshaft/ia32/lithium-codegen-ia32.cc b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
index ee8317f2d55f38f24d98a3ef53f5fba8d60af3de..1fa61029b6b43af54850edfd01bdddf80f9fef2e 100644 |
--- a/src/crankshaft/ia32/lithium-codegen-ia32.cc |
+++ b/src/crankshaft/ia32/lithium-codegen-ia32.cc |
@@ -151,7 +151,7 @@ bool LCodeGen::GeneratePrologue() { |
__ j(not_equal, &ok, Label::kNear); |
__ mov(ecx, GlobalObjectOperand()); |
- __ mov(ecx, FieldOperand(ecx, GlobalObject::kGlobalProxyOffset)); |
+ __ mov(ecx, FieldOperand(ecx, JSGlobalObject::kGlobalProxyOffset)); |
__ mov(Operand(esp, receiver_offset), ecx); |
@@ -3210,7 +3210,7 @@ void LCodeGen::DoWrapReceiver(LWrapReceiver* instr) { |
__ mov(receiver, FieldOperand(function, JSFunction::kContextOffset)); |
const int global_offset = Context::SlotOffset(Context::GLOBAL_OBJECT_INDEX); |
__ mov(receiver, Operand(receiver, global_offset)); |
- const int proxy_offset = GlobalObject::kGlobalProxyOffset; |
+ const int proxy_offset = JSGlobalObject::kGlobalProxyOffset; |
__ mov(receiver, FieldOperand(receiver, proxy_offset)); |
__ bind(&receiver_ok); |
} |