Current custom call generators cannot cope with the case when receiver is not a JSArray.
authorantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Apr 2010 15:08:07 +0000 (15:08 +0000)
committerantonm@chromium.org <antonm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 26 Apr 2010 15:08:07 +0000 (15:08 +0000)
commit6acdd84a6198cc655ba1b3fc14184d9273a46aa4
treed626ad62a32fff6727f360fa3871c76651a6fe24
parentad9312cdaa0b2e689a4b0e90c7680a8865f891a2
Current custom call generators cannot cope with the case when receiver is not a JSArray.

Add a support for bailout from custom call generators (just return undefined).

BUG=684

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4503 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/stub-cache-ia32.cc
test/mjsunit/array-pop.js
test/mjsunit/array-push.js