1// Automatically generated from /opt/wk/webkit_cover/Source/JavaScriptCore/runtime/JSPromisePrototype.cpp using /opt/wk/webkit_cover/Source/JavaScriptCore/create_hash_table. DO NOT EDIT!
2
3#include "JSCBuiltins.h"
4#include "Lookup.h"
5
6namespace JSC {
7
8static const struct CompactHashIndex promisePrototypeTableIndex[8] = {
9 { -1, -1 },
10 { -1, -1 },
11 { -1, -1 },
12 { 1, -1 },
13 { 0, -1 },
14 { -1, -1 },
15 { -1, -1 },
16 { 2, -1 },
17};
18
19static const struct HashTableValue promisePrototypeTableValues[3] = {
20 { "then", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promisePrototypeThenCodeGenerator), (intptr_t)2 } },
21 { "catch", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promisePrototypeCatchCodeGenerator), (intptr_t)1 } },
22 { "finally", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promisePrototypeFinallyCodeGenerator), (intptr_t)1 } },
23};
24
25static const struct HashTable promisePrototypeTable =
26 { 3, 7, false, nullptr, promisePrototypeTableValues, promisePrototypeTableIndex };
27
28} // namespace JSC
29