| Index: src/string.js
|
| diff --git a/src/string.js b/src/string.js
|
| index b39976c51ed8a15332eccabecc2d1c34e26cf962..1675d0934137ad28ad99dc9a18d120fc8643e180 100644
|
| --- a/src/string.js
|
| +++ b/src/string.js
|
| @@ -838,8 +838,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;
|
| + if (code > 0xff) break;
|
| %_OneByteSeqStringSetChar(one_byte, i, code);
|
| }
|
| if (i == n) return one_byte;
|
|
|