mirror of
https://github.com/darlinghq/darling-JavaScriptCore.git
synced 2025-04-12 03:36:54 +00:00
24 lines
1.1 KiB
C++
24 lines
1.1 KiB
C++
// Automatically generated from JavaScriptCore/runtime/ArrayConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
|
|
|
|
#include "JSCBuiltins.h"
|
|
#include "Lookup.h"
|
|
|
|
namespace JSC {
|
|
|
|
static const struct CompactHashIndex arrayConstructorTableIndex[4] = {
|
|
{ -1, -1 },
|
|
{ -1, -1 },
|
|
{ 1, -1 },
|
|
{ 0, -1 },
|
|
};
|
|
|
|
static const struct HashTableValue arrayConstructorTableValues[2] = {
|
|
{ "of", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(arrayConstructorOfCodeGenerator), (intptr_t)0 } },
|
|
{ "from", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(arrayConstructorFromCodeGenerator), (intptr_t)0 } },
|
|
};
|
|
|
|
static const struct HashTable arrayConstructorTable =
|
|
{ 2, 3, false, nullptr, arrayConstructorTableValues, arrayConstructorTableIndex };
|
|
|
|
} // namespace JSC
|