darling-JavaScriptCore/DerivedSources/JavaScriptCore/StringConstructor.lut.h
Ariel Abreu a44c7a2ae9
Darling build of JavaScriptCore-7608.4.9.1.3
Psst... use unified builds (JSC_UNIFIED_BUILDS) for faster builds!
2020-08-31 16:21:11 -04:00

29 lines
1.3 KiB
C++

// Automatically generated from JavaScriptCore/runtime/StringConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex stringConstructorTableIndex[8] = {
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue stringConstructorTableValues[3] = {
{ "fromCharCode", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), FromCharCodeIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(stringFromCharCode), (intptr_t)(1) } },
{ "fromCodePoint", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(stringFromCodePoint), (intptr_t)(1) } },
{ "raw", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringConstructorRawCodeGenerator), (intptr_t)1 } },
};
static const struct HashTable stringConstructorTable =
{ 3, 7, false, nullptr, stringConstructorTableValues, stringConstructorTableIndex };
} // namespace JSC