mirror of
https://github.com/darlinghq/darling-JavaScriptCore.git
synced 2024-11-23 04:09:40 +00:00
a44c7a2ae9
Psst... use unified builds (JSC_UNIFIED_BUILDS) for faster builds!
29 lines
1.3 KiB
C++
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
|