| Index: src/x87/lithium-codegen-x87.cc
|
| diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc
|
| index 9eca40e49f74f14612ecc93f2c7897ec078d825b..72249892406ba8de0bd2d8048f3229cb282a1b09 100644
|
| --- a/src/x87/lithium-codegen-x87.cc
|
| +++ b/src/x87/lithium-codegen-x87.cc
|
| @@ -120,7 +120,7 @@ bool LCodeGen::GeneratePrologue() {
|
| __ j(not_equal, &ok, Label::kNear);
|
|
|
| __ mov(ecx, GlobalObjectOperand());
|
| - __ mov(ecx, FieldOperand(ecx, GlobalObject::kGlobalReceiverOffset));
|
| + __ mov(ecx, FieldOperand(ecx, GlobalObject::kGlobalProxyOffset));
|
|
|
| __ mov(Operand(esp, receiver_offset), ecx);
|
|
|
| @@ -3439,8 +3439,8 @@ 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 receiver_offset = GlobalObject::kGlobalReceiverOffset;
|
| - __ mov(receiver, FieldOperand(receiver, receiver_offset));
|
| + const int proxy_offset = GlobalObject::kGlobalProxyOffset;
|
| + __ mov(receiver, FieldOperand(receiver, proxy_offset));
|
| __ bind(&receiver_ok);
|
| }
|
|
|
|
|