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.1 KiB
C++
29 lines
1.1 KiB
C++
// Automatically generated from JavaScriptCore/runtime/DateConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
|
|
|
|
#include "Lookup.h"
|
|
|
|
namespace JSC {
|
|
|
|
static const struct CompactHashIndex dateConstructorTableIndex[9] = {
|
|
{ -1, -1 },
|
|
{ 0, -1 },
|
|
{ -1, -1 },
|
|
{ -1, -1 },
|
|
{ -1, -1 },
|
|
{ 1, 8 },
|
|
{ -1, -1 },
|
|
{ -1, -1 },
|
|
{ 2, -1 },
|
|
};
|
|
|
|
static const struct HashTableValue dateConstructorTableValues[3] = {
|
|
{ "parse", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateParse), (intptr_t)(1) } },
|
|
{ "UTC", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateUTC), (intptr_t)(7) } },
|
|
{ "now", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateNow), (intptr_t)(0) } },
|
|
};
|
|
|
|
static const struct HashTable dateConstructorTable =
|
|
{ 3, 7, false, nullptr, dateConstructorTableValues, dateConstructorTableIndex };
|
|
|
|
} // namespace JSC
|