Chromium Code Reviews| Index: src/string.js |
| diff --git a/src/string.js b/src/string.js |
| index d9ca035fb5f32983d34bc970fa24867f0acce268..60a5abef1f2dab0de9f7ba82146c777b71c6dfcf 100644 |
| --- a/src/string.js |
| +++ b/src/string.js |
| @@ -825,6 +825,7 @@ function StringFromCharCode(code) { |
| var code = %_Arguments(i); |
| if (!%_IsSmi(code)) code = ToNumber(code) & 0xffff; |
| if (code < 0) code = code & 0xffff; |
| + // TODO(dcarney): Fix for Latin-1. |
| if (code > 0x7f) break; |
| %_OneByteSeqStringSetChar(one_byte, i, code); |
| } |