1 | // Automatically generated from /home/user/data/webkitgtk-2.25.2/Source/JavaScriptCore/runtime/JSPromiseConstructor.cpp using /home/user/data/webkitgtk-2.25.2/Source/JavaScriptCore/create_hash_table. DO NOT EDIT! |
2 | |
3 | #include "JSCBuiltins.h" |
4 | #include "Lookup.h" |
5 | |
6 | namespace JSC { |
7 | |
8 | static const struct CompactHashIndex promiseConstructorTableIndex[17] = { |
9 | { 2, -1 }, |
10 | { -1, -1 }, |
11 | { 0, 16 }, |
12 | { -1, -1 }, |
13 | { -1, -1 }, |
14 | { -1, -1 }, |
15 | { -1, -1 }, |
16 | { -1, -1 }, |
17 | { -1, -1 }, |
18 | { -1, -1 }, |
19 | { 4, -1 }, |
20 | { -1, -1 }, |
21 | { -1, -1 }, |
22 | { 1, -1 }, |
23 | { -1, -1 }, |
24 | { -1, -1 }, |
25 | { 3, -1 }, |
26 | }; |
27 | |
28 | static const struct HashTableValue promiseConstructorTableValues[5] = { |
29 | { "resolve" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorResolveCodeGenerator), (intptr_t)1 } }, |
30 | { "reject" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorRejectCodeGenerator), (intptr_t)1 } }, |
31 | { "race" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorRaceCodeGenerator), (intptr_t)1 } }, |
32 | { "all" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorAllCodeGenerator), (intptr_t)1 } }, |
33 | { "allSettled" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorAllSettledCodeGenerator), (intptr_t)1 } }, |
34 | }; |
35 | |
36 | static const struct HashTable promiseConstructorTable = |
37 | { 5, 15, false, nullptr, promiseConstructorTableValues, promiseConstructorTableIndex }; |
38 | |
39 | } // namespace JSC |
40 | |