Index: test/mjsunit/regress/regress-crbug-320922.js |
diff --git a/test/mjsunit/regress/regress-crbug-320922.js b/test/mjsunit/regress/regress-crbug-320922.js |
index 9ba759a43ed819eec6d1701e9b7610882e01bfd1..4a5b5813e025b74b7e48e37c7894d5546e0ae909 100644 |
--- a/test/mjsunit/regress/regress-crbug-320922.js |
+++ b/test/mjsunit/regress/regress-crbug-320922.js |
@@ -30,7 +30,7 @@ |
var string = "hello world"; |
var expected = "Hello " + "world"; |
function Capitalize() { |
- %_OneByteSeqStringSetChar(0, 0x48, string); |
+ %_OneByteSeqStringSetChar(string, 0, 0x48); |
} |
Capitalize(); |
assertEquals(expected, string); |
@@ -40,7 +40,7 @@ assertEquals(expected, string); |
var twobyte = "\u20ACello world"; |
function TwoByteCapitalize() { |
- %_TwoByteSeqStringSetChar(0, 0x48, twobyte); |
+ %_TwoByteSeqStringSetChar(twobyte, 0, 0x48); |
} |
TwoByteCapitalize(); |
assertEquals(expected, twobyte); |