Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Side by Side Diff: src/builtins/builtins.h

Issue 2752273003: [builtins] Implement Array.prototype.reduce in the CSA (Closed)
Patch Set: Cleanup Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_BUILTINS_BUILTINS_H_ 5 #ifndef V8_BUILTINS_BUILTINS_H_
6 #define V8_BUILTINS_BUILTINS_H_ 6 #define V8_BUILTINS_BUILTINS_H_
7 7
8 #include "src/base/flags.h" 8 #include "src/base/flags.h"
9 #include "src/globals.h" 9 #include "src/globals.h"
10 10
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 CPP(ArrayPop) \ 273 CPP(ArrayPop) \
274 CPP(ArrayPush) \ 274 CPP(ArrayPush) \
275 TFJ(FastArrayPush, -1) \ 275 TFJ(FastArrayPush, -1) \
276 CPP(ArrayShift) \ 276 CPP(ArrayShift) \
277 CPP(ArraySlice) \ 277 CPP(ArraySlice) \
278 CPP(ArraySplice) \ 278 CPP(ArraySplice) \
279 CPP(ArrayUnshift) \ 279 CPP(ArrayUnshift) \
280 TFJ(ArrayForEachLoopContinuation, 6) \ 280 TFJ(ArrayForEachLoopContinuation, 6) \
281 TFJ(ArrayEveryLoopContinuation, 6) \ 281 TFJ(ArrayEveryLoopContinuation, 6) \
282 TFJ(ArraySomeLoopContinuation, 6) \ 282 TFJ(ArraySomeLoopContinuation, 6) \
283 TFJ(ArrayReduceLoopContinuation, 6) \
283 TFJ(ArrayForEach, 2) \ 284 TFJ(ArrayForEach, 2) \
284 TFJ(ArrayEvery, 2) \ 285 TFJ(ArrayEvery, 2) \
285 TFJ(ArraySome, 2) \ 286 TFJ(ArraySome, 2) \
287 TFJ(ArrayReduce, 2) \
286 /* ES6 #sec-array.prototype.entries */ \ 288 /* ES6 #sec-array.prototype.entries */ \
287 TFJ(ArrayPrototypeEntries, 0) \ 289 TFJ(ArrayPrototypeEntries, 0) \
288 /* ES6 #sec-array.prototype.keys */ \ 290 /* ES6 #sec-array.prototype.keys */ \
289 TFJ(ArrayPrototypeKeys, 0) \ 291 TFJ(ArrayPrototypeKeys, 0) \
290 /* ES6 #sec-array.prototype.values */ \ 292 /* ES6 #sec-array.prototype.values */ \
291 TFJ(ArrayPrototypeValues, 0) \ 293 TFJ(ArrayPrototypeValues, 0) \
292 /* ES6 #sec-%arrayiteratorprototype%.next */ \ 294 /* ES6 #sec-%arrayiteratorprototype%.next */ \
293 TFJ(ArrayIteratorPrototypeNext, 0) \ 295 TFJ(ArrayIteratorPrototypeNext, 0) \
294 \ 296 \
295 /* ArrayBuffer */ \ 297 /* ArrayBuffer */ \
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 1039
1038 friend class Isolate; 1040 friend class Isolate;
1039 1041
1040 DISALLOW_COPY_AND_ASSIGN(Builtins); 1042 DISALLOW_COPY_AND_ASSIGN(Builtins);
1041 }; 1043 };
1042 1044
1043 } // namespace internal 1045 } // namespace internal
1044 } // namespace v8 1046 } // namespace v8
1045 1047
1046 #endif // V8_BUILTINS_BUILTINS_H_ 1048 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698