Revision: 18166
Author: [email protected]
Date: Fri Nov 29 19:51:52 2013 UTC
Log: MIPS: Fix --new-string-add feature.
This commit fixes the arguments of NewStringAdd stub in full-codegen.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/96593005
http://code.google.com/p/v8/source/detail?r=18166
Modified:
/branches/bleeding_edge/src/mips/full-codegen-mips.cc
=======================================
--- /branches/bleeding_edge/src/mips/full-codegen-mips.cc Wed Nov 27
14:32:35 2013 UTC
+++ /branches/bleeding_edge/src/mips/full-codegen-mips.cc Fri Nov 29
19:51:52 2013 UTC
@@ -3734,6 +3734,7 @@
VisitForAccumulatorValue(args->at(1));
__ pop(a1);
+ __ mov(a0, result_register()); // NewStringAddStub requires args in
a0, a1.
NewStringAddStub stub(STRING_ADD_CHECK_BOTH, NOT_TENURED);
__ CallStub(&stub);
} else {
--
--
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.