Revision: 18264
Author: [email protected]
Date: Thu Dec 5 20:27:43 2013 UTC
Log: MIPS: Fix parameter passing in callback store ics on arm
Port r18260 (d708e244)
BUG=
[email protected]
Review URL: https://codereview.chromium.org/100453009
http://code.google.com/p/v8/source/detail?r=18264
Modified:
/branches/bleeding_edge/src/mips/stub-cache-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/stub-cache-mips.cc Mon Dec 2 11:59:44
2013 UTC
+++ /branches/bleeding_edge/src/mips/stub-cache-mips.cc Thu Dec 5 20:27:43
2013 UTC
@@ -899,12 +899,12 @@
__ sw(receiver, MemOperand(sp, FCA::kHolderIndex * kPointerSize));
// Write receiver to stack frame.
int index = stack_space - 1;
- __ sw(receiver, MemOperand(sp, index * kPointerSize));
+ __ sw(receiver, MemOperand(sp, index-- * kPointerSize));
// Write the arguments to stack frame.
for (int i = 0; i < argc; i++) {
ASSERT(!receiver.is(values[i]));
ASSERT(!scratch.is(values[i]));
- __ sw(receiver, MemOperand(sp, index-- * kPointerSize));
+ __ sw(values[i], MemOperand(sp, index-- * kPointerSize));
}
GenerateFastApiDirectCall(masm, optimization, argc, true);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.