Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(519)

Unified Diff: src/ic/x87/ic-x87.cc

Issue 2351643005: [ic] Reorder parameters of StoreIC_Miss and KeyedStoreIC_Miss runtime functions. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/ic/x64/ic-x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
}
« no previous file with comments | « src/ic/x64/ic-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698