| 1 | // Automatically generated from /home/ubuntu/webkit/Source/JavaScriptCore/runtime/JSModuleLoader.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 moduleLoaderTableIndex[66] = { |
| 9 | { 13, -1 }, |
| 10 | { 17, -1 }, |
| 11 | { -1, -1 }, |
| 12 | { 9, -1 }, |
| 13 | { 15, -1 }, |
| 14 | { 10, -1 }, |
| 15 | { -1, -1 }, |
| 16 | { 11, 65 }, |
| 17 | { -1, -1 }, |
| 18 | { -1, -1 }, |
| 19 | { -1, -1 }, |
| 20 | { -1, -1 }, |
| 21 | { -1, -1 }, |
| 22 | { -1, -1 }, |
| 23 | { -1, -1 }, |
| 24 | { -1, -1 }, |
| 25 | { 1, -1 }, |
| 26 | { -1, -1 }, |
| 27 | { 18, -1 }, |
| 28 | { -1, -1 }, |
| 29 | { -1, -1 }, |
| 30 | { -1, -1 }, |
| 31 | { 3, -1 }, |
| 32 | { -1, -1 }, |
| 33 | { -1, -1 }, |
| 34 | { -1, -1 }, |
| 35 | { -1, -1 }, |
| 36 | { 12, -1 }, |
| 37 | { -1, -1 }, |
| 38 | { -1, -1 }, |
| 39 | { -1, -1 }, |
| 40 | { -1, -1 }, |
| 41 | { -1, -1 }, |
| 42 | { -1, -1 }, |
| 43 | { -1, -1 }, |
| 44 | { -1, -1 }, |
| 45 | { -1, -1 }, |
| 46 | { -1, -1 }, |
| 47 | { -1, -1 }, |
| 48 | { 14, -1 }, |
| 49 | { -1, -1 }, |
| 50 | { -1, -1 }, |
| 51 | { 7, -1 }, |
| 52 | { -1, -1 }, |
| 53 | { -1, -1 }, |
| 54 | { 19, -1 }, |
| 55 | { -1, -1 }, |
| 56 | { -1, -1 }, |
| 57 | { -1, -1 }, |
| 58 | { -1, -1 }, |
| 59 | { 20, -1 }, |
| 60 | { -1, -1 }, |
| 61 | { 0, 64 }, |
| 62 | { -1, -1 }, |
| 63 | { -1, -1 }, |
| 64 | { -1, -1 }, |
| 65 | { 8, -1 }, |
| 66 | { 5, -1 }, |
| 67 | { -1, -1 }, |
| 68 | { 6, -1 }, |
| 69 | { -1, -1 }, |
| 70 | { -1, -1 }, |
| 71 | { -1, -1 }, |
| 72 | { 2, -1 }, |
| 73 | { 4, -1 }, |
| 74 | { 16, -1 }, |
| 75 | }; |
| 76 | |
| 77 | static const struct HashTableValue moduleLoaderTableValues[21] = { |
| 78 | { "ensureRegistered" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderEnsureRegisteredCodeGenerator), (intptr_t)1 } }, |
| 79 | { "forceFulfillPromise" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderForceFulfillPromiseCodeGenerator), (intptr_t)2 } }, |
| 80 | { "fulfillFetch" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderFulfillFetchCodeGenerator), (intptr_t)2 } }, |
| 81 | { "requestFetch" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderRequestFetchCodeGenerator), (intptr_t)3 } }, |
| 82 | { "requestInstantiate" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderRequestInstantiateCodeGenerator), (intptr_t)3 } }, |
| 83 | { "requestSatisfy" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderRequestSatisfyCodeGenerator), (intptr_t)3 } }, |
| 84 | { "link" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderLinkCodeGenerator), (intptr_t)2 } }, |
| 85 | { "moduleDeclarationInstantiation" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderModuleDeclarationInstantiation), (intptr_t)(2) } }, |
| 86 | { "moduleEvaluation" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderModuleEvaluationCodeGenerator), (intptr_t)2 } }, |
| 87 | { "evaluate" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderEvaluate), (intptr_t)(3) } }, |
| 88 | { "provideFetch" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderProvideFetchCodeGenerator), (intptr_t)2 } }, |
| 89 | { "loadAndEvaluateModule" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderLoadAndEvaluateModuleCodeGenerator), (intptr_t)3 } }, |
| 90 | { "loadModule" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderLoadModuleCodeGenerator), (intptr_t)3 } }, |
| 91 | { "linkAndEvaluateModule" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderLinkAndEvaluateModuleCodeGenerator), (intptr_t)2 } }, |
| 92 | { "requestImportModule" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderRequestImportModuleCodeGenerator), (intptr_t)3 } }, |
| 93 | { "getModuleNamespaceObject" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderGetModuleNamespaceObject), (intptr_t)(1) } }, |
| 94 | { "parseModule" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderParseModule), (intptr_t)(2) } }, |
| 95 | { "requestedModules" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderRequestedModules), (intptr_t)(1) } }, |
| 96 | { "resolve" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderResolve), (intptr_t)(2) } }, |
| 97 | { "resolveSync" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderResolveSync), (intptr_t)(2) } }, |
| 98 | { "fetch" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderFetch), (intptr_t)(3) } }, |
| 99 | }; |
| 100 | |
| 101 | static const struct HashTable moduleLoaderTable = |
| 102 | { 21, 63, false, nullptr, moduleLoaderTableValues, moduleLoaderTableIndex }; |
| 103 | |
| 104 | } // namespace JSC |
| 105 | |