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 4a5b5813e025b74b7e48e37c7894d5546e0ae909..9ba759a43ed819eec6d1701e9b7610882e01bfd1 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(string, 0, 0x48); |
+ %_OneByteSeqStringSetChar(0, 0x48, string); |
} |
Capitalize(); |
assertEquals(expected, string); |
@@ -40,7 +40,7 @@ assertEquals(expected, string); |
var twobyte = "\u20ACello world"; |
function TwoByteCapitalize() { |
- %_TwoByteSeqStringSetChar(twobyte, 0, 0x48); |
+ %_TwoByteSeqStringSetChar(0, 0x48, twobyte); |
} |
TwoByteCapitalize(); |
assertEquals(expected, twobyte); |