| Index: test/mjsunit/regress/string-set-char-deopt.js
|
| diff --git a/test/mjsunit/regress/string-set-char-deopt.js b/test/mjsunit/regress/string-set-char-deopt.js
|
| index 9f6d43453840e41d73c4a4f5702346d0fe6e16fa..a4b34e8495126140104a0d4fd363c35ee5fe4405 100644
|
| --- a/test/mjsunit/regress/string-set-char-deopt.js
|
| +++ b/test/mjsunit/regress/string-set-char-deopt.js
|
| @@ -34,7 +34,7 @@
|
|
|
| function f(string, osr) {
|
| var world = " world";
|
| - %_OneByteSeqStringSetChar(string, 0, (deopt(), 0x48));
|
| + %_OneByteSeqStringSetChar(0, (deopt(), 0x48), string);
|
|
|
| if (osr) while (%GetOptimizationStatus(f) == 2) {}
|
|
|
| @@ -56,7 +56,7 @@
|
| }
|
|
|
| function f(string) {
|
| - g(%_OneByteSeqStringSetChar(string, 0, (deopt(), 0x48)));
|
| + g(%_OneByteSeqStringSetChar(0, (deopt(), 0x48), string));
|
| return string;
|
| }
|
|
|
| @@ -75,7 +75,7 @@
|
| }
|
|
|
| function f(string) {
|
| - g(%_TwoByteSeqStringSetChar(string, 0, (deopt(), 0x48)));
|
| + g(%_TwoByteSeqStringSetChar(0, (deopt(), 0x48), string));
|
| return string;
|
| }
|
|
|
|
|