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

Unified Diff: test/mjsunit/lithium/SeqStringSetChar.js

Issue 561133005: 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 | « src/x87/full-codegen-x87.cc ('k') | test/mjsunit/regress/regress-crbug-320922.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/lithium/SeqStringSetChar.js
diff --git a/test/mjsunit/lithium/SeqStringSetChar.js b/test/mjsunit/lithium/SeqStringSetChar.js
index 3c890a84897f0014f79f07ef624daf8c3bf825a4..c5bd1450f92bb889150ccc6ce879f605aad6fa60 100644
--- a/test/mjsunit/lithium/SeqStringSetChar.js
+++ b/test/mjsunit/lithium/SeqStringSetChar.js
@@ -29,13 +29,13 @@
function MyStringFromCharCode(code, i) {
var one_byte = %NewString(3, true);
- %_OneByteSeqStringSetChar(one_byte, 0, code);
- %_OneByteSeqStringSetChar(one_byte, 1, code);
- %_OneByteSeqStringSetChar(one_byte, i, code);
+ %_OneByteSeqStringSetChar(0, code, one_byte);
+ %_OneByteSeqStringSetChar(1, code, one_byte);
+ %_OneByteSeqStringSetChar(i, code, one_byte);
var two_byte = %NewString(3, false);
- %_TwoByteSeqStringSetChar(two_byte, 0, code);
- %_TwoByteSeqStringSetChar(two_byte, 1, code);
- %_TwoByteSeqStringSetChar(two_byte, i, code);
+ %_TwoByteSeqStringSetChar(0, code, two_byte);
+ %_TwoByteSeqStringSetChar(1, code, two_byte);
+ %_TwoByteSeqStringSetChar(i, code, two_byte);
return one_byte + two_byte;
}
« no previous file with comments | « src/x87/full-codegen-x87.cc ('k') | test/mjsunit/regress/regress-crbug-320922.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698