http://codereview.chromium.org/1572004/diff/8001/9001 File src/runtime.cc (right):
http://codereview.chromium.org/1572004/diff/8001/9001#newcode4483 src/runtime.cc:4483: if (data[start_pos] != 'I') { On 2010/03/31 14:31:27, Tobias Kaes wrote:
Sorry for the noise, just wondered if that works if start_pos == len.
Are all
strings guaranteed to be null terminated?
I guess it is not. In worse case it could cause unreasonable fall into the slow case. Anyway, memory outside the string data shouldn't be accessed. http://codereview.chromium.org/1572004 -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev To unsubscribe, reply using "remove me" as the subject.
