Add new Harmony methods to Array.prototype object.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 2 Aug 2013 10:57:48 +0000 (10:57 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 2 Aug 2013 10:57:48 +0000 (10:57 +0000)
commitc87abd11176609fbbc16e6bbecad2ffe2893c813
tree339ec4210c454a667b981d147b6a8858d450f1dd
parentd2c443b774c4085cb317bf767cb88bb7612d026d
Add new Harmony methods to Array.prototype object.

Array.prototype.find
Array.prototype.findIndex

http://people.mozilla.org/~jorendorff/es6-draft.html

BUG=v8:2776,v8:2777
TEST=mjsunit/harmony/array-find,mjsunit/harmony/array-findindex
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/21079003

Patch from Ioseb Dzmanashvili <ioseb.dzmanashvili@gmail.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16025 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/bootstrapper.cc
src/flag-definitions.h
src/harmony-array.js [new file with mode: 0644]
test/mjsunit/harmony/array-find.js [new file with mode: 0644]
test/mjsunit/harmony/array-findindex.js [new file with mode: 0644]
tools/gyp/v8.gyp