mirror of
https://github.com/darlinghq/darling-JavaScriptCore.git
synced 2024-11-23 04:09:40 +00:00
28 lines
1.2 KiB
C++
28 lines
1.2 KiB
C++
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyModuleConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
|
|
|
|
#include "Lookup.h"
|
|
|
|
namespace JSC {
|
|
|
|
static const struct CompactHashIndex constructorTableWebAssemblyModuleIndex[8] = {
|
|
{ 2, -1 },
|
|
{ 0, -1 },
|
|
{ 1, -1 },
|
|
{ -1, -1 },
|
|
{ -1, -1 },
|
|
{ -1, -1 },
|
|
{ -1, -1 },
|
|
{ -1, -1 },
|
|
};
|
|
|
|
static const struct HashTableValue constructorTableWebAssemblyModuleValues[3] = {
|
|
{ "customSections", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyModuleCustomSections), (intptr_t)(2) } },
|
|
{ "imports", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyModuleImports), (intptr_t)(1) } },
|
|
{ "exports", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyModuleExports), (intptr_t)(1) } },
|
|
};
|
|
|
|
static const struct HashTable constructorTableWebAssemblyModule =
|
|
{ 3, 7, false, nullptr, constructorTableWebAssemblyModuleValues, constructorTableWebAssemblyModuleIndex };
|
|
|
|
} // namespace JSC
|