v8/test/mjsunit/harmony
dehrenberg 1ebbaaa036 Factor out core of Array.forEach and .every, for use in TypedArrays
The idea is to make this the model for future TypedArray methods.
A possible downside could be lower array method performance
if everything gets polymorhpic (but if enough inlining happens, it
should still be fast), but on the upside, this change means that
the TypedArray methods won't create as much code size bloat.

BUG=v8:3578
LOG=Y
R=adamk@chromium.org
CC=arv@chromium.org, caitpotter88@gmail.com

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

Cr-Commit-Position: refs/heads/master@{#28351}
2015-05-12 01:32:20 +00:00
..
regress Function scopes only must have a context if they call sloppy eval 2015-04-23 13:19:54 +00:00
array-concat.js [tests]: fix exponentiation in harmony array-concat tests 2015-02-17 22:28:12 +00:00
array-copywithin.js Revert of Revert of [es6] implement Array.prototype.copyWithin() (patchset #1 id:1 of https://codereview.chromium.org/1084183004/) 2015-04-22 09:43:13 +00:00
array-fill.js Fix typos in unit test for Array.prototype.fill() 2014-05-09 16:11:50 +00:00
array-find.js Array.prototype.{every, filter, find, findIndex, forEach, map, some}: Use fresh primitive wrapper for calls. 2014-10-15 09:11:32 +00:00
array-findindex.js Array.prototype.{every, filter, find, findIndex, forEach, map, some}: Use fresh primitive wrapper for calls. 2014-10-15 09:11:32 +00:00
array-from.js Don't take iterable path in ArrayFrom if items[@@iterator] is null 2015-01-29 02:36:12 +00:00
array-includes-to-object-sloppy.js Add Array.prototype.includes 2014-12-10 08:58:15 +00:00
array-includes-to-object-strict.js Add Array.prototype.includes 2014-12-10 08:58:15 +00:00
array-includes.js Add Array.prototype.includes 2014-12-10 08:58:15 +00:00
array-of.js Implement IsConstructor() abstract operation 2015-01-19 12:22:31 +00:00
arrow-functions-lexical-arguments.js Lexical arguments for arrow functions 2015-04-09 19:39:38 +00:00
arrow-functions-this.js Resolve references to "this" the same way as normal variables 2015-05-11 11:49:46 +00:00
arrow-functions.js [es6] do not add caller/arguments to ES6 function definitions 2015-04-09 22:40:28 +00:00
block-lazy-compile.js Preliminary code for block scopes and block contexts. 2011-08-11 16:29:28 +00:00
class-computed-property-names-super.js Fix issue with super and computed property names 2015-02-11 15:13:12 +00:00
class-property-name-eval-arguments.js Allow eval and arguments as property names 2015-02-06 18:04:21 +00:00
classes-derived-return-type.js [es6] Fix return checking in derived constructors 2015-04-28 16:09:30 +00:00
classes-experimental.js Make super() a syntax error in base class constructor 2015-02-12 23:04:54 +00:00
classes-lazy-parsing.js Fix lazy parsing for functions that use super. 2015-02-13 18:35:09 +00:00
classes-maps.js Add a test for subclass maps. 2015-04-14 09:59:02 +00:00
classes-subclass-arrays.js Implement subclassing Arrays. 2015-03-03 18:45:02 +00:00
classes.js [es6] Class extends may not be a generator function 2015-04-22 16:07:21 +00:00
computed-property-names-classes.js [es6] do not add caller/arguments to ES6 function definitions 2015-04-09 22:40:28 +00:00
computed-property-names-object-literals-methods.js ES6 computed property names 2015-01-15 20:02:37 +00:00
computed-property-names-super.js Fix issue with super and computed property names 2015-02-11 15:13:12 +00:00
computed-property-names.js Fix issue with class name TDZ in computed property names 2015-02-26 18:37:19 +00:00
dataview-accessors.js Fix data view accessors to throw execptions on offsets bigger than size_t. 2013-11-18 15:16:22 +00:00
debug-step-into-class-extends.js Classes: Add support for stepping through default constructors 2014-11-15 19:48:39 +00:00
debug-step-into-constructor.js Classes: Add support for stepping through default constructors 2014-11-15 19:48:39 +00:00
destructuring.js [destructuring] Implement basic binding destructuring infrastructure 2015-05-11 16:28:22 +00:00
method-name-eval-arguments.js Allow eval and arguments as property names 2015-02-06 18:04:21 +00:00
module-linking.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
module-parsing-eval.js Enable compiling mjsunit tests as ES6 modules 2015-02-10 19:11:55 +00:00
module-recompile.js Implement proper module linking. 2012-07-09 08:59:03 +00:00
module-resolution.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
modules.js Enable compiling mjsunit tests as ES6 modules 2015-02-10 19:11:55 +00:00
object-assign.js [es6] implement Object.assign 2015-05-06 16:17:50 +00:00
object-literals-method.js [es6] do not add caller/arguments to ES6 function definitions 2015-04-09 22:40:28 +00:00
object-literals-property-shorthand.js Fix issue with __proto__ when using ES6 object literals 2015-01-20 16:31:43 +00:00
object-literals-super.js super is only allowed in methods, accessors and constructor 2015-02-10 19:51:39 +00:00
private.js Adjust key behaviour for weak collections 2015-03-18 12:51:58 +00:00
proxies-example-membrane.js Remove proxies from --harmony switch for M38, because problems 2014-08-08 09:58:19 +00:00
proxies-for.js Proxies: Make 'with' work, plus minor other fixes 2013-07-19 14:07:23 +00:00
proxies-function.js Mode clean-up pt 1: rename classic/non-strict mode to sloppy mode 2014-03-11 14:39:08 +00:00
proxies-hash.js Enable ES6 Map and Set by default 2014-08-05 19:37:32 +00:00
proxies-json.js Remove proxies from --harmony switch for M38, because problems 2014-08-08 09:58:19 +00:00
proxies-symbols.js Enable ES6 Symbols by default 2014-08-04 18:17:54 +00:00
proxies-with-unscopables.js ES6: Update unscopables to match spec 2014-12-16 20:07:41 +00:00
proxies-with.js Proxies: Make 'with' work, plus minor other fixes 2013-07-19 14:07:23 +00:00
proxies.js [crankshaft] Fix property access with proxies in prototype chain 2015-04-17 09:25:13 +00:00
reflect-apply.js [es6] implement Reflect.apply() & Reflect.construct() 2015-03-19 14:47:27 +00:00
reflect-construct.js [es6] implement Reflect.apply() & Reflect.construct() 2015-03-19 14:47:27 +00:00
regexp-flags.js Split --harmony-unicode and --harmony-unicode-regexps. 2015-02-05 14:17:09 +00:00
regexp-sticky.js Reland sticky regexps https://codereview.chromium.org/567313003/ 2014-09-19 07:36:05 +00:00
rest-params-lazy-parsing.js Implement ES6 rest parameters 2015-02-14 00:15:12 +00:00
rest-params.js [es6] generate rest parameters correctly for subclass constructors 2015-03-20 14:07:16 +00:00
set-prototype-of.js [es6] Object.getPrototypeOf should work with values 2015-04-01 00:22:39 +00:00
spread-call-new-class.js [es6] implement spread calls 2015-04-09 19:37:19 +00:00
spread-call-new.js [es6] implement spread calls 2015-04-09 19:37:19 +00:00
spread-call.js [es6] implement spread calls 2015-04-09 19:37:19 +00:00
super.js Super store 2015-02-19 16:15:35 +00:00
toMethod.js Remove Function.prototype.toMethod 2015-02-10 22:13:43 +00:00
typedarray-proto.js Make one copy for all TypedArray methods 2015-05-09 01:20:07 +00:00
typedarrays-every.js Factor out core of Array.forEach and .every, for use in TypedArrays 2015-05-12 01:32:20 +00:00
typedarrays-foreach.js Factor out core of Array.forEach and .every, for use in TypedArrays 2015-05-12 01:32:20 +00:00
typedarrays-of.js Implement .of() on typed arrays 2014-11-13 11:20:13 +00:00
typedarrays.js fix special index parsing 2015-03-30 11:41:15 +00:00
unicode-escapes-in-regexps.js Split --harmony-unicode and --harmony-unicode-regexps. 2015-02-05 14:17:09 +00:00
unicode-escapes.js ES6 unicode extensions, part 1. 2014-12-02 10:58:19 +00:00