Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 75b96f116eb2cd6c041a88043da7efb962111897..f291d692cfdffb7043c882e5dd7c01588217e643 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -7228,11 +7228,25 @@ class Script: public Struct { |
| // Installation of ids for the selected builtin functions is handled |
| // by the bootstrapper. |
| #define FUNCTIONS_WITH_ID_LIST(V) \ |
|
Yang
2016/11/28 07:58:11
We should move this to somewhere else than objects
Benedikt Meurer
2016/11/28 07:59:05
I'd rather stick to the plan of dropping this list
|
| + V(Array.prototype, concat, ArrayConcat) \ |
| + V(Array.prototype, every, ArrayEvery) \ |
| + V(Array.prototype, fill, ArrayFill) \ |
| + V(Array.prototype, filter, ArrayFilter) \ |
| + V(Array.prototype, findIndex, ArrayFindIndex) \ |
| + V(Array.prototype, forEach, ArrayForEach) \ |
| + V(Array.prototype, includes, ArrayIncludes) \ |
| V(Array.prototype, indexOf, ArrayIndexOf) \ |
| + V(Array.prototype, join, ArrayJoin) \ |
| V(Array.prototype, lastIndexOf, ArrayLastIndexOf) \ |
| - V(Array.prototype, push, ArrayPush) \ |
| + V(Array.prototype, map, ArrayMap) \ |
| V(Array.prototype, pop, ArrayPop) \ |
| + V(Array.prototype, push, ArrayPush) \ |
| + V(Array.prototype, reverse, ArrayReverse) \ |
| V(Array.prototype, shift, ArrayShift) \ |
| + V(Array.prototype, slice, ArraySlice) \ |
| + V(Array.prototype, some, ArraySome) \ |
| + V(Array.prototype, splice, ArraySplice) \ |
| + V(Array.prototype, unshift, ArrayUnshift) \ |
| V(Date, now, DateNow) \ |
| V(Date.prototype, getDate, DateGetDate) \ |
| V(Date.prototype, getDay, DateGetDay) \ |