Index: src/ic/x87/ic-x87.cc |
diff --git a/src/ic/x87/ic-x87.cc b/src/ic/x87/ic-x87.cc |
index bd699c0ad78dfcb7c42ee7f34c7de990fed3985f..e2bb275f6b454785871c7b54e7e3500da62cda8f 100644 |
--- a/src/ic/x87/ic-x87.cc |
+++ b/src/ic/x87/ic-x87.cc |
@@ -711,12 +711,12 @@ static void StoreIC_PushArgs(MacroAssembler* masm) { |
Register slot = StoreWithVectorDescriptor::SlotRegister(); |
Register vector = StoreWithVectorDescriptor::VectorRegister(); |
- __ xchg(receiver, Operand(esp, 0)); |
- __ push(name); |
- __ push(value); |
+ __ xchg(value, Operand(esp, 0)); |
__ push(slot); |
__ push(vector); |
- __ push(receiver); // Contains the return address. |
+ __ push(receiver); |
+ __ push(name); |
+ __ push(value); // Contains the return address. |
} |