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/handles.h" | 9 #include "src/handles.h" |
10 | 10 |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 /* ES6 #sec-%arrayiteratorprototype%.next */ \ | 268 /* ES6 #sec-%arrayiteratorprototype%.next */ \ |
269 TFJ(ArrayIteratorPrototypeNext, 0) \ | 269 TFJ(ArrayIteratorPrototypeNext, 0) \ |
270 \ | 270 \ |
271 /* ArrayBuffer */ \ | 271 /* ArrayBuffer */ \ |
272 CPP(ArrayBufferConstructor) \ | 272 CPP(ArrayBufferConstructor) \ |
273 CPP(ArrayBufferConstructor_ConstructStub) \ | 273 CPP(ArrayBufferConstructor_ConstructStub) \ |
274 CPP(ArrayBufferPrototypeGetByteLength) \ | 274 CPP(ArrayBufferPrototypeGetByteLength) \ |
275 CPP(ArrayBufferIsView) \ | 275 CPP(ArrayBufferIsView) \ |
276 \ | 276 \ |
277 /* AsyncFunction */ \ | 277 /* AsyncFunction */ \ |
| 278 TFJ(AsyncFunctionAwaitCaught, 3) \ |
| 279 TFJ(AsyncFunctionAwaitUncaught, 3) \ |
| 280 TFJ(AsyncFunctionAwaitRejectClosure, 1) \ |
| 281 TFJ(AsyncFunctionAwaitResolveClosure, 1) \ |
278 TFJ(AsyncFunctionPromiseCreate, 0) \ | 282 TFJ(AsyncFunctionPromiseCreate, 0) \ |
279 TFJ(AsyncFunctionPromiseRelease, 1) \ | 283 TFJ(AsyncFunctionPromiseRelease, 1) \ |
280 \ | 284 \ |
281 /* Boolean */ \ | 285 /* Boolean */ \ |
282 CPP(BooleanConstructor) \ | 286 CPP(BooleanConstructor) \ |
283 CPP(BooleanConstructor_ConstructStub) \ | 287 CPP(BooleanConstructor_ConstructStub) \ |
284 /* ES6 section 19.3.3.2 Boolean.prototype.toString ( ) */ \ | 288 /* ES6 section 19.3.3.2 Boolean.prototype.toString ( ) */ \ |
285 TFJ(BooleanPrototypeToString, 0) \ | 289 TFJ(BooleanPrototypeToString, 0) \ |
286 /* ES6 section 19.3.3.3 Boolean.prototype.valueOf ( ) */ \ | 290 /* ES6 section 19.3.3.3 Boolean.prototype.valueOf ( ) */ \ |
287 TFJ(BooleanPrototypeValueOf, 0) \ | 291 TFJ(BooleanPrototypeValueOf, 0) \ |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 /* Promise */ \ | 636 /* Promise */ \ |
633 TFJ(PromiseGetCapabilitiesExecutor, 2) \ | 637 TFJ(PromiseGetCapabilitiesExecutor, 2) \ |
634 TFJ(NewPromiseCapability, 2) \ | 638 TFJ(NewPromiseCapability, 2) \ |
635 TFJ(PromiseConstructor, 1) \ | 639 TFJ(PromiseConstructor, 1) \ |
636 TFJ(PromiseInternalConstructor, 1) \ | 640 TFJ(PromiseInternalConstructor, 1) \ |
637 TFJ(IsPromise, 1) \ | 641 TFJ(IsPromise, 1) \ |
638 TFJ(PromiseResolveClosure, 1) \ | 642 TFJ(PromiseResolveClosure, 1) \ |
639 TFJ(PromiseRejectClosure, 1) \ | 643 TFJ(PromiseRejectClosure, 1) \ |
640 TFJ(PromiseThen, 2) \ | 644 TFJ(PromiseThen, 2) \ |
641 TFJ(PromiseCatch, 1) \ | 645 TFJ(PromiseCatch, 1) \ |
642 TFJ(PerformPromiseThen, 4) \ | |
643 TFJ(ResolvePromise, 2) \ | 646 TFJ(ResolvePromise, 2) \ |
644 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \ | 647 TFS(PromiseHandleReject, BUILTIN, kNoExtraICState, PromiseHandleReject) \ |
645 TFJ(PromiseHandle, 5) \ | 648 TFJ(PromiseHandle, 5) \ |
646 TFJ(PromiseResolve, 1) \ | 649 TFJ(PromiseResolve, 1) \ |
647 TFJ(PromiseReject, 1) \ | 650 TFJ(PromiseReject, 1) \ |
648 TFJ(InternalPromiseReject, 3) \ | 651 TFJ(InternalPromiseReject, 3) \ |
649 \ | 652 \ |
650 /* Proxy */ \ | 653 /* Proxy */ \ |
651 CPP(ProxyConstructor) \ | 654 CPP(ProxyConstructor) \ |
652 CPP(ProxyConstructor_ConstructStub) \ | 655 CPP(ProxyConstructor_ConstructStub) \ |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
925 | 928 |
926 friend class Isolate; | 929 friend class Isolate; |
927 | 930 |
928 DISALLOW_COPY_AND_ASSIGN(Builtins); | 931 DISALLOW_COPY_AND_ASSIGN(Builtins); |
929 }; | 932 }; |
930 | 933 |
931 } // namespace internal | 934 } // namespace internal |
932 } // namespace v8 | 935 } // namespace v8 |
933 | 936 |
934 #endif // V8_BUILTINS_BUILTINS_H_ | 937 #endif // V8_BUILTINS_BUILTINS_H_ |
OLD | NEW |