Fix natives fuzzing: Let the StringIndexOf runtime function
authorkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 31 Oct 2008 08:51:26 +0000 (08:51 +0000)
committerkasperl@chromium.org <kasperl@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 31 Oct 2008 08:51:26 +0000 (08:51 +0000)
commit744aedd2d00cb15556e3aa5f594476a348016c27
tree5940fb0d19bff0197d20463eaa280b9cd9401d6a
parent7cf09d8860b31dca526dc9925cf147443e0576af
Fix natives fuzzing: Let the StringIndexOf runtime function
deal with start indexes that are out of range.
Review URL: http://codereview.chromium.org/8762

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@663 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/runtime.cc
test/mjsunit/fuzz-natives.js