Fix bug in Array.prototype.indexOf/lastIndexOf when called on non-sparse non-arrays.
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 10 Sep 2010 08:21:01 +0000 (08:21 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 10 Sep 2010 08:21:01 +0000 (08:21 +0000)
commit84d8115ecf5af24aa721b635a9ed1ae76721232f
tree0897d1e612b82706557854608ef1bffd625a833a
parent997421b755efb2c472d524b2d00fc4e0baa0767e
Fix bug in Array.prototype.indexOf/lastIndexOf when called on non-sparse non-arrays.

Review URL: http://codereview.chromium.org/3358025

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