OLD | NEW |
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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 kInitialK, kLength, kTo) \ | 293 kInitialK, kLength, kTo) \ |
294 TFJ(ArrayEvery, 2, kCallbackFn, kThisArg) \ | 294 TFJ(ArrayEvery, 2, kCallbackFn, kThisArg) \ |
295 /* ES6 #sec-array.prototype.some */ \ | 295 /* ES6 #sec-array.prototype.some */ \ |
296 TFJ(ArraySomeLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ | 296 TFJ(ArraySomeLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ |
297 kInitialK, kLength, kTo) \ | 297 kInitialK, kLength, kTo) \ |
298 TFJ(ArraySome, 2, kCallbackFn, kThisArg) \ | 298 TFJ(ArraySome, 2, kCallbackFn, kThisArg) \ |
299 /* ES6 #sec-array.prototype.filter */ \ | 299 /* ES6 #sec-array.prototype.filter */ \ |
300 TFJ(ArrayFilterLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ | 300 TFJ(ArrayFilterLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ |
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 */ \ |
| 304 TFJ(ArrayMapLoopContinuation, 7, kCallbackFn, kThisArg, kArray, kObject, \ |
| 305 kInitialK, kLength, kTo) \ |
| 306 TFJ(ArrayMap, 2, kCallbackFn, kThisArg) \ |
303 /* ES6 #sec-array.prototype.reduce */ \ | 307 /* ES6 #sec-array.prototype.reduce */ \ |
304 TFJ(ArrayReduceLoopContinuation, 7, kCallbackFn, kThisArg, kAccumulator, \ | 308 TFJ(ArrayReduceLoopContinuation, 7, kCallbackFn, kThisArg, kAccumulator, \ |
305 kObject, kInitialK, kLength, kTo) \ | 309 kObject, kInitialK, kLength, kTo) \ |
306 TFJ(ArrayReduce, 2, kCallbackFn, kInitialValue) \ | 310 TFJ(ArrayReduce, 2, kCallbackFn, kInitialValue) \ |
307 /* ES6 #sec-array.prototype.entries */ \ | 311 /* ES6 #sec-array.prototype.entries */ \ |
308 TFJ(ArrayPrototypeEntries, 0) \ | 312 TFJ(ArrayPrototypeEntries, 0) \ |
309 /* ES6 #sec-array.prototype.keys */ \ | 313 /* ES6 #sec-array.prototype.keys */ \ |
310 TFJ(ArrayPrototypeKeys, 0) \ | 314 TFJ(ArrayPrototypeKeys, 0) \ |
311 /* ES6 #sec-array.prototype.values */ \ | 315 /* ES6 #sec-array.prototype.values */ \ |
312 TFJ(ArrayPrototypeValues, 0) \ | 316 TFJ(ArrayPrototypeValues, 0) \ |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1115 | 1119 |
1116 friend class Isolate; | 1120 friend class Isolate; |
1117 | 1121 |
1118 DISALLOW_COPY_AND_ASSIGN(Builtins); | 1122 DISALLOW_COPY_AND_ASSIGN(Builtins); |
1119 }; | 1123 }; |
1120 | 1124 |
1121 } // namespace internal | 1125 } // namespace internal |
1122 } // namespace v8 | 1126 } // namespace v8 |
1123 | 1127 |
1124 #endif // V8_BUILTINS_BUILTINS_H_ | 1128 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |