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 a4b34e8495126140104a0d4fd363c35ee5fe4405..9f6d43453840e41d73c4a4f5702346d0fe6e16fa 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(0, (deopt(), 0x48), string); |
+ %_OneByteSeqStringSetChar(string, 0, (deopt(), 0x48)); |
if (osr) while (%GetOptimizationStatus(f) == 2) {} |
@@ -56,7 +56,7 @@ |
} |
function f(string) { |
- g(%_OneByteSeqStringSetChar(0, (deopt(), 0x48), string)); |
+ g(%_OneByteSeqStringSetChar(string, 0, (deopt(), 0x48))); |
return string; |
} |
@@ -75,7 +75,7 @@ |
} |
function f(string) { |
- g(%_TwoByteSeqStringSetChar(0, (deopt(), 0x48), string)); |
+ g(%_TwoByteSeqStringSetChar(string, 0, (deopt(), 0x48))); |
return string; |
} |