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

Unified Diff: test/mjsunit/regress/regress-seqstrsetchar-ex1.js

Issue 552253003: Revert "Change the order of arguments of the (One|Two)ByteSeqStringSetChar intrinsic." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « test/mjsunit/regress/regress-crbug-320922.js ('k') | test/mjsunit/regress/regress-seqstrsetchar-ex3.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-seqstrsetchar-ex1.js
diff --git a/test/mjsunit/regress/regress-seqstrsetchar-ex1.js b/test/mjsunit/regress/regress-seqstrsetchar-ex1.js
index 1fd8d810b325269001a8984cc9036ac2559d4139..c85cf56e0cf34b46e7a9435b5e0a7b8f843c436c 100644
--- a/test/mjsunit/regress/regress-seqstrsetchar-ex1.js
+++ b/test/mjsunit/regress/regress-seqstrsetchar-ex1.js
@@ -47,7 +47,7 @@ function StringFromCharCode(code) {
var two_byte = %NewString(n - i, false);
for (var j = 0; i < n; i++, j++) {
var code = %_Arguments(i);
- %_TwoByteSeqStringSetChar(j, code, two_byte);
+ %_TwoByteSeqStringSetChar(two_byte, j, code);
}
return one_byte + two_byte;
}
« no previous file with comments | « test/mjsunit/regress/regress-crbug-320922.js ('k') | test/mjsunit/regress/regress-seqstrsetchar-ex3.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698