1 | // Automatically generated from /home/dima/wk/webkit/Source/JavaScriptCore/runtime/ReflectObject.cpp using /home/dima/wk/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 reflectObjectTableIndex[35] = { |
9 | { 12, -1 }, |
10 | { 1, -1 }, |
11 | { -1, -1 }, |
12 | { -1, -1 }, |
13 | { -1, -1 }, |
14 | { 4, -1 }, |
15 | { -1, -1 }, |
16 | { 11, -1 }, |
17 | { -1, -1 }, |
18 | { -1, -1 }, |
19 | { -1, -1 }, |
20 | { -1, -1 }, |
21 | { -1, -1 }, |
22 | { 10, -1 }, |
23 | { 7, 34 }, |
24 | { -1, -1 }, |
25 | { -1, -1 }, |
26 | { -1, -1 }, |
27 | { 2, -1 }, |
28 | { -1, -1 }, |
29 | { -1, -1 }, |
30 | { -1, -1 }, |
31 | { -1, -1 }, |
32 | { -1, -1 }, |
33 | { 5, -1 }, |
34 | { -1, -1 }, |
35 | { -1, -1 }, |
36 | { -1, -1 }, |
37 | { -1, -1 }, |
38 | { 3, 32 }, |
39 | { 0, 33 }, |
40 | { -1, -1 }, |
41 | { 6, -1 }, |
42 | { 8, -1 }, |
43 | { 9, -1 }, |
44 | }; |
45 | |
46 | static const struct HashTableValue reflectObjectTableValues[13] = { |
47 | { "apply" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(reflectObjectApplyCodeGenerator), (intptr_t)3 } }, |
48 | { "construct" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectConstruct), (intptr_t)(2) } }, |
49 | { "defineProperty" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectDefineProperty), (intptr_t)(3) } }, |
50 | { "deleteProperty" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(reflectObjectDeletePropertyCodeGenerator), (intptr_t)2 } }, |
51 | { "get" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectGet), (intptr_t)(2) } }, |
52 | { "getOwnPropertyDescriptor" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectGetOwnPropertyDescriptor), (intptr_t)(2) } }, |
53 | { "getPrototypeOf" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ReflectGetPrototypeOfIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectGetPrototypeOf), (intptr_t)(1) } }, |
54 | { "has" , ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(reflectObjectHasCodeGenerator), (intptr_t)2 } }, |
55 | { "isExtensible" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectIsExtensible), (intptr_t)(1) } }, |
56 | { "ownKeys" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectOwnKeys), (intptr_t)(1) } }, |
57 | { "preventExtensions" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectPreventExtensions), (intptr_t)(1) } }, |
58 | { "set" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectSet), (intptr_t)(3) } }, |
59 | { "setPrototypeOf" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectSetPrototypeOf), (intptr_t)(2) } }, |
60 | }; |
61 | |
62 | static const struct HashTable reflectObjectTable = |
63 | { 13, 31, false, nullptr, reflectObjectTableValues, reflectObjectTableIndex }; |
64 | |
65 | } // namespace JSC |
66 | |