1// Automatically generated from /opt/wk/webkit_cover/Source/JavaScriptCore/runtime/JSGlobalObject.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 globalObjectTableIndex[136] = {
9 { -1, -1 },
10 { 7, -1 },
11 { -1, -1 },
12 { -1, -1 },
13 { -1, -1 },
14 { -1, -1 },
15 { -1, -1 },
16 { -1, -1 },
17 { -1, -1 },
18 { -1, -1 },
19 { -1, -1 },
20 { 36, -1 },
21 { -1, -1 },
22 { 27, -1 },
23 { -1, -1 },
24 { -1, -1 },
25 { 11, -1 },
26 { -1, -1 },
27 { -1, -1 },
28 { -1, -1 },
29 { 13, 129 },
30 { 0, -1 },
31 { 24, -1 },
32 { -1, -1 },
33 { 28, -1 },
34 { -1, -1 },
35 { -1, -1 },
36 { 12, -1 },
37 { 26, 135 },
38 { -1, -1 },
39 { -1, -1 },
40 { 37, 134 },
41 { -1, -1 },
42 { 34, -1 },
43 { -1, -1 },
44 { -1, -1 },
45 { -1, -1 },
46 { -1, -1 },
47 { -1, -1 },
48 { -1, -1 },
49 { 3, 128 },
50 { 9, -1 },
51 { -1, -1 },
52 { -1, -1 },
53 { 41, -1 },
54 { -1, -1 },
55 { -1, -1 },
56 { -1, -1 },
57 { -1, -1 },
58 { -1, -1 },
59 { -1, -1 },
60 { 8, 130 },
61 { -1, -1 },
62 { -1, -1 },
63 { -1, -1 },
64 { -1, -1 },
65 { -1, -1 },
66 { -1, -1 },
67 { 6, -1 },
68 { -1, -1 },
69 { -1, -1 },
70 { -1, -1 },
71 { -1, -1 },
72 { -1, -1 },
73 { 31, -1 },
74 { -1, -1 },
75 { 5, -1 },
76 { -1, -1 },
77 { -1, -1 },
78 { -1, -1 },
79 { -1, -1 },
80 { -1, -1 },
81 { -1, -1 },
82 { -1, -1 },
83 { -1, -1 },
84 { -1, -1 },
85 { -1, -1 },
86 { -1, -1 },
87 { -1, -1 },
88 { 15, -1 },
89 { -1, -1 },
90 { 22, -1 },
91 { 39, -1 },
92 { -1, -1 },
93 { -1, -1 },
94 { 2, -1 },
95 { -1, -1 },
96 { -1, -1 },
97 { 33, -1 },
98 { -1, -1 },
99 { -1, -1 },
100 { -1, -1 },
101 { -1, -1 },
102 { -1, -1 },
103 { 35, -1 },
104 { -1, -1 },
105 { -1, -1 },
106 { -1, -1 },
107 { -1, -1 },
108 { -1, -1 },
109 { -1, -1 },
110 { -1, -1 },
111 { 19, 132 },
112 { 14, -1 },
113 { -1, -1 },
114 { -1, -1 },
115 { -1, -1 },
116 { 1, 131 },
117 { -1, -1 },
118 { 29, -1 },
119 { -1, -1 },
120 { 17, -1 },
121 { -1, -1 },
122 { -1, -1 },
123 { 16, -1 },
124 { -1, -1 },
125 { -1, -1 },
126 { -1, -1 },
127 { -1, -1 },
128 { 10, 133 },
129 { 21, -1 },
130 { 32, -1 },
131 { -1, -1 },
132 { -1, -1 },
133 { -1, -1 },
134 { -1, -1 },
135 { -1, -1 },
136 { -1, -1 },
137 { 4, -1 },
138 { 18, -1 },
139 { 20, -1 },
140 { 23, -1 },
141 { 25, -1 },
142 { 30, -1 },
143 { 38, -1 },
144 { 40, -1 },
145};
146
147static const struct HashTableValue globalObjectTableValues[42] = {
148 { "isNaN", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(globalObjectIsNaNCodeGenerator), (intptr_t)1 } },
149 { "isFinite", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(globalObjectIsFiniteCodeGenerator), (intptr_t)1 } },
150 { "escape", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncEscape), (intptr_t)(1) } },
151 { "unescape", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncUnescape), (intptr_t)(1) } },
152 { "decodeURI", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncDecodeURI), (intptr_t)(1) } },
153 { "decodeURIComponent", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncDecodeURIComponent), (intptr_t)(1) } },
154 { "encodeURI", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncEncodeURI), (intptr_t)(1) } },
155 { "encodeURIComponent", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncEncodeURIComponent), (intptr_t)(1) } },
156 { "eval", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::CellProperty), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_evalFunction)), (intptr_t)(0) } },
157 { "globalThis", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::CellProperty), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_globalThis)), (intptr_t)(0) } },
158 { "parseInt", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::CellProperty), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_parseIntFunction)), (intptr_t)(0) } },
159 { "parseFloat", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::CellProperty), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_parseFloatFunction)), (intptr_t)(0) } },
160 { "ArrayBuffer", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_arrayBufferStructure)), (intptr_t)(0) } },
161 { "EvalError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_evalErrorStructure)), (intptr_t)(0) } },
162 { "RangeError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_rangeErrorStructure)), (intptr_t)(0) } },
163 { "ReferenceError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_referenceErrorStructure)), (intptr_t)(0) } },
164 { "SyntaxError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_syntaxErrorStructure)), (intptr_t)(0) } },
165 { "TypeError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typeErrorStructure)), (intptr_t)(0) } },
166 { "URIError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_URIErrorStructure)), (intptr_t)(0) } },
167 { "Proxy", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createProxyProperty), (intptr_t)(0) } },
168 { "Reflect", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createReflectProperty), (intptr_t)(0) } },
169 { "JSON", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createJSONProperty), (intptr_t)(0) } },
170 { "Math", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createMathProperty), (intptr_t)(0) } },
171 { "console", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createConsoleProperty), (intptr_t)(0) } },
172 { "Int8Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayInt8)), (intptr_t)(0) } },
173 { "Int16Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayInt16)), (intptr_t)(0) } },
174 { "Int32Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayInt32)), (intptr_t)(0) } },
175 { "Uint8Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayUint8)), (intptr_t)(0) } },
176 { "Uint8ClampedArray", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayUint8Clamped)), (intptr_t)(0) } },
177 { "Uint16Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayUint16)), (intptr_t)(0) } },
178 { "Uint32Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayUint32)), (intptr_t)(0) } },
179 { "Float32Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayFloat32)), (intptr_t)(0) } },
180 { "Float64Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayFloat64)), (intptr_t)(0) } },
181 { "DataView", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayDataView)), (intptr_t)(0) } },
182 { "Date", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_dateStructure)), (intptr_t)(0) } },
183 { "Error", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_errorStructure)), (intptr_t)(0) } },
184 { "Boolean", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_booleanObjectStructure)), (intptr_t)(0) } },
185 { "Number", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_numberObjectStructure)), (intptr_t)(0) } },
186 { "Symbol", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_symbolObjectStructure)), (intptr_t)(0) } },
187 { "WeakMap", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_weakMapStructure)), (intptr_t)(0) } },
188 { "WeakRef", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_weakObjectRefStructure)), (intptr_t)(0) } },
189 { "WeakSet", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_weakSetStructure)), (intptr_t)(0) } },
190};
191
192static const struct HashTable globalObjectTable =
193 { 42, 127, false, nullptr, globalObjectTableValues, globalObjectTableIndex };
194
195} // namespace JSC
196