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

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

Issue 2776433003: [builtins] Implement Array.prototype.reduceRight in the CSA (Closed)
Patch Set: Add back accidental removals 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-array-gen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 kInitialK, kLength, kTo) \ 301 kInitialK, kLength, kTo) \
302 TFJ(ArrayFilter, 2, kCallbackFn, kThisArg) \ 302 TFJ(ArrayFilter, 2, kCallbackFn, kThisArg) \
303 /* ES6 #sec-array.prototype.foreach */ \ 303 /* ES6 #sec-array.prototype.foreach */ \
304 TFJ(ArrayMapLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ 304 TFJ(ArrayMapLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \
305 kInitialK, kLength, kTo) \ 305 kInitialK, kLength, kTo) \
306 TFJ(ArrayMap, 2, kCallbackFn, kThisArg) \ 306 TFJ(ArrayMap, 2, kCallbackFn, kThisArg) \
307 /* ES6 #sec-array.prototype.reduce */ \ 307 /* ES6 #sec-array.prototype.reduce */ \
308 TFJ(ArrayReduceLoopContinuation, 7, kCallbackFn, kThisArg, kAccumulator, \ 308 TFJ(ArrayReduceLoopContinuation, 7, kCallbackFn, kThisArg, kAccumulator, \
309 kObject, kInitialK, kLength, kTo) \ 309 kObject, kInitialK, kLength, kTo) \
310 TFJ(ArrayReduce, 2, kCallbackFn, kInitialValue) \ 310 TFJ(ArrayReduce, 2, kCallbackFn, kInitialValue) \
311 /* ES6 #sec-array.prototype.reduceRight */ \
312 TFJ(ArrayReduceRightLoopContinuation, 7, kCallbackFn, kThisArg, \
313 kAccumulator, kObject, kInitialK, kLength, kTo) \
314 TFJ(ArrayReduceRight, 2, kCallbackFn, kInitialValue) \
311 /* ES6 #sec-array.prototype.entries */ \ 315 /* ES6 #sec-array.prototype.entries */ \
312 TFJ(ArrayPrototypeEntries, 0) \ 316 TFJ(ArrayPrototypeEntries, 0) \
313 /* ES6 #sec-array.prototype.keys */ \ 317 /* ES6 #sec-array.prototype.keys */ \
314 TFJ(ArrayPrototypeKeys, 0) \ 318 TFJ(ArrayPrototypeKeys, 0) \
315 /* ES6 #sec-array.prototype.values */ \ 319 /* ES6 #sec-array.prototype.values */ \
316 TFJ(ArrayPrototypeValues, 0) \ 320 TFJ(ArrayPrototypeValues, 0) \
317 /* ES6 #sec-%arrayiteratorprototype%.next */ \ 321 /* ES6 #sec-%arrayiteratorprototype%.next */ \
318 TFJ(ArrayIteratorPrototypeNext, 0) \ 322 TFJ(ArrayIteratorPrototypeNext, 0) \
319 \ 323 \
320 /* ArrayBuffer */ \ 324 /* ArrayBuffer */ \
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 1123
1120 friend class Isolate; 1124 friend class Isolate;
1121 1125
1122 DISALLOW_COPY_AND_ASSIGN(Builtins); 1126 DISALLOW_COPY_AND_ASSIGN(Builtins);
1123 }; 1127 };
1124 1128
1125 } // namespace internal 1129 } // namespace internal
1126 } // namespace v8 1130 } // namespace v8
1127 1131
1128 #endif // V8_BUILTINS_BUILTINS_H_ 1132 #endif // V8_BUILTINS_BUILTINS_H_
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/builtins/builtins-array-gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698