1// Automatically generated from /home/user/data/webkitgtk-2.25.2/Source/JavaScriptCore/runtime/ObjectConstructor.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
6namespace JSC {
7
8static const struct CompactHashIndex objectConstructorTableIndex[67] = {
9 { 1, 66 },
10 { -1, -1 },
11 { -1, -1 },
12 { -1, -1 },
13 { -1, -1 },
14 { 16, -1 },
15 { -1, -1 },
16 { -1, -1 },
17 { -1, -1 },
18 { -1, -1 },
19 { 13, -1 },
20 { -1, -1 },
21 { -1, -1 },
22 { -1, -1 },
23 { -1, -1 },
24 { -1, -1 },
25 { -1, -1 },
26 { -1, -1 },
27 { 20, -1 },
28 { -1, -1 },
29 { -1, -1 },
30 { 11, -1 },
31 { -1, -1 },
32 { -1, -1 },
33 { 8, -1 },
34 { 19, -1 },
35 { -1, -1 },
36 { -1, -1 },
37 { -1, -1 },
38 { 0, -1 },
39 { 15, -1 },
40 { -1, -1 },
41 { -1, -1 },
42 { -1, -1 },
43 { 5, 65 },
44 { -1, -1 },
45 { 10, -1 },
46 { -1, -1 },
47 { -1, -1 },
48 { -1, -1 },
49 { -1, -1 },
50 { 9, -1 },
51 { -1, -1 },
52 { 17, -1 },
53 { -1, -1 },
54 { 12, -1 },
55 { -1, -1 },
56 { 3, -1 },
57 { -1, -1 },
58 { 14, -1 },
59 { 7, -1 },
60 { -1, -1 },
61 { -1, -1 },
62 { -1, -1 },
63 { -1, -1 },
64 { -1, -1 },
65 { 2, 64 },
66 { -1, -1 },
67 { -1, -1 },
68 { -1, -1 },
69 { -1, -1 },
70 { -1, -1 },
71 { -1, -1 },
72 { -1, -1 },
73 { 4, -1 },
74 { 6, -1 },
75 { 18, -1 },
76};
77
78static const struct HashTableValue objectConstructorTableValues[21] = {
79 { "getPrototypeOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ObjectGetPrototypeOfIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetPrototypeOf), (intptr_t)(1) } },
80 { "setPrototypeOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorSetPrototypeOf), (intptr_t)(2) } },
81 { "getOwnPropertyDescriptor", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetOwnPropertyDescriptor), (intptr_t)(2) } },
82 { "getOwnPropertyDescriptors", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetOwnPropertyDescriptors), (intptr_t)(1) } },
83 { "getOwnPropertyNames", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetOwnPropertyNames), (intptr_t)(1) } },
84 { "getOwnPropertySymbols", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetOwnPropertySymbols), (intptr_t)(1) } },
85 { "keys", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ObjectKeysIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorKeys), (intptr_t)(1) } },
86 { "defineProperty", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorDefineProperty), (intptr_t)(3) } },
87 { "defineProperties", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorDefineProperties), (intptr_t)(2) } },
88 { "create", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ObjectCreateIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorCreate), (intptr_t)(2) } },
89 { "seal", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorSeal), (intptr_t)(1) } },
90 { "freeze", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorFreeze), (intptr_t)(1) } },
91 { "preventExtensions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorPreventExtensions), (intptr_t)(1) } },
92 { "isSealed", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorIsSealed), (intptr_t)(1) } },
93 { "isFrozen", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorIsFrozen), (intptr_t)(1) } },
94 { "isExtensible", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorIsExtensible), (intptr_t)(1) } },
95 { "is", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ObjectIsIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorIs), (intptr_t)(2) } },
96 { "assign", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorAssign), (intptr_t)(2) } },
97 { "values", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorValues), (intptr_t)(1) } },
98 { "entries", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(objectConstructorEntriesCodeGenerator), (intptr_t)1 } },
99 { "fromEntries", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(objectConstructorFromEntriesCodeGenerator), (intptr_t)1 } },
100};
101
102static const struct HashTable objectConstructorTable =
103 { 21, 63, false, nullptr, objectConstructorTableValues, objectConstructorTableIndex };
104
105} // namespace JSC
106