Index: test/mjsunit/string-fromcharcode.js |
diff --git a/test/mjsunit/string-fromcharcode.js b/test/mjsunit/string-fromcharcode.js |
index 631c04349f4a17ab694df32d9f06cd2bc2f5a1bd..ad3f7a96fb140310f1fe4de1af71b1d7d473079f 100644 |
--- a/test/mjsunit/string-fromcharcode.js |
+++ b/test/mjsunit/string-fromcharcode.js |
@@ -103,6 +103,10 @@ for (var i = 0; i < 10; i++) { |
test(i); |
} |
+assertEquals("AAAA", String.fromCharCode(65, 65, 65, 65)); |
+assertEquals("AAAA", String.fromCharCode(65, 65, 65, 65)); |
+%OptimizeFunctionOnNextCall(String.fromCharCode); |
+assertEquals("AAAA", String.fromCharCode(65, 65, 65, 65)); |
// Test the custom IC works correctly when the map changes. |
for (var i = 0; i < 10; i++) { |