http://codereview.chromium.org/7518/diff/202/9 File src/objects.cc (right):
http://codereview.chromium.org/7518/diff/202/9#newcode3662 Line 3662: for (i = 0; i <= endpoint; i += kStepSize) { If sizeof(Char) is 2 then endpoint is indeed 1 but then a string of length 3 has 6 significant bytes, not 3. Alternatively, if sizeof(Char) is 1 then endpoint is -1 and we skip block reading altogether. http://codereview.chromium.org/7518 --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
