| 1 | // Automatically generated from /home/ubuntu/webkit/Source/JavaScriptCore/runtime/JSPromiseConstructor.cpp using /home/ubuntu/webkit/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[9] = { |
| 9 | { 2, -1 }, |
| 10 | { -1, -1 }, |
| 11 | { 0, 8 }, |
| 12 | { -1, -1 }, |
| 13 | { -1, -1 }, |
| 14 | { 1, -1 }, |
| 15 | { -1, -1 }, |
| 16 | { -1, -1 }, |
| 17 | { 3, -1 }, |
| 18 | }; |
| 19 | |
| 20 | static const struct HashTableValue promiseConstructorTableValues[4] = { |
| 21 | { "resolve" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorResolveCodeGenerator), (intptr_t)1 } }, |
| 22 | { "reject" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorRejectCodeGenerator), (intptr_t)1 } }, |
| 23 | { "race" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorRaceCodeGenerator), (intptr_t)1 } }, |
| 24 | { "all" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorAllCodeGenerator), (intptr_t)1 } }, |
| 25 | }; |
| 26 | |
| 27 | static const struct HashTable promiseConstructorTable = |
| 28 | { 4, 7, false, nullptr, promiseConstructorTableValues, promiseConstructorTableIndex }; |
| 29 | |
| 30 | } // namespace JSC |
| 31 | |