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

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

Issue 2752273003: [builtins] Implement Array.prototype.reduce in the CSA (Closed)
Patch Set: Simplify 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 TFJ(ArrayForEach, 2, kCallbackFn, kThisArg) \ 289 TFJ(ArrayForEach, 2, kCallbackFn, kThisArg) \
290 /* ES6 #sec-array.prototype.every */ \ 290 /* ES6 #sec-array.prototype.every */ \
291 TFJ(ArrayEveryLoopContinuation, 6) \ 291 TFJ(ArrayEveryLoopContinuation, 6) \
292 TFJ(ArrayEvery, 2, kCallbackFn, kThisArg) \ 292 TFJ(ArrayEvery, 2, kCallbackFn, kThisArg) \
293 /* ES6 #sec-array.prototype.some */ \ 293 /* ES6 #sec-array.prototype.some */ \
294 TFJ(ArraySomeLoopContinuation, 6) \ 294 TFJ(ArraySomeLoopContinuation, 6) \
295 TFJ(ArraySome, 2, kCallbackFn, kThisArg) \ 295 TFJ(ArraySome, 2, kCallbackFn, kThisArg) \
296 /* ES6 #sec-array.prototype.filter */ \ 296 /* ES6 #sec-array.prototype.filter */ \
297 TFJ(ArrayFilterLoopContinuation, 6) \ 297 TFJ(ArrayFilterLoopContinuation, 6) \
298 TFJ(ArrayFilter, 2, kCallbackFn, kThisArg) \ 298 TFJ(ArrayFilter, 2, kCallbackFn, kThisArg) \
299 /* ES6 #sec-array.prototype.reduce */ \
300 TFJ(ArrayReduceLoopContinuation, 6) \
301 TFJ(ArrayReduce, 2, kCallbackFn, kInitialValue) \
299 /* ES6 #sec-array.prototype.entries */ \ 302 /* ES6 #sec-array.prototype.entries */ \
300 TFJ(ArrayPrototypeEntries, 0) \ 303 TFJ(ArrayPrototypeEntries, 0) \
301 /* ES6 #sec-array.prototype.keys */ \ 304 /* ES6 #sec-array.prototype.keys */ \
302 TFJ(ArrayPrototypeKeys, 0) \ 305 TFJ(ArrayPrototypeKeys, 0) \
303 /* ES6 #sec-array.prototype.values */ \ 306 /* ES6 #sec-array.prototype.values */ \
304 TFJ(ArrayPrototypeValues, 0) \ 307 TFJ(ArrayPrototypeValues, 0) \
305 /* ES6 #sec-%arrayiteratorprototype%.next */ \ 308 /* ES6 #sec-%arrayiteratorprototype%.next */ \
306 TFJ(ArrayIteratorPrototypeNext, 0) \ 309 TFJ(ArrayIteratorPrototypeNext, 0) \
307 \ 310 \
308 /* ArrayBuffer */ \ 311 /* ArrayBuffer */ \
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
1061 1064
1062 friend class Isolate; 1065 friend class Isolate;
1063 1066
1064 DISALLOW_COPY_AND_ASSIGN(Builtins); 1067 DISALLOW_COPY_AND_ASSIGN(Builtins);
1065 }; 1068 };
1066 1069
1067 } // namespace internal 1070 } // namespace internal
1068 } // namespace v8 1071 } // namespace v8
1069 1072
1070 #endif // V8_BUILTINS_BUILTINS_H_ 1073 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698