1 | // Automatically generated from /home/dima/wk/webkit/Source/JavaScriptCore/wasm/js/JSWebAssembly.cpp using /home/dima/wk/webkit/Source/JavaScriptCore/create_hash_table. DO NOT EDIT! |
2 | |
3 | #include "Lookup.h" |
4 | |
5 | namespace JSC { |
6 | |
7 | static const struct CompactHashIndex webAssemblyTableIndex[32] = { |
8 | { -1, -1 }, |
9 | { -1, -1 }, |
10 | { 0, -1 }, |
11 | { -1, -1 }, |
12 | { -1, -1 }, |
13 | { 7, -1 }, |
14 | { 9, -1 }, |
15 | { 1, -1 }, |
16 | { -1, -1 }, |
17 | { -1, -1 }, |
18 | { 3, -1 }, |
19 | { 5, -1 }, |
20 | { -1, -1 }, |
21 | { 4, -1 }, |
22 | { -1, -1 }, |
23 | { -1, -1 }, |
24 | { -1, -1 }, |
25 | { -1, -1 }, |
26 | { 2, -1 }, |
27 | { -1, -1 }, |
28 | { -1, -1 }, |
29 | { -1, -1 }, |
30 | { -1, -1 }, |
31 | { 6, -1 }, |
32 | { -1, -1 }, |
33 | { -1, -1 }, |
34 | { -1, -1 }, |
35 | { -1, -1 }, |
36 | { -1, -1 }, |
37 | { -1, -1 }, |
38 | { -1, -1 }, |
39 | { 8, -1 }, |
40 | }; |
41 | |
42 | static const struct HashTableValue webAssemblyTableValues[10] = { |
43 | { "CompileError" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyCompileError), (intptr_t)(0) } }, |
44 | { "Instance" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyInstance), (intptr_t)(0) } }, |
45 | { "LinkError" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyLinkError), (intptr_t)(0) } }, |
46 | { "Memory" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyMemory), (intptr_t)(0) } }, |
47 | { "Module" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyModule), (intptr_t)(0) } }, |
48 | { "RuntimeError" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyRuntimeError), (intptr_t)(0) } }, |
49 | { "Table" , static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyTable), (intptr_t)(0) } }, |
50 | { "compile" , static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyCompileFunc), (intptr_t)(1) } }, |
51 | { "instantiate" , static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyInstantiateFunc), (intptr_t)(1) } }, |
52 | { "validate" , static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyValidateFunc), (intptr_t)(1) } }, |
53 | }; |
54 | |
55 | static const struct HashTable webAssemblyTable = |
56 | { 10, 31, false, nullptr, webAssemblyTableValues, webAssemblyTableIndex }; |
57 | |
58 | } // namespace JSC |
59 | |