Generate Derived & Unified Sources

This commit is contained in:
Thomas A 2022-10-23 12:43:50 -07:00
parent b54911f8ed
commit 17231b7481
254 changed files with 465595 additions and 0 deletions

View File

@ -0,0 +1,257 @@
// Generated by opcode_generator.rb from JavaScriptCore/b3/air/AirOpcode.opcodes -- do not edit!
#ifndef AirOpcode_h
#define AirOpcode_h
namespace JSC { namespace B3 { namespace Air {
enum Opcode : int16_t {
Nop,
Add32,
Add8,
Add16,
Add64,
AddDouble,
AddFloat,
Sub32,
Sub64,
SubDouble,
SubFloat,
Neg32,
Neg64,
NegateDouble,
NegateFloat,
Mul32,
Mul64,
MultiplyAdd32,
MultiplyAdd64,
MultiplySub32,
MultiplySub64,
MultiplyNeg32,
MultiplyNeg64,
MultiplySignExtend32,
Div32,
UDiv32,
Div64,
UDiv64,
MulDouble,
MulFloat,
DivDouble,
DivFloat,
X86ConvertToDoubleWord32,
X86ConvertToQuadWord64,
X86Div32,
X86UDiv32,
X86Div64,
X86UDiv64,
Lea32,
Lea64,
And32,
And64,
AndDouble,
AndFloat,
OrDouble,
OrFloat,
XorDouble,
XorFloat,
Lshift32,
Lshift64,
Rshift32,
Rshift64,
Urshift32,
Urshift64,
RotateRight32,
RotateRight64,
RotateLeft32,
RotateLeft64,
Or32,
Or64,
Xor32,
Xor64,
Not32,
Not64,
AbsDouble,
AbsFloat,
CeilDouble,
CeilFloat,
FloorDouble,
FloorFloat,
SqrtDouble,
SqrtFloat,
ConvertInt32ToDouble,
ConvertInt64ToDouble,
ConvertInt32ToFloat,
ConvertInt64ToFloat,
CountLeadingZeros32,
CountLeadingZeros64,
ConvertDoubleToFloat,
ConvertFloatToDouble,
Move,
Swap32,
Swap64,
Move32,
StoreZero32,
StoreZero64,
SignExtend32ToPtr,
ZeroExtend8To32,
SignExtend8To32,
ZeroExtend16To32,
SignExtend16To32,
MoveFloat,
MoveDouble,
MoveZeroToDouble,
Move64ToDouble,
Move32ToFloat,
MoveDoubleTo64,
MoveFloatTo32,
Load8,
LoadAcq8,
Store8,
StoreRel8,
Load8SignedExtendTo32,
LoadAcq8SignedExtendTo32,
Load16,
LoadAcq16,
Load16SignedExtendTo32,
LoadAcq16SignedExtendTo32,
Store16,
StoreRel16,
LoadAcq32,
StoreRel32,
LoadAcq64,
StoreRel64,
Xchg8,
Xchg16,
Xchg32,
Xchg64,
AtomicStrongCAS8,
AtomicStrongCAS16,
AtomicStrongCAS32,
AtomicStrongCAS64,
BranchAtomicStrongCAS8,
BranchAtomicStrongCAS16,
BranchAtomicStrongCAS32,
BranchAtomicStrongCAS64,
AtomicAdd8,
AtomicAdd16,
AtomicAdd32,
AtomicAdd64,
AtomicSub8,
AtomicSub16,
AtomicSub32,
AtomicSub64,
AtomicAnd8,
AtomicAnd16,
AtomicAnd32,
AtomicAnd64,
AtomicOr8,
AtomicOr16,
AtomicOr32,
AtomicOr64,
AtomicXor8,
AtomicXor16,
AtomicXor32,
AtomicXor64,
AtomicNeg8,
AtomicNeg16,
AtomicNeg32,
AtomicNeg64,
AtomicNot8,
AtomicNot16,
AtomicNot32,
AtomicNot64,
AtomicXchgAdd8,
AtomicXchgAdd16,
AtomicXchgAdd32,
AtomicXchgAdd64,
AtomicXchg8,
AtomicXchg16,
AtomicXchg32,
AtomicXchg64,
LoadLink8,
LoadLinkAcq8,
StoreCond8,
StoreCondRel8,
LoadLink16,
LoadLinkAcq16,
StoreCond16,
StoreCondRel16,
LoadLink32,
LoadLinkAcq32,
StoreCond32,
StoreCondRel32,
LoadLink64,
LoadLinkAcq64,
StoreCond64,
StoreCondRel64,
Depend32,
Depend64,
AtomicXchgOr8,
AtomicXchgOr16,
AtomicXchgOr32,
AtomicXchgOr64,
AtomicXchgClear8,
AtomicXchgClear16,
AtomicXchgClear32,
AtomicXchgClear64,
AtomicXchgXor8,
AtomicXchgXor16,
AtomicXchgXor32,
AtomicXchgXor64,
Compare32,
Compare64,
Test32,
Test64,
CompareDouble,
CompareFloat,
Branch8,
Branch32,
Branch64,
BranchTest8,
BranchTest32,
BranchTest64,
BranchTestBit64,
BranchTestBit32,
BranchDouble,
BranchFloat,
BranchAdd32,
BranchAdd64,
BranchMul32,
BranchMul64,
BranchSub32,
BranchSub64,
BranchNeg32,
BranchNeg64,
MoveConditionally32,
MoveConditionally64,
MoveConditionallyTest32,
MoveConditionallyTest64,
MoveConditionallyDouble,
MoveConditionallyFloat,
MoveDoubleConditionally32,
MoveDoubleConditionally64,
MoveDoubleConditionallyTest32,
MoveDoubleConditionallyTest64,
MoveDoubleConditionallyDouble,
MoveDoubleConditionallyFloat,
MemoryFence,
StoreFence,
LoadFence,
Jump,
RetVoid,
Ret32,
Ret64,
RetFloat,
RetDouble,
Oops,
EntrySwitch,
Shuffle,
Patch,
CCall,
ColdCCall,
WasmBoundsCheck,
};
static const unsigned numOpcodes = 244;
} } } // namespace JSC::B3::Air
namespace WTF {
class PrintStream;
JS_EXPORT_PRIVATE void printInternal(PrintStream&, JSC::B3::Air::Opcode);
} // namespace WTF
#endif // AirOpcode_h

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,23 @@
// 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

View File

@ -0,0 +1,28 @@
// Automatically generated from JavaScriptCore/runtime/AsyncFromSyncIteratorPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex asyncFromSyncIteratorPrototypeTableIndex[8] = {
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ 1, -1 },
};
static const struct HashTableValue asyncFromSyncIteratorPrototypeTableValues[3] = {
{ "next", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(asyncFromSyncIteratorPrototypeNextCodeGenerator), (intptr_t)1 } },
{ "return", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(asyncFromSyncIteratorPrototypeReturnCodeGenerator), (intptr_t)1 } },
{ "throw", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(asyncFromSyncIteratorPrototypeThrowCodeGenerator), (intptr_t)1 } },
};
static const struct HashTable asyncFromSyncIteratorPrototypeTable =
{ 3, 7, false, nullptr, asyncFromSyncIteratorPrototypeTableValues, asyncFromSyncIteratorPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,28 @@
// Automatically generated from JavaScriptCore/runtime/AsyncGeneratorPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex asyncGeneratorPrototypeTableIndex[8] = {
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ 1, -1 },
};
static const struct HashTableValue asyncGeneratorPrototypeTableValues[3] = {
{ "next", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(asyncGeneratorPrototypeNextCodeGenerator), (intptr_t)1 } },
{ "return", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(asyncGeneratorPrototypeReturnCodeGenerator), (intptr_t)1 } },
{ "throw", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(asyncGeneratorPrototypeThrowCodeGenerator), (intptr_t)1 } },
};
static const struct HashTable asyncGeneratorPrototypeTable =
{ 3, 7, false, nullptr, asyncGeneratorPrototypeTableValues, asyncGeneratorPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,22 @@
// Automatically generated from JavaScriptCore/runtime/BigIntConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex bigIntConstructorTableIndex[4] = {
{ 1, -1 },
{ 0, -1 },
{ -1, -1 },
{ -1, -1 },
};
static const struct HashTableValue bigIntConstructorTableValues[2] = {
{ "asUintN", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(bigIntConstructorFuncAsUintN), (intptr_t)(2) } },
{ "asIntN", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(bigIntConstructorFuncAsIntN), (intptr_t)(2) } },
};
static const struct HashTable bigIntConstructorTable =
{ 2, 3, false, nullptr, bigIntConstructorTableValues, bigIntConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,27 @@
// Automatically generated from JavaScriptCore/runtime/BigIntPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex bigIntPrototypeTableIndex[8] = {
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
};
static const struct HashTableValue bigIntPrototypeTableValues[3] = {
{ "toString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(bigIntProtoFuncToString), (intptr_t)(0) } },
{ "toLocaleString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(bigIntProtoFuncToLocaleString), (intptr_t)(0) } },
{ "valueOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(bigIntProtoFuncValueOf), (intptr_t)(0) } },
};
static const struct HashTable bigIntPrototypeTable =
{ 3, 7, false, nullptr, bigIntPrototypeTableValues, bigIntPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,22 @@
// Automatically generated from JavaScriptCore/runtime/BooleanPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex booleanPrototypeTableIndex[4] = {
{ 0, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
};
static const struct HashTableValue booleanPrototypeTableValues[2] = {
{ "toString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(booleanProtoFuncToString), (intptr_t)(0) } },
{ "valueOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(booleanProtoFuncValueOf), (intptr_t)(0) } },
};
static const struct HashTable booleanPrototypeTable =
{ 2, 3, false, nullptr, booleanPrototypeTableValues, booleanPrototypeTableIndex };
} // namespace JSC

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,28 @@
// 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

View File

@ -0,0 +1,194 @@
// Automatically generated from JavaScriptCore/runtime/DatePrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex datePrototypeTableIndex[133] = {
{ 41, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ 29, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 6, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 129 },
{ 24, -1 },
{ 10, 132 },
{ -1, -1 },
{ 19, 130 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ 25, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 26, -1 },
{ -1, -1 },
{ 33, -1 },
{ -1, -1 },
{ 35, -1 },
{ 9, 128 },
{ 22, -1 },
{ -1, -1 },
{ 16, -1 },
{ -1, -1 },
{ 11, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 23, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ 17, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 14, -1 },
{ -1, -1 },
{ -1, -1 },
{ 15, -1 },
{ 38, -1 },
{ -1, -1 },
{ -1, -1 },
{ 18, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ 28, -1 },
{ -1, -1 },
{ 32, -1 },
{ -1, -1 },
{ -1, -1 },
{ 8, -1 },
{ 42, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 36, -1 },
{ 27, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 20, -1 },
{ 13, 131 },
{ 7, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 43, -1 },
{ -1, -1 },
{ -1, -1 },
{ 39, -1 },
{ -1, -1 },
{ 40, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 21, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 12, -1 },
{ 30, -1 },
{ 31, -1 },
{ 34, -1 },
{ 37, -1 },
};
static const struct HashTableValue datePrototypeTableValues[44] = {
{ "toString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncToString), (intptr_t)(0) } },
{ "toISOString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncToISOString), (intptr_t)(0) } },
{ "toDateString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncToDateString), (intptr_t)(0) } },
{ "toTimeString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncToTimeString), (intptr_t)(0) } },
{ "toLocaleString", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(datePrototypeToLocaleStringCodeGenerator), (intptr_t)0 } },
{ "toLocaleDateString", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(datePrototypeToLocaleDateStringCodeGenerator), (intptr_t)0 } },
{ "toLocaleTimeString", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(datePrototypeToLocaleTimeStringCodeGenerator), (intptr_t)0 } },
{ "valueOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetTimeIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetTime), (intptr_t)(0) } },
{ "getTime", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetTimeIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetTime), (intptr_t)(0) } },
{ "getFullYear", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetFullYearIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetFullYear), (intptr_t)(0) } },
{ "getUTCFullYear", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetUTCFullYearIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCFullYear), (intptr_t)(0) } },
{ "getMonth", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetMonthIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetMonth), (intptr_t)(0) } },
{ "getUTCMonth", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetUTCMonthIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCMonth), (intptr_t)(0) } },
{ "getDate", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetDateIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetDate), (intptr_t)(0) } },
{ "getUTCDate", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetUTCDateIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCDate), (intptr_t)(0) } },
{ "getDay", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetDayIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetDay), (intptr_t)(0) } },
{ "getUTCDay", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetUTCDayIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCDay), (intptr_t)(0) } },
{ "getHours", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetHoursIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetHours), (intptr_t)(0) } },
{ "getUTCHours", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetUTCHoursIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCHours), (intptr_t)(0) } },
{ "getMinutes", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetMinutesIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetMinutes), (intptr_t)(0) } },
{ "getUTCMinutes", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetUTCMinutesIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCMinutes), (intptr_t)(0) } },
{ "getSeconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetSecondsIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetSeconds), (intptr_t)(0) } },
{ "getUTCSeconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetUTCSecondsIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCSeconds), (intptr_t)(0) } },
{ "getMilliseconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetMillisecondsIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetMilliSeconds), (intptr_t)(0) } },
{ "getUTCMilliseconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetUTCMillisecondsIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCMilliseconds), (intptr_t)(0) } },
{ "getTimezoneOffset", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetTimezoneOffsetIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetTimezoneOffset), (intptr_t)(0) } },
{ "getYear", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DatePrototypeGetYearIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetYear), (intptr_t)(0) } },
{ "setTime", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetTime), (intptr_t)(1) } },
{ "setMilliseconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetMilliSeconds), (intptr_t)(1) } },
{ "setUTCMilliseconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetUTCMilliseconds), (intptr_t)(1) } },
{ "setSeconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetSeconds), (intptr_t)(2) } },
{ "setUTCSeconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetUTCSeconds), (intptr_t)(2) } },
{ "setMinutes", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetMinutes), (intptr_t)(3) } },
{ "setUTCMinutes", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetUTCMinutes), (intptr_t)(3) } },
{ "setHours", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetHours), (intptr_t)(4) } },
{ "setUTCHours", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetUTCHours), (intptr_t)(4) } },
{ "setDate", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetDate), (intptr_t)(1) } },
{ "setUTCDate", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetUTCDate), (intptr_t)(1) } },
{ "setMonth", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetMonth), (intptr_t)(2) } },
{ "setUTCMonth", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetUTCMonth), (intptr_t)(2) } },
{ "setFullYear", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetFullYear), (intptr_t)(3) } },
{ "setUTCFullYear", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetUTCFullYear), (intptr_t)(3) } },
{ "setYear", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncSetYear), (intptr_t)(1) } },
{ "toJSON", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncToJSON), (intptr_t)(1) } },
};
static const struct HashTable datePrototypeTable =
{ 44, 127, false, nullptr, datePrototypeTableValues, datePrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1 @@
JavaScriptCore/inspector/protocol/Animation.json JavaScriptCore/inspector/protocol/ApplicationCache.json JavaScriptCore/inspector/protocol/Audit.json JavaScriptCore/inspector/protocol/Browser.json JavaScriptCore/inspector/protocol/CPUProfiler.json JavaScriptCore/inspector/protocol/CSS.json JavaScriptCore/inspector/protocol/Canvas.json JavaScriptCore/inspector/protocol/Console.json JavaScriptCore/inspector/protocol/DOM.json JavaScriptCore/inspector/protocol/DOMDebugger.json JavaScriptCore/inspector/protocol/DOMStorage.json JavaScriptCore/inspector/protocol/Database.json JavaScriptCore/inspector/protocol/Debugger.json JavaScriptCore/inspector/protocol/GenericTypes.json JavaScriptCore/inspector/protocol/Heap.json JavaScriptCore/inspector/protocol/IndexedDB.json JavaScriptCore/inspector/protocol/Inspector.json JavaScriptCore/inspector/protocol/LayerTree.json JavaScriptCore/inspector/protocol/Memory.json JavaScriptCore/inspector/protocol/Network.json JavaScriptCore/inspector/protocol/Page.json JavaScriptCore/inspector/protocol/Recording.json JavaScriptCore/inspector/protocol/Runtime.json JavaScriptCore/inspector/protocol/ScriptProfiler.json JavaScriptCore/inspector/protocol/Security.json JavaScriptCore/inspector/protocol/ServiceWorker.json JavaScriptCore/inspector/protocol/Target.json JavaScriptCore/inspector/protocol/Timeline.json JavaScriptCore/inspector/protocol/Worker.json

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/ErrorPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex errorPrototypeTableIndex[2] = {
{ 0, -1 },
{ -1, -1 },
};
static const struct HashTableValue errorPrototypeTableValues[1] = {
{ "toString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(errorProtoFuncToString), (intptr_t)(0) } },
};
static const struct HashTable errorPrototypeTable =
{ 1, 1, false, nullptr, errorPrototypeTableValues, errorPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,28 @@
// Automatically generated from JavaScriptCore/runtime/GeneratorPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex generatorPrototypeTableIndex[8] = {
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ 1, -1 },
};
static const struct HashTableValue generatorPrototypeTableValues[3] = {
{ "next", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(generatorPrototypeNextCodeGenerator), (intptr_t)1 } },
{ "return", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(generatorPrototypeReturnCodeGenerator), (intptr_t)1 } },
{ "throw", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(generatorPrototypeThrowCodeGenerator), (intptr_t)1 } },
};
static const struct HashTable generatorPrototypeTable =
{ 3, 7, false, nullptr, generatorPrototypeTableValues, generatorPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,791 @@
# Copyright (C) 2023 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Autogenerated, do not modify.
setEntryAddress(0, _llint_op_iterator_open)
setEntryAddress(1, _llint_op_tail_call_varargs)
setEntryAddress(2, _llint_op_construct_varargs)
setEntryAddress(3, _llint_op_call_varargs)
setEntryAddress(4, _llint_op_iterator_next)
setEntryAddress(5, _llint_op_get_by_val)
setEntryAddress(6, _llint_op_get_private_name)
setEntryAddress(7, _llint_op_get_by_id_direct)
setEntryAddress(8, _llint_op_put_private_name)
setEntryAddress(9, _llint_op_add)
setEntryAddress(10, _llint_op_get_argument)
setEntryAddress(11, _llint_op_try_get_by_id)
setEntryAddress(12, _llint_op_call)
setEntryAddress(13, _llint_op_tail_call)
setEntryAddress(14, _llint_op_call_eval)
setEntryAddress(15, _llint_op_tail_call_forward_arguments)
setEntryAddress(16, _llint_op_construct)
setEntryAddress(17, _llint_op_new_array_with_size)
setEntryAddress(18, _llint_op_new_object)
setEntryAddress(19, _llint_op_get_by_id_with_this)
setEntryAddress(20, _llint_op_mul)
setEntryAddress(21, _llint_op_div)
setEntryAddress(22, _llint_op_put_by_val_direct)
setEntryAddress(23, _llint_op_get_prototype_of)
setEntryAddress(24, _llint_op_create_this)
setEntryAddress(25, _llint_op_create_generator)
setEntryAddress(26, _llint_op_jneq_ptr)
setEntryAddress(27, _llint_op_profile_type)
setEntryAddress(28, _llint_op_profile_control_flow)
setEntryAddress(29, _llint_op_bitor)
setEntryAddress(30, _llint_op_has_enumerable_indexed_property)
setEntryAddress(31, _llint_op_bitxor)
setEntryAddress(32, _llint_op_lshift)
setEntryAddress(33, _llint_op_rshift)
setEntryAddress(34, _llint_op_bitnot)
setEntryAddress(35, _llint_op_get_direct_pname)
setEntryAddress(36, _llint_op_new_array)
setEntryAddress(37, _llint_op_put_by_id)
setEntryAddress(38, _llint_op_in_by_val)
setEntryAddress(39, _llint_op_new_array_buffer)
setEntryAddress(40, _llint_op_get_by_id)
setEntryAddress(41, _llint_op_get_internal_field)
setEntryAddress(42, _llint_op_to_this)
setEntryAddress(43, _llint_op_put_by_val)
setEntryAddress(44, _llint_op_create_promise)
setEntryAddress(45, _llint_op_create_async_generator)
setEntryAddress(46, _llint_op_get_by_val_with_this)
setEntryAddress(47, _llint_op_resolve_scope)
setEntryAddress(48, _llint_op_get_from_scope)
setEntryAddress(49, _llint_op_put_to_scope)
setEntryAddress(50, _llint_op_get_from_arguments)
setEntryAddress(51, _llint_op_sub)
setEntryAddress(52, _llint_op_bitand)
setEntryAddress(53, _llint_op_inc)
setEntryAddress(54, _llint_op_dec)
setEntryAddress(55, _llint_op_to_object)
setEntryAddress(56, _llint_op_catch)
setEntryAddress(57, _llint_op_to_number)
setEntryAddress(58, _llint_op_to_numeric)
setEntryAddress(59, _llint_op_negate)
setEntryAddress(60, _llint_op_put_setter_by_val)
setEntryAddress(61, _llint_op_define_data_property)
setEntryAddress(62, _llint_op_define_accessor_property)
setEntryAddress(63, _llint_op_jmp)
setEntryAddress(64, _llint_op_jtrue)
setEntryAddress(65, _llint_op_jfalse)
setEntryAddress(66, _llint_op_jeq_null)
setEntryAddress(67, _llint_op_jneq_null)
setEntryAddress(68, _llint_op_jundefined_or_null)
setEntryAddress(69, _llint_op_jnundefined_or_null)
setEntryAddress(70, _llint_op_jeq)
setEntryAddress(71, _llint_op_jstricteq)
setEntryAddress(72, _llint_op_jneq)
setEntryAddress(73, _llint_op_jnstricteq)
setEntryAddress(74, _llint_op_jless)
setEntryAddress(75, _llint_op_jlesseq)
setEntryAddress(76, _llint_op_jgreater)
setEntryAddress(77, _llint_op_jgreatereq)
setEntryAddress(78, _llint_op_jnless)
setEntryAddress(79, _llint_op_jnlesseq)
setEntryAddress(80, _llint_op_jngreater)
setEntryAddress(81, _llint_op_jngreatereq)
setEntryAddress(82, _llint_op_jbelow)
setEntryAddress(83, _llint_op_jbeloweq)
setEntryAddress(84, _llint_op_loop_hint)
setEntryAddress(85, _llint_op_switch_imm)
setEntryAddress(86, _llint_op_switch_char)
setEntryAddress(87, _llint_op_switch_string)
setEntryAddress(88, _llint_op_new_func)
setEntryAddress(89, _llint_op_new_func_exp)
setEntryAddress(90, _llint_op_new_generator_func)
setEntryAddress(91, _llint_op_new_generator_func_exp)
setEntryAddress(92, _llint_op_new_async_func)
setEntryAddress(93, _llint_op_new_async_func_exp)
setEntryAddress(94, _llint_op_new_async_generator_func)
setEntryAddress(95, _llint_op_new_async_generator_func_exp)
setEntryAddress(96, _llint_op_set_function_name)
setEntryAddress(97, _llint_op_ret)
setEntryAddress(98, _llint_op_strcat)
setEntryAddress(99, _llint_op_to_primitive)
setEntryAddress(100, _llint_op_to_property_key)
setEntryAddress(101, _llint_op_put_to_arguments)
setEntryAddress(102, _llint_op_push_with_scope)
setEntryAddress(103, _llint_op_create_lexical_environment)
setEntryAddress(104, _llint_op_create_generator_frame_environment)
setEntryAddress(105, _llint_op_get_parent_scope)
setEntryAddress(106, _llint_op_throw)
setEntryAddress(107, _llint_op_throw_static_error)
setEntryAddress(108, _llint_op_debug)
setEntryAddress(109, _llint_op_end)
setEntryAddress(110, _llint_op_get_enumerable_length)
setEntryAddress(111, _llint_op_has_enumerable_structure_property)
setEntryAddress(112, _llint_op_has_own_structure_property)
setEntryAddress(113, _llint_op_in_structure_property)
setEntryAddress(114, _llint_op_has_enumerable_property)
setEntryAddress(115, _llint_op_get_property_enumerator)
setEntryAddress(116, _llint_op_enumerator_structure_pname)
setEntryAddress(117, _llint_op_enumerator_generic_pname)
setEntryAddress(118, _llint_op_to_index_string)
setEntryAddress(119, _llint_op_unreachable)
setEntryAddress(120, _llint_op_create_rest)
setEntryAddress(121, _llint_op_get_rest_length)
setEntryAddress(122, _llint_op_yield)
setEntryAddress(123, _llint_op_check_traps)
setEntryAddress(124, _llint_op_log_shadow_chicken_prologue)
setEntryAddress(125, _llint_op_log_shadow_chicken_tail)
setEntryAddress(126, _llint_op_resolve_scope_for_hoisting_func_decl_in_eval)
setEntryAddress(127, _llint_op_put_internal_field)
setEntryAddress(128, _llint_op_nop)
setEntryAddress(129, _llint_op_super_sampler_begin)
setEntryAddress(130, _llint_op_wide16)
setEntryAddress(131, _llint_op_super_sampler_end)
setEntryAddress(132, _llint_op_wide32)
setEntryAddress(133, _llint_op_enter)
setEntryAddress(134, _llint_op_get_scope)
setEntryAddress(135, _llint_op_create_direct_arguments)
setEntryAddress(136, _llint_op_create_scoped_arguments)
setEntryAddress(137, _llint_op_create_cloned_arguments)
setEntryAddress(138, _llint_op_create_arguments_butterfly)
setEntryAddress(139, _llint_op_new_promise)
setEntryAddress(140, _llint_op_new_generator)
setEntryAddress(141, _llint_op_argument_count)
setEntryAddress(142, _llint_op_check_tdz)
setEntryAddress(143, _llint_op_new_array_with_spread)
setEntryAddress(144, _llint_op_spread)
setEntryAddress(145, _llint_op_new_regexp)
setEntryAddress(146, _llint_op_mov)
setEntryAddress(147, _llint_op_eq)
setEntryAddress(148, _llint_op_neq)
setEntryAddress(149, _llint_op_stricteq)
setEntryAddress(150, _llint_op_nstricteq)
setEntryAddress(151, _llint_op_less)
setEntryAddress(152, _llint_op_lesseq)
setEntryAddress(153, _llint_op_greater)
setEntryAddress(154, _llint_op_greatereq)
setEntryAddress(155, _llint_op_below)
setEntryAddress(156, _llint_op_beloweq)
setEntryAddress(157, _llint_op_mod)
setEntryAddress(158, _llint_op_pow)
setEntryAddress(159, _llint_op_urshift)
setEntryAddress(160, _llint_op_eq_null)
setEntryAddress(161, _llint_op_neq_null)
setEntryAddress(162, _llint_op_to_string)
setEntryAddress(163, _llint_op_unsigned)
setEntryAddress(164, _llint_op_is_empty)
setEntryAddress(165, _llint_op_typeof_is_undefined)
setEntryAddress(166, _llint_op_typeof_is_object)
setEntryAddress(167, _llint_op_typeof_is_function)
setEntryAddress(168, _llint_op_is_undefined_or_null)
setEntryAddress(169, _llint_op_is_boolean)
setEntryAddress(170, _llint_op_is_number)
setEntryAddress(171, _llint_op_is_big_int)
setEntryAddress(172, _llint_op_is_object)
setEntryAddress(173, _llint_op_is_callable)
setEntryAddress(174, _llint_op_is_constructor)
setEntryAddress(175, _llint_op_not)
setEntryAddress(176, _llint_op_identity_with_profile)
setEntryAddress(177, _llint_op_overrides_has_instance)
setEntryAddress(178, _llint_op_instanceof)
setEntryAddress(179, _llint_op_instanceof_custom)
setEntryAddress(180, _llint_op_typeof)
setEntryAddress(181, _llint_op_is_cell_with_type)
setEntryAddress(182, _llint_op_in_by_id)
setEntryAddress(183, _llint_op_put_by_id_with_this)
setEntryAddress(184, _llint_op_del_by_id)
setEntryAddress(185, _llint_op_put_by_val_with_this)
setEntryAddress(186, _llint_op_del_by_val)
setEntryAddress(187, _llint_op_put_getter_by_id)
setEntryAddress(188, _llint_op_put_setter_by_id)
setEntryAddress(189, _llint_op_put_getter_setter_by_id)
setEntryAddress(190, _llint_op_put_getter_by_val)
setEntryAddress(191, _wasm_trampoline_wasm_call_indirect_no_tls)
setEntryAddress(192, _llint_eval_prologue)
setEntryAddress(193, _llint_module_program_prologue)
setEntryAddress(194, _llint_function_for_call_prologue)
setEntryAddress(195, _llint_function_for_construct_prologue)
setEntryAddress(196, _llint_function_for_call_arity_check)
setEntryAddress(197, _llint_function_for_construct_arity_check)
setEntryAddress(198, _llint_generic_return_point)
setEntryAddress(199, _llint_throw_from_slow_path_trampoline)
setEntryAddress(200, _llint_throw_during_call_trampoline)
setEntryAddress(201, _llint_native_call_trampoline)
setEntryAddress(202, _llint_native_construct_trampoline)
setEntryAddress(203, _llint_internal_function_call_trampoline)
setEntryAddress(204, _llint_internal_function_construct_trampoline)
setEntryAddress(205, _checkpoint_osr_exit_from_inlined_call_trampoline)
setEntryAddress(206, _checkpoint_osr_exit_trampoline)
setEntryAddress(207, _normal_osr_exit_trampoline)
setEntryAddress(208, _fuzzer_return_early_from_loop_hint)
setEntryAddress(209, _llint_get_host_call_return_value)
setEntryAddress(210, _llint_handle_uncaught_exception)
setEntryAddress(211, _op_call_return_location)
setEntryAddress(212, _op_construct_return_location)
setEntryAddress(213, _op_call_varargs_slow_return_location)
setEntryAddress(214, _op_construct_varargs_slow_return_location)
setEntryAddress(215, _op_get_by_id_return_location)
setEntryAddress(216, _op_get_by_val_return_location)
setEntryAddress(217, _op_put_by_id_return_location)
setEntryAddress(218, _op_put_by_val_return_location)
setEntryAddress(219, _op_iterator_open_return_location)
setEntryAddress(220, _op_iterator_next_return_location)
setEntryAddress(221, _wasm_function_prologue)
setEntryAddress(222, _wasm_function_prologue_no_tls)
setEntryAddress(223, _op_call_slow_return_location)
setEntryAddress(224, _op_construct_slow_return_location)
setEntryAddress(225, _op_iterator_open_slow_return_location)
setEntryAddress(226, _op_iterator_next_slow_return_location)
setEntryAddress(227, _op_tail_call_return_location)
setEntryAddress(228, _op_tail_call_slow_return_location)
setEntryAddress(229, _op_tail_call_forward_arguments_slow_return_location)
setEntryAddress(230, _op_tail_call_varargs_slow_return_location)
setEntryAddress(231, _op_call_eval_slow_return_location)
setEntryAddress(232, _js_trampoline_op_call)
setEntryAddress(233, _js_trampoline_op_tail_call)
setEntryAddress(234, _js_trampoline_op_construct)
setEntryAddress(235, _js_trampoline_op_iterator_next)
setEntryAddress(236, _js_trampoline_op_iterator_open)
setEntryAddress(237, _js_trampoline_op_call_slow)
setEntryAddress(238, _js_trampoline_op_tail_call_slow)
setEntryAddress(239, _js_trampoline_op_construct_slow)
setEntryAddress(240, _js_trampoline_op_call_varargs_slow)
setEntryAddress(241, _js_trampoline_op_tail_call_varargs_slow)
setEntryAddress(242, _js_trampoline_op_tail_call_forward_arguments_slow)
setEntryAddress(243, _js_trampoline_op_construct_varargs_slow)
setEntryAddress(244, _js_trampoline_op_call_eval_slow)
setEntryAddress(245, _js_trampoline_op_iterator_next_slow)
setEntryAddress(246, _js_trampoline_op_iterator_open_slow)
setEntryAddress(247, _js_trampoline_llint_function_for_call_arity_check_untag)
setEntryAddress(248, _js_trampoline_llint_function_for_call_arity_check_tag)
setEntryAddress(249, _js_trampoline_llint_function_for_construct_arity_check_untag)
setEntryAddress(250, _js_trampoline_llint_function_for_construct_arity_check_tag)
setEntryAddress(251, _wasm_trampoline_wasm_call)
setEntryAddress(252, _wasm_trampoline_wasm_call_no_tls)
setEntryAddress(253, _wasm_trampoline_wasm_call_indirect)
setEntryAddress(254, _llint_program_prologue)
setEntryAddressWide16(0, _llint_op_iterator_open_wide16)
setEntryAddressWide16(1, _llint_op_tail_call_varargs_wide16)
setEntryAddressWide16(2, _llint_op_construct_varargs_wide16)
setEntryAddressWide16(3, _llint_op_call_varargs_wide16)
setEntryAddressWide16(4, _llint_op_iterator_next_wide16)
setEntryAddressWide16(5, _llint_op_get_by_val_wide16)
setEntryAddressWide16(6, _llint_op_get_private_name_wide16)
setEntryAddressWide16(7, _llint_op_get_by_id_direct_wide16)
setEntryAddressWide16(8, _llint_op_put_private_name_wide16)
setEntryAddressWide16(9, _llint_op_add_wide16)
setEntryAddressWide16(10, _llint_op_get_argument_wide16)
setEntryAddressWide16(11, _llint_op_try_get_by_id_wide16)
setEntryAddressWide16(12, _llint_op_call_wide16)
setEntryAddressWide16(13, _llint_op_tail_call_wide16)
setEntryAddressWide16(14, _llint_op_call_eval_wide16)
setEntryAddressWide16(15, _llint_op_tail_call_forward_arguments_wide16)
setEntryAddressWide16(16, _llint_op_construct_wide16)
setEntryAddressWide16(17, _llint_op_new_array_with_size_wide16)
setEntryAddressWide16(18, _llint_op_new_object_wide16)
setEntryAddressWide16(19, _llint_op_get_by_id_with_this_wide16)
setEntryAddressWide16(20, _llint_op_mul_wide16)
setEntryAddressWide16(21, _llint_op_div_wide16)
setEntryAddressWide16(22, _llint_op_put_by_val_direct_wide16)
setEntryAddressWide16(23, _llint_op_get_prototype_of_wide16)
setEntryAddressWide16(24, _llint_op_create_this_wide16)
setEntryAddressWide16(25, _llint_op_create_generator_wide16)
setEntryAddressWide16(26, _llint_op_jneq_ptr_wide16)
setEntryAddressWide16(27, _llint_op_profile_type_wide16)
setEntryAddressWide16(28, _llint_op_profile_control_flow_wide16)
setEntryAddressWide16(29, _llint_op_bitor_wide16)
setEntryAddressWide16(30, _llint_op_has_enumerable_indexed_property_wide16)
setEntryAddressWide16(31, _llint_op_bitxor_wide16)
setEntryAddressWide16(32, _llint_op_lshift_wide16)
setEntryAddressWide16(33, _llint_op_rshift_wide16)
setEntryAddressWide16(34, _llint_op_bitnot_wide16)
setEntryAddressWide16(35, _llint_op_get_direct_pname_wide16)
setEntryAddressWide16(36, _llint_op_new_array_wide16)
setEntryAddressWide16(37, _llint_op_put_by_id_wide16)
setEntryAddressWide16(38, _llint_op_in_by_val_wide16)
setEntryAddressWide16(39, _llint_op_new_array_buffer_wide16)
setEntryAddressWide16(40, _llint_op_get_by_id_wide16)
setEntryAddressWide16(41, _llint_op_get_internal_field_wide16)
setEntryAddressWide16(42, _llint_op_to_this_wide16)
setEntryAddressWide16(43, _llint_op_put_by_val_wide16)
setEntryAddressWide16(44, _llint_op_create_promise_wide16)
setEntryAddressWide16(45, _llint_op_create_async_generator_wide16)
setEntryAddressWide16(46, _llint_op_get_by_val_with_this_wide16)
setEntryAddressWide16(47, _llint_op_resolve_scope_wide16)
setEntryAddressWide16(48, _llint_op_get_from_scope_wide16)
setEntryAddressWide16(49, _llint_op_put_to_scope_wide16)
setEntryAddressWide16(50, _llint_op_get_from_arguments_wide16)
setEntryAddressWide16(51, _llint_op_sub_wide16)
setEntryAddressWide16(52, _llint_op_bitand_wide16)
setEntryAddressWide16(53, _llint_op_inc_wide16)
setEntryAddressWide16(54, _llint_op_dec_wide16)
setEntryAddressWide16(55, _llint_op_to_object_wide16)
setEntryAddressWide16(56, _llint_op_catch_wide16)
setEntryAddressWide16(57, _llint_op_to_number_wide16)
setEntryAddressWide16(58, _llint_op_to_numeric_wide16)
setEntryAddressWide16(59, _llint_op_negate_wide16)
setEntryAddressWide16(60, _llint_op_put_setter_by_val_wide16)
setEntryAddressWide16(61, _llint_op_define_data_property_wide16)
setEntryAddressWide16(62, _llint_op_define_accessor_property_wide16)
setEntryAddressWide16(63, _llint_op_jmp_wide16)
setEntryAddressWide16(64, _llint_op_jtrue_wide16)
setEntryAddressWide16(65, _llint_op_jfalse_wide16)
setEntryAddressWide16(66, _llint_op_jeq_null_wide16)
setEntryAddressWide16(67, _llint_op_jneq_null_wide16)
setEntryAddressWide16(68, _llint_op_jundefined_or_null_wide16)
setEntryAddressWide16(69, _llint_op_jnundefined_or_null_wide16)
setEntryAddressWide16(70, _llint_op_jeq_wide16)
setEntryAddressWide16(71, _llint_op_jstricteq_wide16)
setEntryAddressWide16(72, _llint_op_jneq_wide16)
setEntryAddressWide16(73, _llint_op_jnstricteq_wide16)
setEntryAddressWide16(74, _llint_op_jless_wide16)
setEntryAddressWide16(75, _llint_op_jlesseq_wide16)
setEntryAddressWide16(76, _llint_op_jgreater_wide16)
setEntryAddressWide16(77, _llint_op_jgreatereq_wide16)
setEntryAddressWide16(78, _llint_op_jnless_wide16)
setEntryAddressWide16(79, _llint_op_jnlesseq_wide16)
setEntryAddressWide16(80, _llint_op_jngreater_wide16)
setEntryAddressWide16(81, _llint_op_jngreatereq_wide16)
setEntryAddressWide16(82, _llint_op_jbelow_wide16)
setEntryAddressWide16(83, _llint_op_jbeloweq_wide16)
setEntryAddressWide16(84, _llint_op_loop_hint_wide16)
setEntryAddressWide16(85, _llint_op_switch_imm_wide16)
setEntryAddressWide16(86, _llint_op_switch_char_wide16)
setEntryAddressWide16(87, _llint_op_switch_string_wide16)
setEntryAddressWide16(88, _llint_op_new_func_wide16)
setEntryAddressWide16(89, _llint_op_new_func_exp_wide16)
setEntryAddressWide16(90, _llint_op_new_generator_func_wide16)
setEntryAddressWide16(91, _llint_op_new_generator_func_exp_wide16)
setEntryAddressWide16(92, _llint_op_new_async_func_wide16)
setEntryAddressWide16(93, _llint_op_new_async_func_exp_wide16)
setEntryAddressWide16(94, _llint_op_new_async_generator_func_wide16)
setEntryAddressWide16(95, _llint_op_new_async_generator_func_exp_wide16)
setEntryAddressWide16(96, _llint_op_set_function_name_wide16)
setEntryAddressWide16(97, _llint_op_ret_wide16)
setEntryAddressWide16(98, _llint_op_strcat_wide16)
setEntryAddressWide16(99, _llint_op_to_primitive_wide16)
setEntryAddressWide16(100, _llint_op_to_property_key_wide16)
setEntryAddressWide16(101, _llint_op_put_to_arguments_wide16)
setEntryAddressWide16(102, _llint_op_push_with_scope_wide16)
setEntryAddressWide16(103, _llint_op_create_lexical_environment_wide16)
setEntryAddressWide16(104, _llint_op_create_generator_frame_environment_wide16)
setEntryAddressWide16(105, _llint_op_get_parent_scope_wide16)
setEntryAddressWide16(106, _llint_op_throw_wide16)
setEntryAddressWide16(107, _llint_op_throw_static_error_wide16)
setEntryAddressWide16(108, _llint_op_debug_wide16)
setEntryAddressWide16(109, _llint_op_end_wide16)
setEntryAddressWide16(110, _llint_op_get_enumerable_length_wide16)
setEntryAddressWide16(111, _llint_op_has_enumerable_structure_property_wide16)
setEntryAddressWide16(112, _llint_op_has_own_structure_property_wide16)
setEntryAddressWide16(113, _llint_op_in_structure_property_wide16)
setEntryAddressWide16(114, _llint_op_has_enumerable_property_wide16)
setEntryAddressWide16(115, _llint_op_get_property_enumerator_wide16)
setEntryAddressWide16(116, _llint_op_enumerator_structure_pname_wide16)
setEntryAddressWide16(117, _llint_op_enumerator_generic_pname_wide16)
setEntryAddressWide16(118, _llint_op_to_index_string_wide16)
setEntryAddressWide16(119, _llint_op_unreachable_wide16)
setEntryAddressWide16(120, _llint_op_create_rest_wide16)
setEntryAddressWide16(121, _llint_op_get_rest_length_wide16)
setEntryAddressWide16(122, _llint_op_yield_wide16)
setEntryAddressWide16(123, _llint_op_check_traps_wide16)
setEntryAddressWide16(124, _llint_op_log_shadow_chicken_prologue_wide16)
setEntryAddressWide16(125, _llint_op_log_shadow_chicken_tail_wide16)
setEntryAddressWide16(126, _llint_op_resolve_scope_for_hoisting_func_decl_in_eval_wide16)
setEntryAddressWide16(127, _llint_op_put_internal_field_wide16)
setEntryAddressWide16(128, _llint_op_nop_wide16)
setEntryAddressWide16(129, _llint_op_super_sampler_begin_wide16)
setEntryAddressWide16(130, _llint_op_wide16_wide16)
setEntryAddressWide16(131, _llint_op_super_sampler_end_wide16)
setEntryAddressWide16(132, _llint_op_wide32_wide16)
setEntryAddressWide16(133, _llint_op_enter_wide16)
setEntryAddressWide16(134, _llint_op_get_scope_wide16)
setEntryAddressWide16(135, _llint_op_create_direct_arguments_wide16)
setEntryAddressWide16(136, _llint_op_create_scoped_arguments_wide16)
setEntryAddressWide16(137, _llint_op_create_cloned_arguments_wide16)
setEntryAddressWide16(138, _llint_op_create_arguments_butterfly_wide16)
setEntryAddressWide16(139, _llint_op_new_promise_wide16)
setEntryAddressWide16(140, _llint_op_new_generator_wide16)
setEntryAddressWide16(141, _llint_op_argument_count_wide16)
setEntryAddressWide16(142, _llint_op_check_tdz_wide16)
setEntryAddressWide16(143, _llint_op_new_array_with_spread_wide16)
setEntryAddressWide16(144, _llint_op_spread_wide16)
setEntryAddressWide16(145, _llint_op_new_regexp_wide16)
setEntryAddressWide16(146, _llint_op_mov_wide16)
setEntryAddressWide16(147, _llint_op_eq_wide16)
setEntryAddressWide16(148, _llint_op_neq_wide16)
setEntryAddressWide16(149, _llint_op_stricteq_wide16)
setEntryAddressWide16(150, _llint_op_nstricteq_wide16)
setEntryAddressWide16(151, _llint_op_less_wide16)
setEntryAddressWide16(152, _llint_op_lesseq_wide16)
setEntryAddressWide16(153, _llint_op_greater_wide16)
setEntryAddressWide16(154, _llint_op_greatereq_wide16)
setEntryAddressWide16(155, _llint_op_below_wide16)
setEntryAddressWide16(156, _llint_op_beloweq_wide16)
setEntryAddressWide16(157, _llint_op_mod_wide16)
setEntryAddressWide16(158, _llint_op_pow_wide16)
setEntryAddressWide16(159, _llint_op_urshift_wide16)
setEntryAddressWide16(160, _llint_op_eq_null_wide16)
setEntryAddressWide16(161, _llint_op_neq_null_wide16)
setEntryAddressWide16(162, _llint_op_to_string_wide16)
setEntryAddressWide16(163, _llint_op_unsigned_wide16)
setEntryAddressWide16(164, _llint_op_is_empty_wide16)
setEntryAddressWide16(165, _llint_op_typeof_is_undefined_wide16)
setEntryAddressWide16(166, _llint_op_typeof_is_object_wide16)
setEntryAddressWide16(167, _llint_op_typeof_is_function_wide16)
setEntryAddressWide16(168, _llint_op_is_undefined_or_null_wide16)
setEntryAddressWide16(169, _llint_op_is_boolean_wide16)
setEntryAddressWide16(170, _llint_op_is_number_wide16)
setEntryAddressWide16(171, _llint_op_is_big_int_wide16)
setEntryAddressWide16(172, _llint_op_is_object_wide16)
setEntryAddressWide16(173, _llint_op_is_callable_wide16)
setEntryAddressWide16(174, _llint_op_is_constructor_wide16)
setEntryAddressWide16(175, _llint_op_not_wide16)
setEntryAddressWide16(176, _llint_op_identity_with_profile_wide16)
setEntryAddressWide16(177, _llint_op_overrides_has_instance_wide16)
setEntryAddressWide16(178, _llint_op_instanceof_wide16)
setEntryAddressWide16(179, _llint_op_instanceof_custom_wide16)
setEntryAddressWide16(180, _llint_op_typeof_wide16)
setEntryAddressWide16(181, _llint_op_is_cell_with_type_wide16)
setEntryAddressWide16(182, _llint_op_in_by_id_wide16)
setEntryAddressWide16(183, _llint_op_put_by_id_with_this_wide16)
setEntryAddressWide16(184, _llint_op_del_by_id_wide16)
setEntryAddressWide16(185, _llint_op_put_by_val_with_this_wide16)
setEntryAddressWide16(186, _llint_op_del_by_val_wide16)
setEntryAddressWide16(187, _llint_op_put_getter_by_id_wide16)
setEntryAddressWide16(188, _llint_op_put_setter_by_id_wide16)
setEntryAddressWide16(189, _llint_op_put_getter_setter_by_id_wide16)
setEntryAddressWide16(190, _llint_op_put_getter_by_val_wide16)
setEntryAddressWide16(191, _wasm_trampoline_wasm_call_indirect_no_tls_wide16)
setEntryAddressWide16(192, _llint_eval_prologue_wide16)
setEntryAddressWide16(193, _llint_module_program_prologue_wide16)
setEntryAddressWide16(194, _llint_function_for_call_prologue_wide16)
setEntryAddressWide16(195, _llint_function_for_construct_prologue_wide16)
setEntryAddressWide16(196, _llint_function_for_call_arity_check_wide16)
setEntryAddressWide16(197, _llint_function_for_construct_arity_check_wide16)
setEntryAddressWide16(198, _llint_generic_return_point_wide16)
setEntryAddressWide16(199, _llint_throw_from_slow_path_trampoline_wide16)
setEntryAddressWide16(200, _llint_throw_during_call_trampoline_wide16)
setEntryAddressWide16(201, _llint_native_call_trampoline_wide16)
setEntryAddressWide16(202, _llint_native_construct_trampoline_wide16)
setEntryAddressWide16(203, _llint_internal_function_call_trampoline_wide16)
setEntryAddressWide16(204, _llint_internal_function_construct_trampoline_wide16)
setEntryAddressWide16(205, _checkpoint_osr_exit_from_inlined_call_trampoline_wide16)
setEntryAddressWide16(206, _checkpoint_osr_exit_trampoline_wide16)
setEntryAddressWide16(207, _normal_osr_exit_trampoline_wide16)
setEntryAddressWide16(208, _fuzzer_return_early_from_loop_hint_wide16)
setEntryAddressWide16(209, _llint_get_host_call_return_value_wide16)
setEntryAddressWide16(210, _llint_handle_uncaught_exception_wide16)
setEntryAddressWide16(211, _op_call_return_location_wide16)
setEntryAddressWide16(212, _op_construct_return_location_wide16)
setEntryAddressWide16(213, _op_call_varargs_slow_return_location_wide16)
setEntryAddressWide16(214, _op_construct_varargs_slow_return_location_wide16)
setEntryAddressWide16(215, _op_get_by_id_return_location_wide16)
setEntryAddressWide16(216, _op_get_by_val_return_location_wide16)
setEntryAddressWide16(217, _op_put_by_id_return_location_wide16)
setEntryAddressWide16(218, _op_put_by_val_return_location_wide16)
setEntryAddressWide16(219, _op_iterator_open_return_location_wide16)
setEntryAddressWide16(220, _op_iterator_next_return_location_wide16)
setEntryAddressWide16(221, _wasm_function_prologue_wide16)
setEntryAddressWide16(222, _wasm_function_prologue_no_tls_wide16)
setEntryAddressWide16(223, _op_call_slow_return_location_wide16)
setEntryAddressWide16(224, _op_construct_slow_return_location_wide16)
setEntryAddressWide16(225, _op_iterator_open_slow_return_location_wide16)
setEntryAddressWide16(226, _op_iterator_next_slow_return_location_wide16)
setEntryAddressWide16(227, _op_tail_call_return_location_wide16)
setEntryAddressWide16(228, _op_tail_call_slow_return_location_wide16)
setEntryAddressWide16(229, _op_tail_call_forward_arguments_slow_return_location_wide16)
setEntryAddressWide16(230, _op_tail_call_varargs_slow_return_location_wide16)
setEntryAddressWide16(231, _op_call_eval_slow_return_location_wide16)
setEntryAddressWide16(232, _js_trampoline_op_call_wide16)
setEntryAddressWide16(233, _js_trampoline_op_tail_call_wide16)
setEntryAddressWide16(234, _js_trampoline_op_construct_wide16)
setEntryAddressWide16(235, _js_trampoline_op_iterator_next_wide16)
setEntryAddressWide16(236, _js_trampoline_op_iterator_open_wide16)
setEntryAddressWide16(237, _js_trampoline_op_call_slow_wide16)
setEntryAddressWide16(238, _js_trampoline_op_tail_call_slow_wide16)
setEntryAddressWide16(239, _js_trampoline_op_construct_slow_wide16)
setEntryAddressWide16(240, _js_trampoline_op_call_varargs_slow_wide16)
setEntryAddressWide16(241, _js_trampoline_op_tail_call_varargs_slow_wide16)
setEntryAddressWide16(242, _js_trampoline_op_tail_call_forward_arguments_slow_wide16)
setEntryAddressWide16(243, _js_trampoline_op_construct_varargs_slow_wide16)
setEntryAddressWide16(244, _js_trampoline_op_call_eval_slow_wide16)
setEntryAddressWide16(245, _js_trampoline_op_iterator_next_slow_wide16)
setEntryAddressWide16(246, _js_trampoline_op_iterator_open_slow_wide16)
setEntryAddressWide16(247, _js_trampoline_llint_function_for_call_arity_check_untag_wide16)
setEntryAddressWide16(248, _js_trampoline_llint_function_for_call_arity_check_tag_wide16)
setEntryAddressWide16(249, _js_trampoline_llint_function_for_construct_arity_check_untag_wide16)
setEntryAddressWide16(250, _js_trampoline_llint_function_for_construct_arity_check_tag_wide16)
setEntryAddressWide16(251, _wasm_trampoline_wasm_call_wide16)
setEntryAddressWide16(252, _wasm_trampoline_wasm_call_no_tls_wide16)
setEntryAddressWide16(253, _wasm_trampoline_wasm_call_indirect_wide16)
setEntryAddressWide16(254, _llint_program_prologue_wide16)
setEntryAddressWide32(0, _llint_op_iterator_open_wide32)
setEntryAddressWide32(1, _llint_op_tail_call_varargs_wide32)
setEntryAddressWide32(2, _llint_op_construct_varargs_wide32)
setEntryAddressWide32(3, _llint_op_call_varargs_wide32)
setEntryAddressWide32(4, _llint_op_iterator_next_wide32)
setEntryAddressWide32(5, _llint_op_get_by_val_wide32)
setEntryAddressWide32(6, _llint_op_get_private_name_wide32)
setEntryAddressWide32(7, _llint_op_get_by_id_direct_wide32)
setEntryAddressWide32(8, _llint_op_put_private_name_wide32)
setEntryAddressWide32(9, _llint_op_add_wide32)
setEntryAddressWide32(10, _llint_op_get_argument_wide32)
setEntryAddressWide32(11, _llint_op_try_get_by_id_wide32)
setEntryAddressWide32(12, _llint_op_call_wide32)
setEntryAddressWide32(13, _llint_op_tail_call_wide32)
setEntryAddressWide32(14, _llint_op_call_eval_wide32)
setEntryAddressWide32(15, _llint_op_tail_call_forward_arguments_wide32)
setEntryAddressWide32(16, _llint_op_construct_wide32)
setEntryAddressWide32(17, _llint_op_new_array_with_size_wide32)
setEntryAddressWide32(18, _llint_op_new_object_wide32)
setEntryAddressWide32(19, _llint_op_get_by_id_with_this_wide32)
setEntryAddressWide32(20, _llint_op_mul_wide32)
setEntryAddressWide32(21, _llint_op_div_wide32)
setEntryAddressWide32(22, _llint_op_put_by_val_direct_wide32)
setEntryAddressWide32(23, _llint_op_get_prototype_of_wide32)
setEntryAddressWide32(24, _llint_op_create_this_wide32)
setEntryAddressWide32(25, _llint_op_create_generator_wide32)
setEntryAddressWide32(26, _llint_op_jneq_ptr_wide32)
setEntryAddressWide32(27, _llint_op_profile_type_wide32)
setEntryAddressWide32(28, _llint_op_profile_control_flow_wide32)
setEntryAddressWide32(29, _llint_op_bitor_wide32)
setEntryAddressWide32(30, _llint_op_has_enumerable_indexed_property_wide32)
setEntryAddressWide32(31, _llint_op_bitxor_wide32)
setEntryAddressWide32(32, _llint_op_lshift_wide32)
setEntryAddressWide32(33, _llint_op_rshift_wide32)
setEntryAddressWide32(34, _llint_op_bitnot_wide32)
setEntryAddressWide32(35, _llint_op_get_direct_pname_wide32)
setEntryAddressWide32(36, _llint_op_new_array_wide32)
setEntryAddressWide32(37, _llint_op_put_by_id_wide32)
setEntryAddressWide32(38, _llint_op_in_by_val_wide32)
setEntryAddressWide32(39, _llint_op_new_array_buffer_wide32)
setEntryAddressWide32(40, _llint_op_get_by_id_wide32)
setEntryAddressWide32(41, _llint_op_get_internal_field_wide32)
setEntryAddressWide32(42, _llint_op_to_this_wide32)
setEntryAddressWide32(43, _llint_op_put_by_val_wide32)
setEntryAddressWide32(44, _llint_op_create_promise_wide32)
setEntryAddressWide32(45, _llint_op_create_async_generator_wide32)
setEntryAddressWide32(46, _llint_op_get_by_val_with_this_wide32)
setEntryAddressWide32(47, _llint_op_resolve_scope_wide32)
setEntryAddressWide32(48, _llint_op_get_from_scope_wide32)
setEntryAddressWide32(49, _llint_op_put_to_scope_wide32)
setEntryAddressWide32(50, _llint_op_get_from_arguments_wide32)
setEntryAddressWide32(51, _llint_op_sub_wide32)
setEntryAddressWide32(52, _llint_op_bitand_wide32)
setEntryAddressWide32(53, _llint_op_inc_wide32)
setEntryAddressWide32(54, _llint_op_dec_wide32)
setEntryAddressWide32(55, _llint_op_to_object_wide32)
setEntryAddressWide32(56, _llint_op_catch_wide32)
setEntryAddressWide32(57, _llint_op_to_number_wide32)
setEntryAddressWide32(58, _llint_op_to_numeric_wide32)
setEntryAddressWide32(59, _llint_op_negate_wide32)
setEntryAddressWide32(60, _llint_op_put_setter_by_val_wide32)
setEntryAddressWide32(61, _llint_op_define_data_property_wide32)
setEntryAddressWide32(62, _llint_op_define_accessor_property_wide32)
setEntryAddressWide32(63, _llint_op_jmp_wide32)
setEntryAddressWide32(64, _llint_op_jtrue_wide32)
setEntryAddressWide32(65, _llint_op_jfalse_wide32)
setEntryAddressWide32(66, _llint_op_jeq_null_wide32)
setEntryAddressWide32(67, _llint_op_jneq_null_wide32)
setEntryAddressWide32(68, _llint_op_jundefined_or_null_wide32)
setEntryAddressWide32(69, _llint_op_jnundefined_or_null_wide32)
setEntryAddressWide32(70, _llint_op_jeq_wide32)
setEntryAddressWide32(71, _llint_op_jstricteq_wide32)
setEntryAddressWide32(72, _llint_op_jneq_wide32)
setEntryAddressWide32(73, _llint_op_jnstricteq_wide32)
setEntryAddressWide32(74, _llint_op_jless_wide32)
setEntryAddressWide32(75, _llint_op_jlesseq_wide32)
setEntryAddressWide32(76, _llint_op_jgreater_wide32)
setEntryAddressWide32(77, _llint_op_jgreatereq_wide32)
setEntryAddressWide32(78, _llint_op_jnless_wide32)
setEntryAddressWide32(79, _llint_op_jnlesseq_wide32)
setEntryAddressWide32(80, _llint_op_jngreater_wide32)
setEntryAddressWide32(81, _llint_op_jngreatereq_wide32)
setEntryAddressWide32(82, _llint_op_jbelow_wide32)
setEntryAddressWide32(83, _llint_op_jbeloweq_wide32)
setEntryAddressWide32(84, _llint_op_loop_hint_wide32)
setEntryAddressWide32(85, _llint_op_switch_imm_wide32)
setEntryAddressWide32(86, _llint_op_switch_char_wide32)
setEntryAddressWide32(87, _llint_op_switch_string_wide32)
setEntryAddressWide32(88, _llint_op_new_func_wide32)
setEntryAddressWide32(89, _llint_op_new_func_exp_wide32)
setEntryAddressWide32(90, _llint_op_new_generator_func_wide32)
setEntryAddressWide32(91, _llint_op_new_generator_func_exp_wide32)
setEntryAddressWide32(92, _llint_op_new_async_func_wide32)
setEntryAddressWide32(93, _llint_op_new_async_func_exp_wide32)
setEntryAddressWide32(94, _llint_op_new_async_generator_func_wide32)
setEntryAddressWide32(95, _llint_op_new_async_generator_func_exp_wide32)
setEntryAddressWide32(96, _llint_op_set_function_name_wide32)
setEntryAddressWide32(97, _llint_op_ret_wide32)
setEntryAddressWide32(98, _llint_op_strcat_wide32)
setEntryAddressWide32(99, _llint_op_to_primitive_wide32)
setEntryAddressWide32(100, _llint_op_to_property_key_wide32)
setEntryAddressWide32(101, _llint_op_put_to_arguments_wide32)
setEntryAddressWide32(102, _llint_op_push_with_scope_wide32)
setEntryAddressWide32(103, _llint_op_create_lexical_environment_wide32)
setEntryAddressWide32(104, _llint_op_create_generator_frame_environment_wide32)
setEntryAddressWide32(105, _llint_op_get_parent_scope_wide32)
setEntryAddressWide32(106, _llint_op_throw_wide32)
setEntryAddressWide32(107, _llint_op_throw_static_error_wide32)
setEntryAddressWide32(108, _llint_op_debug_wide32)
setEntryAddressWide32(109, _llint_op_end_wide32)
setEntryAddressWide32(110, _llint_op_get_enumerable_length_wide32)
setEntryAddressWide32(111, _llint_op_has_enumerable_structure_property_wide32)
setEntryAddressWide32(112, _llint_op_has_own_structure_property_wide32)
setEntryAddressWide32(113, _llint_op_in_structure_property_wide32)
setEntryAddressWide32(114, _llint_op_has_enumerable_property_wide32)
setEntryAddressWide32(115, _llint_op_get_property_enumerator_wide32)
setEntryAddressWide32(116, _llint_op_enumerator_structure_pname_wide32)
setEntryAddressWide32(117, _llint_op_enumerator_generic_pname_wide32)
setEntryAddressWide32(118, _llint_op_to_index_string_wide32)
setEntryAddressWide32(119, _llint_op_unreachable_wide32)
setEntryAddressWide32(120, _llint_op_create_rest_wide32)
setEntryAddressWide32(121, _llint_op_get_rest_length_wide32)
setEntryAddressWide32(122, _llint_op_yield_wide32)
setEntryAddressWide32(123, _llint_op_check_traps_wide32)
setEntryAddressWide32(124, _llint_op_log_shadow_chicken_prologue_wide32)
setEntryAddressWide32(125, _llint_op_log_shadow_chicken_tail_wide32)
setEntryAddressWide32(126, _llint_op_resolve_scope_for_hoisting_func_decl_in_eval_wide32)
setEntryAddressWide32(127, _llint_op_put_internal_field_wide32)
setEntryAddressWide32(128, _llint_op_nop_wide32)
setEntryAddressWide32(129, _llint_op_super_sampler_begin_wide32)
setEntryAddressWide32(130, _llint_op_wide16_wide32)
setEntryAddressWide32(131, _llint_op_super_sampler_end_wide32)
setEntryAddressWide32(132, _llint_op_wide32_wide32)
setEntryAddressWide32(133, _llint_op_enter_wide32)
setEntryAddressWide32(134, _llint_op_get_scope_wide32)
setEntryAddressWide32(135, _llint_op_create_direct_arguments_wide32)
setEntryAddressWide32(136, _llint_op_create_scoped_arguments_wide32)
setEntryAddressWide32(137, _llint_op_create_cloned_arguments_wide32)
setEntryAddressWide32(138, _llint_op_create_arguments_butterfly_wide32)
setEntryAddressWide32(139, _llint_op_new_promise_wide32)
setEntryAddressWide32(140, _llint_op_new_generator_wide32)
setEntryAddressWide32(141, _llint_op_argument_count_wide32)
setEntryAddressWide32(142, _llint_op_check_tdz_wide32)
setEntryAddressWide32(143, _llint_op_new_array_with_spread_wide32)
setEntryAddressWide32(144, _llint_op_spread_wide32)
setEntryAddressWide32(145, _llint_op_new_regexp_wide32)
setEntryAddressWide32(146, _llint_op_mov_wide32)
setEntryAddressWide32(147, _llint_op_eq_wide32)
setEntryAddressWide32(148, _llint_op_neq_wide32)
setEntryAddressWide32(149, _llint_op_stricteq_wide32)
setEntryAddressWide32(150, _llint_op_nstricteq_wide32)
setEntryAddressWide32(151, _llint_op_less_wide32)
setEntryAddressWide32(152, _llint_op_lesseq_wide32)
setEntryAddressWide32(153, _llint_op_greater_wide32)
setEntryAddressWide32(154, _llint_op_greatereq_wide32)
setEntryAddressWide32(155, _llint_op_below_wide32)
setEntryAddressWide32(156, _llint_op_beloweq_wide32)
setEntryAddressWide32(157, _llint_op_mod_wide32)
setEntryAddressWide32(158, _llint_op_pow_wide32)
setEntryAddressWide32(159, _llint_op_urshift_wide32)
setEntryAddressWide32(160, _llint_op_eq_null_wide32)
setEntryAddressWide32(161, _llint_op_neq_null_wide32)
setEntryAddressWide32(162, _llint_op_to_string_wide32)
setEntryAddressWide32(163, _llint_op_unsigned_wide32)
setEntryAddressWide32(164, _llint_op_is_empty_wide32)
setEntryAddressWide32(165, _llint_op_typeof_is_undefined_wide32)
setEntryAddressWide32(166, _llint_op_typeof_is_object_wide32)
setEntryAddressWide32(167, _llint_op_typeof_is_function_wide32)
setEntryAddressWide32(168, _llint_op_is_undefined_or_null_wide32)
setEntryAddressWide32(169, _llint_op_is_boolean_wide32)
setEntryAddressWide32(170, _llint_op_is_number_wide32)
setEntryAddressWide32(171, _llint_op_is_big_int_wide32)
setEntryAddressWide32(172, _llint_op_is_object_wide32)
setEntryAddressWide32(173, _llint_op_is_callable_wide32)
setEntryAddressWide32(174, _llint_op_is_constructor_wide32)
setEntryAddressWide32(175, _llint_op_not_wide32)
setEntryAddressWide32(176, _llint_op_identity_with_profile_wide32)
setEntryAddressWide32(177, _llint_op_overrides_has_instance_wide32)
setEntryAddressWide32(178, _llint_op_instanceof_wide32)
setEntryAddressWide32(179, _llint_op_instanceof_custom_wide32)
setEntryAddressWide32(180, _llint_op_typeof_wide32)
setEntryAddressWide32(181, _llint_op_is_cell_with_type_wide32)
setEntryAddressWide32(182, _llint_op_in_by_id_wide32)
setEntryAddressWide32(183, _llint_op_put_by_id_with_this_wide32)
setEntryAddressWide32(184, _llint_op_del_by_id_wide32)
setEntryAddressWide32(185, _llint_op_put_by_val_with_this_wide32)
setEntryAddressWide32(186, _llint_op_del_by_val_wide32)
setEntryAddressWide32(187, _llint_op_put_getter_by_id_wide32)
setEntryAddressWide32(188, _llint_op_put_setter_by_id_wide32)
setEntryAddressWide32(189, _llint_op_put_getter_setter_by_id_wide32)
setEntryAddressWide32(190, _llint_op_put_getter_by_val_wide32)
setEntryAddressWide32(191, _wasm_trampoline_wasm_call_indirect_no_tls_wide32)
setEntryAddressWide32(192, _llint_eval_prologue_wide32)
setEntryAddressWide32(193, _llint_module_program_prologue_wide32)
setEntryAddressWide32(194, _llint_function_for_call_prologue_wide32)
setEntryAddressWide32(195, _llint_function_for_construct_prologue_wide32)
setEntryAddressWide32(196, _llint_function_for_call_arity_check_wide32)
setEntryAddressWide32(197, _llint_function_for_construct_arity_check_wide32)
setEntryAddressWide32(198, _llint_generic_return_point_wide32)
setEntryAddressWide32(199, _llint_throw_from_slow_path_trampoline_wide32)
setEntryAddressWide32(200, _llint_throw_during_call_trampoline_wide32)
setEntryAddressWide32(201, _llint_native_call_trampoline_wide32)
setEntryAddressWide32(202, _llint_native_construct_trampoline_wide32)
setEntryAddressWide32(203, _llint_internal_function_call_trampoline_wide32)
setEntryAddressWide32(204, _llint_internal_function_construct_trampoline_wide32)
setEntryAddressWide32(205, _checkpoint_osr_exit_from_inlined_call_trampoline_wide32)
setEntryAddressWide32(206, _checkpoint_osr_exit_trampoline_wide32)
setEntryAddressWide32(207, _normal_osr_exit_trampoline_wide32)
setEntryAddressWide32(208, _fuzzer_return_early_from_loop_hint_wide32)
setEntryAddressWide32(209, _llint_get_host_call_return_value_wide32)
setEntryAddressWide32(210, _llint_handle_uncaught_exception_wide32)
setEntryAddressWide32(211, _op_call_return_location_wide32)
setEntryAddressWide32(212, _op_construct_return_location_wide32)
setEntryAddressWide32(213, _op_call_varargs_slow_return_location_wide32)
setEntryAddressWide32(214, _op_construct_varargs_slow_return_location_wide32)
setEntryAddressWide32(215, _op_get_by_id_return_location_wide32)
setEntryAddressWide32(216, _op_get_by_val_return_location_wide32)
setEntryAddressWide32(217, _op_put_by_id_return_location_wide32)
setEntryAddressWide32(218, _op_put_by_val_return_location_wide32)
setEntryAddressWide32(219, _op_iterator_open_return_location_wide32)
setEntryAddressWide32(220, _op_iterator_next_return_location_wide32)
setEntryAddressWide32(221, _wasm_function_prologue_wide32)
setEntryAddressWide32(222, _wasm_function_prologue_no_tls_wide32)
setEntryAddressWide32(223, _op_call_slow_return_location_wide32)
setEntryAddressWide32(224, _op_construct_slow_return_location_wide32)
setEntryAddressWide32(225, _op_iterator_open_slow_return_location_wide32)
setEntryAddressWide32(226, _op_iterator_next_slow_return_location_wide32)
setEntryAddressWide32(227, _op_tail_call_return_location_wide32)
setEntryAddressWide32(228, _op_tail_call_slow_return_location_wide32)
setEntryAddressWide32(229, _op_tail_call_forward_arguments_slow_return_location_wide32)
setEntryAddressWide32(230, _op_tail_call_varargs_slow_return_location_wide32)
setEntryAddressWide32(231, _op_call_eval_slow_return_location_wide32)
setEntryAddressWide32(232, _js_trampoline_op_call_wide32)
setEntryAddressWide32(233, _js_trampoline_op_tail_call_wide32)
setEntryAddressWide32(234, _js_trampoline_op_construct_wide32)
setEntryAddressWide32(235, _js_trampoline_op_iterator_next_wide32)
setEntryAddressWide32(236, _js_trampoline_op_iterator_open_wide32)
setEntryAddressWide32(237, _js_trampoline_op_call_slow_wide32)
setEntryAddressWide32(238, _js_trampoline_op_tail_call_slow_wide32)
setEntryAddressWide32(239, _js_trampoline_op_construct_slow_wide32)
setEntryAddressWide32(240, _js_trampoline_op_call_varargs_slow_wide32)
setEntryAddressWide32(241, _js_trampoline_op_tail_call_varargs_slow_wide32)
setEntryAddressWide32(242, _js_trampoline_op_tail_call_forward_arguments_slow_wide32)
setEntryAddressWide32(243, _js_trampoline_op_construct_varargs_slow_wide32)
setEntryAddressWide32(244, _js_trampoline_op_call_eval_slow_wide32)
setEntryAddressWide32(245, _js_trampoline_op_iterator_next_slow_wide32)
setEntryAddressWide32(246, _js_trampoline_op_iterator_open_slow_wide32)
setEntryAddressWide32(247, _js_trampoline_llint_function_for_call_arity_check_untag_wide32)
setEntryAddressWide32(248, _js_trampoline_llint_function_for_call_arity_check_tag_wide32)
setEntryAddressWide32(249, _js_trampoline_llint_function_for_construct_arity_check_untag_wide32)
setEntryAddressWide32(250, _js_trampoline_llint_function_for_construct_arity_check_tag_wide32)
setEntryAddressWide32(251, _wasm_trampoline_wasm_call_wide32)
setEntryAddressWide32(252, _wasm_trampoline_wasm_call_no_tls_wide32)
setEntryAddressWide32(253, _wasm_trampoline_wasm_call_indirect_wide32)
setEntryAddressWide32(254, _llint_program_prologue_wide32)
# SHA1Hash: a76f4e6da941f840c6fa40e2cfc17431f4a02ca8

View File

@ -0,0 +1,686 @@
# Copyright (C) 2023 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Autogenerated, do not modify.
setEntryAddress(0, _wasm_atomic_fence)
setEntryAddress(1, _wasm_i32_sub)
setEntryAddress(2, _wasm_i32_mul)
setEntryAddress(3, _wasm_i32_div_s)
setEntryAddress(4, _wasm_i32_div_u)
setEntryAddress(5, _wasm_i32_rem_s)
setEntryAddress(6, _wasm_i32_rem_u)
setEntryAddress(7, _wasm_i32_and)
setEntryAddress(8, _wasm_i32_or)
setEntryAddress(9, _wasm_i32_xor)
setEntryAddress(10, _wasm_i32_shl)
setEntryAddress(11, _wasm_i32_shr_u)
setEntryAddress(12, _wasm_i32_shr_s)
setEntryAddress(13, _wasm_i32_rotr)
setEntryAddress(14, _wasm_i32_rotl)
setEntryAddress(15, _wasm_i32_eq)
setEntryAddress(16, _wasm_i32_ne)
setEntryAddress(17, _wasm_i32_lt_s)
setEntryAddress(18, _wasm_i32_le_s)
setEntryAddress(19, _wasm_i32_lt_u)
setEntryAddress(20, _wasm_i32_le_u)
setEntryAddress(21, _wasm_i32_gt_s)
setEntryAddress(22, _wasm_i32_ge_s)
setEntryAddress(23, _wasm_i32_gt_u)
setEntryAddress(24, _wasm_i32_ge_u)
setEntryAddress(25, _wasm_i32_clz)
setEntryAddress(26, _wasm_i32_ctz)
setEntryAddress(27, _wasm_i32_popcnt)
setEntryAddress(28, _wasm_i32_eqz)
setEntryAddress(29, _wasm_i64_add)
setEntryAddress(30, _wasm_i64_sub)
setEntryAddress(31, _wasm_i64_mul)
setEntryAddress(32, _wasm_i64_div_s)
setEntryAddress(33, _wasm_i64_div_u)
setEntryAddress(34, _wasm_i64_rem_s)
setEntryAddress(35, _wasm_i64_rem_u)
setEntryAddress(36, _wasm_i64_and)
setEntryAddress(37, _wasm_i64_or)
setEntryAddress(38, _wasm_i64_xor)
setEntryAddress(39, _wasm_i64_shl)
setEntryAddress(40, _wasm_i64_shr_u)
setEntryAddress(41, _wasm_i64_shr_s)
setEntryAddress(42, _wasm_i64_rotr)
setEntryAddress(43, _wasm_i64_rotl)
setEntryAddress(44, _wasm_i64_eq)
setEntryAddress(45, _wasm_i64_ne)
setEntryAddress(46, _wasm_i64_lt_s)
setEntryAddress(47, _wasm_i64_le_s)
setEntryAddress(48, _wasm_i64_lt_u)
setEntryAddress(49, _wasm_i64_le_u)
setEntryAddress(50, _wasm_i64_gt_s)
setEntryAddress(51, _wasm_i64_ge_s)
setEntryAddress(52, _wasm_i64_gt_u)
setEntryAddress(53, _wasm_i64_ge_u)
setEntryAddress(54, _wasm_i64_clz)
setEntryAddress(55, _wasm_i64_ctz)
setEntryAddress(56, _wasm_i64_popcnt)
setEntryAddress(57, _wasm_i64_eqz)
setEntryAddress(58, _wasm_f32_add)
setEntryAddress(59, _wasm_f32_sub)
setEntryAddress(60, _wasm_f32_mul)
setEntryAddress(61, _wasm_f32_div)
setEntryAddress(62, _wasm_f32_min)
setEntryAddress(63, _wasm_f32_max)
setEntryAddress(64, _wasm_f32_abs)
setEntryAddress(65, _wasm_f32_neg)
setEntryAddress(66, _wasm_f32_copysign)
setEntryAddress(67, _wasm_f32_ceil)
setEntryAddress(68, _wasm_f32_floor)
setEntryAddress(69, _wasm_f32_trunc)
setEntryAddress(70, _wasm_f32_nearest)
setEntryAddress(71, _wasm_f32_sqrt)
setEntryAddress(72, _wasm_f32_eq)
setEntryAddress(73, _wasm_f32_ne)
setEntryAddress(74, _wasm_f32_lt)
setEntryAddress(75, _wasm_f32_le)
setEntryAddress(76, _wasm_f32_gt)
setEntryAddress(77, _wasm_f32_ge)
setEntryAddress(78, _wasm_f64_add)
setEntryAddress(79, _wasm_f64_sub)
setEntryAddress(80, _wasm_f64_mul)
setEntryAddress(81, _wasm_f64_div)
setEntryAddress(82, _wasm_f64_min)
setEntryAddress(83, _wasm_f64_max)
setEntryAddress(84, _wasm_f64_abs)
setEntryAddress(85, _wasm_f64_neg)
setEntryAddress(86, _wasm_f64_copysign)
setEntryAddress(87, _wasm_f64_ceil)
setEntryAddress(88, _wasm_f64_floor)
setEntryAddress(89, _wasm_f64_trunc)
setEntryAddress(90, _wasm_f64_nearest)
setEntryAddress(91, _wasm_f64_sqrt)
setEntryAddress(92, _wasm_f64_eq)
setEntryAddress(93, _wasm_f64_ne)
setEntryAddress(94, _wasm_f64_lt)
setEntryAddress(95, _wasm_f64_le)
setEntryAddress(96, _wasm_f64_gt)
setEntryAddress(97, _wasm_f64_ge)
setEntryAddress(98, _wasm_i32_trunc_s_f32)
setEntryAddress(99, _wasm_i32_trunc_s_f64)
setEntryAddress(100, _wasm_i32_trunc_u_f32)
setEntryAddress(101, _wasm_i32_trunc_u_f64)
setEntryAddress(102, _wasm_i32_wrap_i64)
setEntryAddress(103, _wasm_i64_trunc_s_f32)
setEntryAddress(104, _wasm_i64_trunc_s_f64)
setEntryAddress(105, _wasm_i64_trunc_u_f32)
setEntryAddress(106, _wasm_i64_trunc_u_f64)
setEntryAddress(107, _wasm_i64_extend_s_i32)
setEntryAddress(108, _wasm_i64_extend_u_i32)
setEntryAddress(109, _wasm_f32_convert_s_i32)
setEntryAddress(110, _wasm_f32_convert_u_i32)
setEntryAddress(111, _wasm_f32_convert_s_i64)
setEntryAddress(112, _wasm_f32_convert_u_i64)
setEntryAddress(113, _wasm_f32_demote_f64)
setEntryAddress(114, _wasm_f32_reinterpret_i32)
setEntryAddress(115, _wasm_f64_convert_s_i32)
setEntryAddress(116, _wasm_f64_convert_u_i32)
setEntryAddress(117, _wasm_f64_convert_s_i64)
setEntryAddress(118, _wasm_f64_convert_u_i64)
setEntryAddress(119, _wasm_f64_promote_f32)
setEntryAddress(120, _wasm_f64_reinterpret_i64)
setEntryAddress(121, _wasm_i32_reinterpret_f32)
setEntryAddress(122, _wasm_i64_reinterpret_f64)
setEntryAddress(123, _wasm_i32_extend8_s)
setEntryAddress(124, _wasm_i32_extend16_s)
setEntryAddress(125, _wasm_i64_extend8_s)
setEntryAddress(126, _wasm_i64_extend16_s)
setEntryAddress(127, _wasm_i64_extend32_s)
setEntryAddress(128, _wasm_throw_from_slow_path_trampoline)
setEntryAddress(129, _wasm_throw_from_fault_handler_trampoline)
setEntryAddress(130, _wasm_call_return_location)
setEntryAddress(131, _wasm_call_no_tls_return_location)
setEntryAddress(132, _wasm_call_indirect_return_location)
setEntryAddress(133, _wasm_call_indirect_no_tls_return_location)
setEntryAddress(134, _wasm_wide16)
setEntryAddress(135, _wasm_wide32)
setEntryAddress(136, _wasm_enter)
setEntryAddress(137, _wasm_nop)
setEntryAddress(138, _wasm_loop_hint)
setEntryAddress(139, _wasm_mov)
setEntryAddress(140, _wasm_jtrue)
setEntryAddress(141, _wasm_jfalse)
setEntryAddress(142, _wasm_jmp)
setEntryAddress(143, _wasm_ret)
setEntryAddress(144, _wasm_switch)
setEntryAddress(145, _wasm_unreachable)
setEntryAddress(146, _wasm_ret_void)
setEntryAddress(147, _wasm_drop_keep)
setEntryAddress(148, _wasm_ref_is_null)
setEntryAddress(149, _wasm_ref_func)
setEntryAddress(150, _wasm_get_global)
setEntryAddress(151, _wasm_set_global)
setEntryAddress(152, _wasm_set_global_ref)
setEntryAddress(153, _wasm_get_global_portable_binding)
setEntryAddress(154, _wasm_set_global_portable_binding)
setEntryAddress(155, _wasm_set_global_ref_portable_binding)
setEntryAddress(156, _wasm_table_get)
setEntryAddress(157, _wasm_table_set)
setEntryAddress(158, _wasm_table_init)
setEntryAddress(159, _wasm_elem_drop)
setEntryAddress(160, _wasm_table_size)
setEntryAddress(161, _wasm_table_grow)
setEntryAddress(162, _wasm_table_fill)
setEntryAddress(163, _wasm_table_copy)
setEntryAddress(164, _wasm_call)
setEntryAddress(165, _wasm_call_no_tls)
setEntryAddress(166, _wasm_call_indirect)
setEntryAddress(167, _wasm_call_indirect_no_tls)
setEntryAddress(168, _wasm_current_memory)
setEntryAddress(169, _wasm_grow_memory)
setEntryAddress(170, _wasm_memory_fill)
setEntryAddress(171, _wasm_memory_copy)
setEntryAddress(172, _wasm_memory_init)
setEntryAddress(173, _wasm_data_drop)
setEntryAddress(174, _wasm_select)
setEntryAddress(175, _wasm_load8_u)
setEntryAddress(176, _wasm_load16_u)
setEntryAddress(177, _wasm_load32_u)
setEntryAddress(178, _wasm_load64_u)
setEntryAddress(179, _wasm_i32_load8_s)
setEntryAddress(180, _wasm_i64_load8_s)
setEntryAddress(181, _wasm_i32_load16_s)
setEntryAddress(182, _wasm_i64_load16_s)
setEntryAddress(183, _wasm_i64_load32_s)
setEntryAddress(184, _wasm_store8)
setEntryAddress(185, _wasm_store16)
setEntryAddress(186, _wasm_store32)
setEntryAddress(187, _wasm_store64)
setEntryAddress(188, _wasm_i64_atomic_rmw_add)
setEntryAddress(189, _wasm_i64_atomic_rmw8_add_u)
setEntryAddress(190, _wasm_i64_atomic_rmw16_add_u)
setEntryAddress(191, _wasm_i64_atomic_rmw32_add_u)
setEntryAddress(192, _wasm_i64_atomic_rmw_sub)
setEntryAddress(193, _wasm_i64_atomic_rmw8_sub_u)
setEntryAddress(194, _wasm_i64_atomic_rmw16_sub_u)
setEntryAddress(195, _wasm_i64_atomic_rmw32_sub_u)
setEntryAddress(196, _wasm_i64_atomic_rmw_and)
setEntryAddress(197, _wasm_i64_atomic_rmw8_and_u)
setEntryAddress(198, _wasm_i64_atomic_rmw16_and_u)
setEntryAddress(199, _wasm_i64_atomic_rmw32_and_u)
setEntryAddress(200, _wasm_i64_atomic_rmw_or)
setEntryAddress(201, _wasm_i64_atomic_rmw8_or_u)
setEntryAddress(202, _wasm_i64_atomic_rmw16_or_u)
setEntryAddress(203, _wasm_i64_atomic_rmw32_or_u)
setEntryAddress(204, _wasm_i64_atomic_rmw_xor)
setEntryAddress(205, _wasm_i64_atomic_rmw8_xor_u)
setEntryAddress(206, _wasm_i64_atomic_rmw16_xor_u)
setEntryAddress(207, _wasm_i64_atomic_rmw32_xor_u)
setEntryAddress(208, _wasm_i64_atomic_rmw_xchg)
setEntryAddress(209, _wasm_i64_atomic_rmw8_xchg_u)
setEntryAddress(210, _wasm_i64_atomic_rmw16_xchg_u)
setEntryAddress(211, _wasm_i64_atomic_rmw32_xchg_u)
setEntryAddress(212, _wasm_i64_atomic_rmw_cmpxchg)
setEntryAddress(213, _wasm_i64_atomic_rmw8_cmpxchg_u)
setEntryAddress(214, _wasm_i64_atomic_rmw16_cmpxchg_u)
setEntryAddress(215, _wasm_i64_atomic_rmw32_cmpxchg_u)
setEntryAddress(216, _wasm_memory_atomic_wait32)
setEntryAddress(217, _wasm_memory_atomic_wait64)
setEntryAddress(218, _wasm_memory_atomic_notify)
setEntryAddress(219, _wasm_i32_add)
setEntryAddressWide16(0, _wasm_atomic_fence_wide16)
setEntryAddressWide16(1, _wasm_i32_sub_wide16)
setEntryAddressWide16(2, _wasm_i32_mul_wide16)
setEntryAddressWide16(3, _wasm_i32_div_s_wide16)
setEntryAddressWide16(4, _wasm_i32_div_u_wide16)
setEntryAddressWide16(5, _wasm_i32_rem_s_wide16)
setEntryAddressWide16(6, _wasm_i32_rem_u_wide16)
setEntryAddressWide16(7, _wasm_i32_and_wide16)
setEntryAddressWide16(8, _wasm_i32_or_wide16)
setEntryAddressWide16(9, _wasm_i32_xor_wide16)
setEntryAddressWide16(10, _wasm_i32_shl_wide16)
setEntryAddressWide16(11, _wasm_i32_shr_u_wide16)
setEntryAddressWide16(12, _wasm_i32_shr_s_wide16)
setEntryAddressWide16(13, _wasm_i32_rotr_wide16)
setEntryAddressWide16(14, _wasm_i32_rotl_wide16)
setEntryAddressWide16(15, _wasm_i32_eq_wide16)
setEntryAddressWide16(16, _wasm_i32_ne_wide16)
setEntryAddressWide16(17, _wasm_i32_lt_s_wide16)
setEntryAddressWide16(18, _wasm_i32_le_s_wide16)
setEntryAddressWide16(19, _wasm_i32_lt_u_wide16)
setEntryAddressWide16(20, _wasm_i32_le_u_wide16)
setEntryAddressWide16(21, _wasm_i32_gt_s_wide16)
setEntryAddressWide16(22, _wasm_i32_ge_s_wide16)
setEntryAddressWide16(23, _wasm_i32_gt_u_wide16)
setEntryAddressWide16(24, _wasm_i32_ge_u_wide16)
setEntryAddressWide16(25, _wasm_i32_clz_wide16)
setEntryAddressWide16(26, _wasm_i32_ctz_wide16)
setEntryAddressWide16(27, _wasm_i32_popcnt_wide16)
setEntryAddressWide16(28, _wasm_i32_eqz_wide16)
setEntryAddressWide16(29, _wasm_i64_add_wide16)
setEntryAddressWide16(30, _wasm_i64_sub_wide16)
setEntryAddressWide16(31, _wasm_i64_mul_wide16)
setEntryAddressWide16(32, _wasm_i64_div_s_wide16)
setEntryAddressWide16(33, _wasm_i64_div_u_wide16)
setEntryAddressWide16(34, _wasm_i64_rem_s_wide16)
setEntryAddressWide16(35, _wasm_i64_rem_u_wide16)
setEntryAddressWide16(36, _wasm_i64_and_wide16)
setEntryAddressWide16(37, _wasm_i64_or_wide16)
setEntryAddressWide16(38, _wasm_i64_xor_wide16)
setEntryAddressWide16(39, _wasm_i64_shl_wide16)
setEntryAddressWide16(40, _wasm_i64_shr_u_wide16)
setEntryAddressWide16(41, _wasm_i64_shr_s_wide16)
setEntryAddressWide16(42, _wasm_i64_rotr_wide16)
setEntryAddressWide16(43, _wasm_i64_rotl_wide16)
setEntryAddressWide16(44, _wasm_i64_eq_wide16)
setEntryAddressWide16(45, _wasm_i64_ne_wide16)
setEntryAddressWide16(46, _wasm_i64_lt_s_wide16)
setEntryAddressWide16(47, _wasm_i64_le_s_wide16)
setEntryAddressWide16(48, _wasm_i64_lt_u_wide16)
setEntryAddressWide16(49, _wasm_i64_le_u_wide16)
setEntryAddressWide16(50, _wasm_i64_gt_s_wide16)
setEntryAddressWide16(51, _wasm_i64_ge_s_wide16)
setEntryAddressWide16(52, _wasm_i64_gt_u_wide16)
setEntryAddressWide16(53, _wasm_i64_ge_u_wide16)
setEntryAddressWide16(54, _wasm_i64_clz_wide16)
setEntryAddressWide16(55, _wasm_i64_ctz_wide16)
setEntryAddressWide16(56, _wasm_i64_popcnt_wide16)
setEntryAddressWide16(57, _wasm_i64_eqz_wide16)
setEntryAddressWide16(58, _wasm_f32_add_wide16)
setEntryAddressWide16(59, _wasm_f32_sub_wide16)
setEntryAddressWide16(60, _wasm_f32_mul_wide16)
setEntryAddressWide16(61, _wasm_f32_div_wide16)
setEntryAddressWide16(62, _wasm_f32_min_wide16)
setEntryAddressWide16(63, _wasm_f32_max_wide16)
setEntryAddressWide16(64, _wasm_f32_abs_wide16)
setEntryAddressWide16(65, _wasm_f32_neg_wide16)
setEntryAddressWide16(66, _wasm_f32_copysign_wide16)
setEntryAddressWide16(67, _wasm_f32_ceil_wide16)
setEntryAddressWide16(68, _wasm_f32_floor_wide16)
setEntryAddressWide16(69, _wasm_f32_trunc_wide16)
setEntryAddressWide16(70, _wasm_f32_nearest_wide16)
setEntryAddressWide16(71, _wasm_f32_sqrt_wide16)
setEntryAddressWide16(72, _wasm_f32_eq_wide16)
setEntryAddressWide16(73, _wasm_f32_ne_wide16)
setEntryAddressWide16(74, _wasm_f32_lt_wide16)
setEntryAddressWide16(75, _wasm_f32_le_wide16)
setEntryAddressWide16(76, _wasm_f32_gt_wide16)
setEntryAddressWide16(77, _wasm_f32_ge_wide16)
setEntryAddressWide16(78, _wasm_f64_add_wide16)
setEntryAddressWide16(79, _wasm_f64_sub_wide16)
setEntryAddressWide16(80, _wasm_f64_mul_wide16)
setEntryAddressWide16(81, _wasm_f64_div_wide16)
setEntryAddressWide16(82, _wasm_f64_min_wide16)
setEntryAddressWide16(83, _wasm_f64_max_wide16)
setEntryAddressWide16(84, _wasm_f64_abs_wide16)
setEntryAddressWide16(85, _wasm_f64_neg_wide16)
setEntryAddressWide16(86, _wasm_f64_copysign_wide16)
setEntryAddressWide16(87, _wasm_f64_ceil_wide16)
setEntryAddressWide16(88, _wasm_f64_floor_wide16)
setEntryAddressWide16(89, _wasm_f64_trunc_wide16)
setEntryAddressWide16(90, _wasm_f64_nearest_wide16)
setEntryAddressWide16(91, _wasm_f64_sqrt_wide16)
setEntryAddressWide16(92, _wasm_f64_eq_wide16)
setEntryAddressWide16(93, _wasm_f64_ne_wide16)
setEntryAddressWide16(94, _wasm_f64_lt_wide16)
setEntryAddressWide16(95, _wasm_f64_le_wide16)
setEntryAddressWide16(96, _wasm_f64_gt_wide16)
setEntryAddressWide16(97, _wasm_f64_ge_wide16)
setEntryAddressWide16(98, _wasm_i32_trunc_s_f32_wide16)
setEntryAddressWide16(99, _wasm_i32_trunc_s_f64_wide16)
setEntryAddressWide16(100, _wasm_i32_trunc_u_f32_wide16)
setEntryAddressWide16(101, _wasm_i32_trunc_u_f64_wide16)
setEntryAddressWide16(102, _wasm_i32_wrap_i64_wide16)
setEntryAddressWide16(103, _wasm_i64_trunc_s_f32_wide16)
setEntryAddressWide16(104, _wasm_i64_trunc_s_f64_wide16)
setEntryAddressWide16(105, _wasm_i64_trunc_u_f32_wide16)
setEntryAddressWide16(106, _wasm_i64_trunc_u_f64_wide16)
setEntryAddressWide16(107, _wasm_i64_extend_s_i32_wide16)
setEntryAddressWide16(108, _wasm_i64_extend_u_i32_wide16)
setEntryAddressWide16(109, _wasm_f32_convert_s_i32_wide16)
setEntryAddressWide16(110, _wasm_f32_convert_u_i32_wide16)
setEntryAddressWide16(111, _wasm_f32_convert_s_i64_wide16)
setEntryAddressWide16(112, _wasm_f32_convert_u_i64_wide16)
setEntryAddressWide16(113, _wasm_f32_demote_f64_wide16)
setEntryAddressWide16(114, _wasm_f32_reinterpret_i32_wide16)
setEntryAddressWide16(115, _wasm_f64_convert_s_i32_wide16)
setEntryAddressWide16(116, _wasm_f64_convert_u_i32_wide16)
setEntryAddressWide16(117, _wasm_f64_convert_s_i64_wide16)
setEntryAddressWide16(118, _wasm_f64_convert_u_i64_wide16)
setEntryAddressWide16(119, _wasm_f64_promote_f32_wide16)
setEntryAddressWide16(120, _wasm_f64_reinterpret_i64_wide16)
setEntryAddressWide16(121, _wasm_i32_reinterpret_f32_wide16)
setEntryAddressWide16(122, _wasm_i64_reinterpret_f64_wide16)
setEntryAddressWide16(123, _wasm_i32_extend8_s_wide16)
setEntryAddressWide16(124, _wasm_i32_extend16_s_wide16)
setEntryAddressWide16(125, _wasm_i64_extend8_s_wide16)
setEntryAddressWide16(126, _wasm_i64_extend16_s_wide16)
setEntryAddressWide16(127, _wasm_i64_extend32_s_wide16)
setEntryAddressWide16(128, _wasm_throw_from_slow_path_trampoline_wide16)
setEntryAddressWide16(129, _wasm_throw_from_fault_handler_trampoline_wide16)
setEntryAddressWide16(130, _wasm_call_return_location_wide16)
setEntryAddressWide16(131, _wasm_call_no_tls_return_location_wide16)
setEntryAddressWide16(132, _wasm_call_indirect_return_location_wide16)
setEntryAddressWide16(133, _wasm_call_indirect_no_tls_return_location_wide16)
setEntryAddressWide16(134, _wasm_wide16_wide16)
setEntryAddressWide16(135, _wasm_wide32_wide16)
setEntryAddressWide16(136, _wasm_enter_wide16)
setEntryAddressWide16(137, _wasm_nop_wide16)
setEntryAddressWide16(138, _wasm_loop_hint_wide16)
setEntryAddressWide16(139, _wasm_mov_wide16)
setEntryAddressWide16(140, _wasm_jtrue_wide16)
setEntryAddressWide16(141, _wasm_jfalse_wide16)
setEntryAddressWide16(142, _wasm_jmp_wide16)
setEntryAddressWide16(143, _wasm_ret_wide16)
setEntryAddressWide16(144, _wasm_switch_wide16)
setEntryAddressWide16(145, _wasm_unreachable_wide16)
setEntryAddressWide16(146, _wasm_ret_void_wide16)
setEntryAddressWide16(147, _wasm_drop_keep_wide16)
setEntryAddressWide16(148, _wasm_ref_is_null_wide16)
setEntryAddressWide16(149, _wasm_ref_func_wide16)
setEntryAddressWide16(150, _wasm_get_global_wide16)
setEntryAddressWide16(151, _wasm_set_global_wide16)
setEntryAddressWide16(152, _wasm_set_global_ref_wide16)
setEntryAddressWide16(153, _wasm_get_global_portable_binding_wide16)
setEntryAddressWide16(154, _wasm_set_global_portable_binding_wide16)
setEntryAddressWide16(155, _wasm_set_global_ref_portable_binding_wide16)
setEntryAddressWide16(156, _wasm_table_get_wide16)
setEntryAddressWide16(157, _wasm_table_set_wide16)
setEntryAddressWide16(158, _wasm_table_init_wide16)
setEntryAddressWide16(159, _wasm_elem_drop_wide16)
setEntryAddressWide16(160, _wasm_table_size_wide16)
setEntryAddressWide16(161, _wasm_table_grow_wide16)
setEntryAddressWide16(162, _wasm_table_fill_wide16)
setEntryAddressWide16(163, _wasm_table_copy_wide16)
setEntryAddressWide16(164, _wasm_call_wide16)
setEntryAddressWide16(165, _wasm_call_no_tls_wide16)
setEntryAddressWide16(166, _wasm_call_indirect_wide16)
setEntryAddressWide16(167, _wasm_call_indirect_no_tls_wide16)
setEntryAddressWide16(168, _wasm_current_memory_wide16)
setEntryAddressWide16(169, _wasm_grow_memory_wide16)
setEntryAddressWide16(170, _wasm_memory_fill_wide16)
setEntryAddressWide16(171, _wasm_memory_copy_wide16)
setEntryAddressWide16(172, _wasm_memory_init_wide16)
setEntryAddressWide16(173, _wasm_data_drop_wide16)
setEntryAddressWide16(174, _wasm_select_wide16)
setEntryAddressWide16(175, _wasm_load8_u_wide16)
setEntryAddressWide16(176, _wasm_load16_u_wide16)
setEntryAddressWide16(177, _wasm_load32_u_wide16)
setEntryAddressWide16(178, _wasm_load64_u_wide16)
setEntryAddressWide16(179, _wasm_i32_load8_s_wide16)
setEntryAddressWide16(180, _wasm_i64_load8_s_wide16)
setEntryAddressWide16(181, _wasm_i32_load16_s_wide16)
setEntryAddressWide16(182, _wasm_i64_load16_s_wide16)
setEntryAddressWide16(183, _wasm_i64_load32_s_wide16)
setEntryAddressWide16(184, _wasm_store8_wide16)
setEntryAddressWide16(185, _wasm_store16_wide16)
setEntryAddressWide16(186, _wasm_store32_wide16)
setEntryAddressWide16(187, _wasm_store64_wide16)
setEntryAddressWide16(188, _wasm_i64_atomic_rmw_add_wide16)
setEntryAddressWide16(189, _wasm_i64_atomic_rmw8_add_u_wide16)
setEntryAddressWide16(190, _wasm_i64_atomic_rmw16_add_u_wide16)
setEntryAddressWide16(191, _wasm_i64_atomic_rmw32_add_u_wide16)
setEntryAddressWide16(192, _wasm_i64_atomic_rmw_sub_wide16)
setEntryAddressWide16(193, _wasm_i64_atomic_rmw8_sub_u_wide16)
setEntryAddressWide16(194, _wasm_i64_atomic_rmw16_sub_u_wide16)
setEntryAddressWide16(195, _wasm_i64_atomic_rmw32_sub_u_wide16)
setEntryAddressWide16(196, _wasm_i64_atomic_rmw_and_wide16)
setEntryAddressWide16(197, _wasm_i64_atomic_rmw8_and_u_wide16)
setEntryAddressWide16(198, _wasm_i64_atomic_rmw16_and_u_wide16)
setEntryAddressWide16(199, _wasm_i64_atomic_rmw32_and_u_wide16)
setEntryAddressWide16(200, _wasm_i64_atomic_rmw_or_wide16)
setEntryAddressWide16(201, _wasm_i64_atomic_rmw8_or_u_wide16)
setEntryAddressWide16(202, _wasm_i64_atomic_rmw16_or_u_wide16)
setEntryAddressWide16(203, _wasm_i64_atomic_rmw32_or_u_wide16)
setEntryAddressWide16(204, _wasm_i64_atomic_rmw_xor_wide16)
setEntryAddressWide16(205, _wasm_i64_atomic_rmw8_xor_u_wide16)
setEntryAddressWide16(206, _wasm_i64_atomic_rmw16_xor_u_wide16)
setEntryAddressWide16(207, _wasm_i64_atomic_rmw32_xor_u_wide16)
setEntryAddressWide16(208, _wasm_i64_atomic_rmw_xchg_wide16)
setEntryAddressWide16(209, _wasm_i64_atomic_rmw8_xchg_u_wide16)
setEntryAddressWide16(210, _wasm_i64_atomic_rmw16_xchg_u_wide16)
setEntryAddressWide16(211, _wasm_i64_atomic_rmw32_xchg_u_wide16)
setEntryAddressWide16(212, _wasm_i64_atomic_rmw_cmpxchg_wide16)
setEntryAddressWide16(213, _wasm_i64_atomic_rmw8_cmpxchg_u_wide16)
setEntryAddressWide16(214, _wasm_i64_atomic_rmw16_cmpxchg_u_wide16)
setEntryAddressWide16(215, _wasm_i64_atomic_rmw32_cmpxchg_u_wide16)
setEntryAddressWide16(216, _wasm_memory_atomic_wait32_wide16)
setEntryAddressWide16(217, _wasm_memory_atomic_wait64_wide16)
setEntryAddressWide16(218, _wasm_memory_atomic_notify_wide16)
setEntryAddressWide16(219, _wasm_i32_add_wide16)
setEntryAddressWide32(0, _wasm_atomic_fence_wide32)
setEntryAddressWide32(1, _wasm_i32_sub_wide32)
setEntryAddressWide32(2, _wasm_i32_mul_wide32)
setEntryAddressWide32(3, _wasm_i32_div_s_wide32)
setEntryAddressWide32(4, _wasm_i32_div_u_wide32)
setEntryAddressWide32(5, _wasm_i32_rem_s_wide32)
setEntryAddressWide32(6, _wasm_i32_rem_u_wide32)
setEntryAddressWide32(7, _wasm_i32_and_wide32)
setEntryAddressWide32(8, _wasm_i32_or_wide32)
setEntryAddressWide32(9, _wasm_i32_xor_wide32)
setEntryAddressWide32(10, _wasm_i32_shl_wide32)
setEntryAddressWide32(11, _wasm_i32_shr_u_wide32)
setEntryAddressWide32(12, _wasm_i32_shr_s_wide32)
setEntryAddressWide32(13, _wasm_i32_rotr_wide32)
setEntryAddressWide32(14, _wasm_i32_rotl_wide32)
setEntryAddressWide32(15, _wasm_i32_eq_wide32)
setEntryAddressWide32(16, _wasm_i32_ne_wide32)
setEntryAddressWide32(17, _wasm_i32_lt_s_wide32)
setEntryAddressWide32(18, _wasm_i32_le_s_wide32)
setEntryAddressWide32(19, _wasm_i32_lt_u_wide32)
setEntryAddressWide32(20, _wasm_i32_le_u_wide32)
setEntryAddressWide32(21, _wasm_i32_gt_s_wide32)
setEntryAddressWide32(22, _wasm_i32_ge_s_wide32)
setEntryAddressWide32(23, _wasm_i32_gt_u_wide32)
setEntryAddressWide32(24, _wasm_i32_ge_u_wide32)
setEntryAddressWide32(25, _wasm_i32_clz_wide32)
setEntryAddressWide32(26, _wasm_i32_ctz_wide32)
setEntryAddressWide32(27, _wasm_i32_popcnt_wide32)
setEntryAddressWide32(28, _wasm_i32_eqz_wide32)
setEntryAddressWide32(29, _wasm_i64_add_wide32)
setEntryAddressWide32(30, _wasm_i64_sub_wide32)
setEntryAddressWide32(31, _wasm_i64_mul_wide32)
setEntryAddressWide32(32, _wasm_i64_div_s_wide32)
setEntryAddressWide32(33, _wasm_i64_div_u_wide32)
setEntryAddressWide32(34, _wasm_i64_rem_s_wide32)
setEntryAddressWide32(35, _wasm_i64_rem_u_wide32)
setEntryAddressWide32(36, _wasm_i64_and_wide32)
setEntryAddressWide32(37, _wasm_i64_or_wide32)
setEntryAddressWide32(38, _wasm_i64_xor_wide32)
setEntryAddressWide32(39, _wasm_i64_shl_wide32)
setEntryAddressWide32(40, _wasm_i64_shr_u_wide32)
setEntryAddressWide32(41, _wasm_i64_shr_s_wide32)
setEntryAddressWide32(42, _wasm_i64_rotr_wide32)
setEntryAddressWide32(43, _wasm_i64_rotl_wide32)
setEntryAddressWide32(44, _wasm_i64_eq_wide32)
setEntryAddressWide32(45, _wasm_i64_ne_wide32)
setEntryAddressWide32(46, _wasm_i64_lt_s_wide32)
setEntryAddressWide32(47, _wasm_i64_le_s_wide32)
setEntryAddressWide32(48, _wasm_i64_lt_u_wide32)
setEntryAddressWide32(49, _wasm_i64_le_u_wide32)
setEntryAddressWide32(50, _wasm_i64_gt_s_wide32)
setEntryAddressWide32(51, _wasm_i64_ge_s_wide32)
setEntryAddressWide32(52, _wasm_i64_gt_u_wide32)
setEntryAddressWide32(53, _wasm_i64_ge_u_wide32)
setEntryAddressWide32(54, _wasm_i64_clz_wide32)
setEntryAddressWide32(55, _wasm_i64_ctz_wide32)
setEntryAddressWide32(56, _wasm_i64_popcnt_wide32)
setEntryAddressWide32(57, _wasm_i64_eqz_wide32)
setEntryAddressWide32(58, _wasm_f32_add_wide32)
setEntryAddressWide32(59, _wasm_f32_sub_wide32)
setEntryAddressWide32(60, _wasm_f32_mul_wide32)
setEntryAddressWide32(61, _wasm_f32_div_wide32)
setEntryAddressWide32(62, _wasm_f32_min_wide32)
setEntryAddressWide32(63, _wasm_f32_max_wide32)
setEntryAddressWide32(64, _wasm_f32_abs_wide32)
setEntryAddressWide32(65, _wasm_f32_neg_wide32)
setEntryAddressWide32(66, _wasm_f32_copysign_wide32)
setEntryAddressWide32(67, _wasm_f32_ceil_wide32)
setEntryAddressWide32(68, _wasm_f32_floor_wide32)
setEntryAddressWide32(69, _wasm_f32_trunc_wide32)
setEntryAddressWide32(70, _wasm_f32_nearest_wide32)
setEntryAddressWide32(71, _wasm_f32_sqrt_wide32)
setEntryAddressWide32(72, _wasm_f32_eq_wide32)
setEntryAddressWide32(73, _wasm_f32_ne_wide32)
setEntryAddressWide32(74, _wasm_f32_lt_wide32)
setEntryAddressWide32(75, _wasm_f32_le_wide32)
setEntryAddressWide32(76, _wasm_f32_gt_wide32)
setEntryAddressWide32(77, _wasm_f32_ge_wide32)
setEntryAddressWide32(78, _wasm_f64_add_wide32)
setEntryAddressWide32(79, _wasm_f64_sub_wide32)
setEntryAddressWide32(80, _wasm_f64_mul_wide32)
setEntryAddressWide32(81, _wasm_f64_div_wide32)
setEntryAddressWide32(82, _wasm_f64_min_wide32)
setEntryAddressWide32(83, _wasm_f64_max_wide32)
setEntryAddressWide32(84, _wasm_f64_abs_wide32)
setEntryAddressWide32(85, _wasm_f64_neg_wide32)
setEntryAddressWide32(86, _wasm_f64_copysign_wide32)
setEntryAddressWide32(87, _wasm_f64_ceil_wide32)
setEntryAddressWide32(88, _wasm_f64_floor_wide32)
setEntryAddressWide32(89, _wasm_f64_trunc_wide32)
setEntryAddressWide32(90, _wasm_f64_nearest_wide32)
setEntryAddressWide32(91, _wasm_f64_sqrt_wide32)
setEntryAddressWide32(92, _wasm_f64_eq_wide32)
setEntryAddressWide32(93, _wasm_f64_ne_wide32)
setEntryAddressWide32(94, _wasm_f64_lt_wide32)
setEntryAddressWide32(95, _wasm_f64_le_wide32)
setEntryAddressWide32(96, _wasm_f64_gt_wide32)
setEntryAddressWide32(97, _wasm_f64_ge_wide32)
setEntryAddressWide32(98, _wasm_i32_trunc_s_f32_wide32)
setEntryAddressWide32(99, _wasm_i32_trunc_s_f64_wide32)
setEntryAddressWide32(100, _wasm_i32_trunc_u_f32_wide32)
setEntryAddressWide32(101, _wasm_i32_trunc_u_f64_wide32)
setEntryAddressWide32(102, _wasm_i32_wrap_i64_wide32)
setEntryAddressWide32(103, _wasm_i64_trunc_s_f32_wide32)
setEntryAddressWide32(104, _wasm_i64_trunc_s_f64_wide32)
setEntryAddressWide32(105, _wasm_i64_trunc_u_f32_wide32)
setEntryAddressWide32(106, _wasm_i64_trunc_u_f64_wide32)
setEntryAddressWide32(107, _wasm_i64_extend_s_i32_wide32)
setEntryAddressWide32(108, _wasm_i64_extend_u_i32_wide32)
setEntryAddressWide32(109, _wasm_f32_convert_s_i32_wide32)
setEntryAddressWide32(110, _wasm_f32_convert_u_i32_wide32)
setEntryAddressWide32(111, _wasm_f32_convert_s_i64_wide32)
setEntryAddressWide32(112, _wasm_f32_convert_u_i64_wide32)
setEntryAddressWide32(113, _wasm_f32_demote_f64_wide32)
setEntryAddressWide32(114, _wasm_f32_reinterpret_i32_wide32)
setEntryAddressWide32(115, _wasm_f64_convert_s_i32_wide32)
setEntryAddressWide32(116, _wasm_f64_convert_u_i32_wide32)
setEntryAddressWide32(117, _wasm_f64_convert_s_i64_wide32)
setEntryAddressWide32(118, _wasm_f64_convert_u_i64_wide32)
setEntryAddressWide32(119, _wasm_f64_promote_f32_wide32)
setEntryAddressWide32(120, _wasm_f64_reinterpret_i64_wide32)
setEntryAddressWide32(121, _wasm_i32_reinterpret_f32_wide32)
setEntryAddressWide32(122, _wasm_i64_reinterpret_f64_wide32)
setEntryAddressWide32(123, _wasm_i32_extend8_s_wide32)
setEntryAddressWide32(124, _wasm_i32_extend16_s_wide32)
setEntryAddressWide32(125, _wasm_i64_extend8_s_wide32)
setEntryAddressWide32(126, _wasm_i64_extend16_s_wide32)
setEntryAddressWide32(127, _wasm_i64_extend32_s_wide32)
setEntryAddressWide32(128, _wasm_throw_from_slow_path_trampoline_wide32)
setEntryAddressWide32(129, _wasm_throw_from_fault_handler_trampoline_wide32)
setEntryAddressWide32(130, _wasm_call_return_location_wide32)
setEntryAddressWide32(131, _wasm_call_no_tls_return_location_wide32)
setEntryAddressWide32(132, _wasm_call_indirect_return_location_wide32)
setEntryAddressWide32(133, _wasm_call_indirect_no_tls_return_location_wide32)
setEntryAddressWide32(134, _wasm_wide16_wide32)
setEntryAddressWide32(135, _wasm_wide32_wide32)
setEntryAddressWide32(136, _wasm_enter_wide32)
setEntryAddressWide32(137, _wasm_nop_wide32)
setEntryAddressWide32(138, _wasm_loop_hint_wide32)
setEntryAddressWide32(139, _wasm_mov_wide32)
setEntryAddressWide32(140, _wasm_jtrue_wide32)
setEntryAddressWide32(141, _wasm_jfalse_wide32)
setEntryAddressWide32(142, _wasm_jmp_wide32)
setEntryAddressWide32(143, _wasm_ret_wide32)
setEntryAddressWide32(144, _wasm_switch_wide32)
setEntryAddressWide32(145, _wasm_unreachable_wide32)
setEntryAddressWide32(146, _wasm_ret_void_wide32)
setEntryAddressWide32(147, _wasm_drop_keep_wide32)
setEntryAddressWide32(148, _wasm_ref_is_null_wide32)
setEntryAddressWide32(149, _wasm_ref_func_wide32)
setEntryAddressWide32(150, _wasm_get_global_wide32)
setEntryAddressWide32(151, _wasm_set_global_wide32)
setEntryAddressWide32(152, _wasm_set_global_ref_wide32)
setEntryAddressWide32(153, _wasm_get_global_portable_binding_wide32)
setEntryAddressWide32(154, _wasm_set_global_portable_binding_wide32)
setEntryAddressWide32(155, _wasm_set_global_ref_portable_binding_wide32)
setEntryAddressWide32(156, _wasm_table_get_wide32)
setEntryAddressWide32(157, _wasm_table_set_wide32)
setEntryAddressWide32(158, _wasm_table_init_wide32)
setEntryAddressWide32(159, _wasm_elem_drop_wide32)
setEntryAddressWide32(160, _wasm_table_size_wide32)
setEntryAddressWide32(161, _wasm_table_grow_wide32)
setEntryAddressWide32(162, _wasm_table_fill_wide32)
setEntryAddressWide32(163, _wasm_table_copy_wide32)
setEntryAddressWide32(164, _wasm_call_wide32)
setEntryAddressWide32(165, _wasm_call_no_tls_wide32)
setEntryAddressWide32(166, _wasm_call_indirect_wide32)
setEntryAddressWide32(167, _wasm_call_indirect_no_tls_wide32)
setEntryAddressWide32(168, _wasm_current_memory_wide32)
setEntryAddressWide32(169, _wasm_grow_memory_wide32)
setEntryAddressWide32(170, _wasm_memory_fill_wide32)
setEntryAddressWide32(171, _wasm_memory_copy_wide32)
setEntryAddressWide32(172, _wasm_memory_init_wide32)
setEntryAddressWide32(173, _wasm_data_drop_wide32)
setEntryAddressWide32(174, _wasm_select_wide32)
setEntryAddressWide32(175, _wasm_load8_u_wide32)
setEntryAddressWide32(176, _wasm_load16_u_wide32)
setEntryAddressWide32(177, _wasm_load32_u_wide32)
setEntryAddressWide32(178, _wasm_load64_u_wide32)
setEntryAddressWide32(179, _wasm_i32_load8_s_wide32)
setEntryAddressWide32(180, _wasm_i64_load8_s_wide32)
setEntryAddressWide32(181, _wasm_i32_load16_s_wide32)
setEntryAddressWide32(182, _wasm_i64_load16_s_wide32)
setEntryAddressWide32(183, _wasm_i64_load32_s_wide32)
setEntryAddressWide32(184, _wasm_store8_wide32)
setEntryAddressWide32(185, _wasm_store16_wide32)
setEntryAddressWide32(186, _wasm_store32_wide32)
setEntryAddressWide32(187, _wasm_store64_wide32)
setEntryAddressWide32(188, _wasm_i64_atomic_rmw_add_wide32)
setEntryAddressWide32(189, _wasm_i64_atomic_rmw8_add_u_wide32)
setEntryAddressWide32(190, _wasm_i64_atomic_rmw16_add_u_wide32)
setEntryAddressWide32(191, _wasm_i64_atomic_rmw32_add_u_wide32)
setEntryAddressWide32(192, _wasm_i64_atomic_rmw_sub_wide32)
setEntryAddressWide32(193, _wasm_i64_atomic_rmw8_sub_u_wide32)
setEntryAddressWide32(194, _wasm_i64_atomic_rmw16_sub_u_wide32)
setEntryAddressWide32(195, _wasm_i64_atomic_rmw32_sub_u_wide32)
setEntryAddressWide32(196, _wasm_i64_atomic_rmw_and_wide32)
setEntryAddressWide32(197, _wasm_i64_atomic_rmw8_and_u_wide32)
setEntryAddressWide32(198, _wasm_i64_atomic_rmw16_and_u_wide32)
setEntryAddressWide32(199, _wasm_i64_atomic_rmw32_and_u_wide32)
setEntryAddressWide32(200, _wasm_i64_atomic_rmw_or_wide32)
setEntryAddressWide32(201, _wasm_i64_atomic_rmw8_or_u_wide32)
setEntryAddressWide32(202, _wasm_i64_atomic_rmw16_or_u_wide32)
setEntryAddressWide32(203, _wasm_i64_atomic_rmw32_or_u_wide32)
setEntryAddressWide32(204, _wasm_i64_atomic_rmw_xor_wide32)
setEntryAddressWide32(205, _wasm_i64_atomic_rmw8_xor_u_wide32)
setEntryAddressWide32(206, _wasm_i64_atomic_rmw16_xor_u_wide32)
setEntryAddressWide32(207, _wasm_i64_atomic_rmw32_xor_u_wide32)
setEntryAddressWide32(208, _wasm_i64_atomic_rmw_xchg_wide32)
setEntryAddressWide32(209, _wasm_i64_atomic_rmw8_xchg_u_wide32)
setEntryAddressWide32(210, _wasm_i64_atomic_rmw16_xchg_u_wide32)
setEntryAddressWide32(211, _wasm_i64_atomic_rmw32_xchg_u_wide32)
setEntryAddressWide32(212, _wasm_i64_atomic_rmw_cmpxchg_wide32)
setEntryAddressWide32(213, _wasm_i64_atomic_rmw8_cmpxchg_u_wide32)
setEntryAddressWide32(214, _wasm_i64_atomic_rmw16_cmpxchg_u_wide32)
setEntryAddressWide32(215, _wasm_i64_atomic_rmw32_cmpxchg_u_wide32)
setEntryAddressWide32(216, _wasm_memory_atomic_wait32_wide32)
setEntryAddressWide32(217, _wasm_memory_atomic_wait64_wide32)
setEntryAddressWide32(218, _wasm_memory_atomic_notify_wide32)
setEntryAddressWide32(219, _wasm_i32_add_wide32)
# SHA1Hash: 3d3a1f42aeb06c9364881766680c852da64d3ae3

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,29 @@
// Automatically generated from JavaScriptCore/runtime/InspectorInstrumentationObject.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex inspectorInstrumentationObjectTableIndex[9] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 8 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ 2, -1 },
};
static const struct HashTableValue inspectorInstrumentationObjectTableValues[3] = {
{ "log", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(inspectorInstrumentationObjectLog), (intptr_t)(1) } },
{ "promiseFulfilled", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(inspectorInstrumentationObjectPromiseFulfilledCodeGenerator), (intptr_t)3 } },
{ "promiseRejected", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(inspectorInstrumentationObjectPromiseRejectedCodeGenerator), (intptr_t)3 } },
};
static const struct HashTable inspectorInstrumentationObjectTable =
{ 3, 7, false, nullptr, inspectorInstrumentationObjectTableValues, inspectorInstrumentationObjectTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlCollatorConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex collatorConstructorTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue collatorConstructorTableValues[1] = {
{ "supportedLocalesOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlCollatorConstructorFuncSupportedLocalesOf), (intptr_t)(1) } },
};
static const struct HashTable collatorConstructorTable =
{ 1, 1, false, nullptr, collatorConstructorTableValues, collatorConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,22 @@
// Automatically generated from JavaScriptCore/runtime/IntlCollatorPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex collatorPrototypeTableIndex[4] = {
{ 0, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
};
static const struct HashTableValue collatorPrototypeTableValues[2] = {
{ "compare", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlCollatorPrototypeGetterCompare), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlCollatorPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable collatorPrototypeTable =
{ 2, 3, true, nullptr, collatorPrototypeTableValues, collatorPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlDateTimeFormatConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex dateTimeFormatConstructorTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue dateTimeFormatConstructorTableValues[1] = {
{ "supportedLocalesOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDateTimeFormatConstructorFuncSupportedLocalesOf), (intptr_t)(1) } },
};
static const struct HashTable dateTimeFormatConstructorTable =
{ 1, 1, false, nullptr, dateTimeFormatConstructorTableValues, dateTimeFormatConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,29 @@
// Automatically generated from JavaScriptCore/runtime/IntlDateTimeFormatPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex dateTimeFormatPrototypeTableIndex[9] = {
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ 3, -1 },
{ -1, -1 },
{ 0, 8 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
};
static const struct HashTableValue dateTimeFormatPrototypeTableValues[4] = {
{ "format", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDateTimeFormatPrototypeGetterFormat), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "formatRange", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDateTimeFormatPrototypeFuncFormatRange), (intptr_t)(2) } },
{ "formatToParts", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDateTimeFormatPrototypeFuncFormatToParts), (intptr_t)(1) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDateTimeFormatPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable dateTimeFormatPrototypeTable =
{ 4, 7, true, nullptr, dateTimeFormatPrototypeTableValues, dateTimeFormatPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlDisplayNamesConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex displayNamesConstructorTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue displayNamesConstructorTableValues[1] = {
{ "supportedLocalesOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDisplayNamesConstructorSupportedLocalesOf), (intptr_t)(1) } },
};
static const struct HashTable displayNamesConstructorTable =
{ 1, 1, false, nullptr, displayNamesConstructorTableValues, displayNamesConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,23 @@
// Automatically generated from JavaScriptCore/runtime/IntlDisplayNamesPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex displayNamesPrototypeTableIndex[5] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 4 },
{ 1, -1 },
};
static const struct HashTableValue displayNamesPrototypeTableValues[2] = {
{ "of", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDisplayNamesPrototypeFuncOf), (intptr_t)(1) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDisplayNamesPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable displayNamesPrototypeTable =
{ 2, 3, false, nullptr, displayNamesPrototypeTableValues, displayNamesPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlListFormatConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex listFormatConstructorTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue listFormatConstructorTableValues[1] = {
{ "supportedLocalesOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlListFormatConstructorSupportedLocalesOf), (intptr_t)(1) } },
};
static const struct HashTable listFormatConstructorTable =
{ 1, 1, false, nullptr, listFormatConstructorTableValues, listFormatConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,28 @@
// Automatically generated from JavaScriptCore/runtime/IntlListFormatPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex listFormatPrototypeTableIndex[9] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ 0, 8 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
};
static const struct HashTableValue listFormatPrototypeTableValues[3] = {
{ "format", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlListFormatPrototypeFuncFormat), (intptr_t)(1) } },
{ "formatToParts", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlListFormatPrototypeFuncFormatToParts), (intptr_t)(1) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlListFormatPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable listFormatPrototypeTable =
{ 3, 7, false, nullptr, listFormatPrototypeTableValues, listFormatPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,65 @@
// Automatically generated from JavaScriptCore/runtime/IntlLocalePrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex localePrototypeTableIndex[36] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 10, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 6, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, 35 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 7, -1 },
{ 11, -1 },
{ 0, 32 },
{ -1, -1 },
{ 2, 33 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, -1 },
{ 8, 34 },
{ 9, -1 },
{ 12, -1 },
};
static const struct HashTableValue localePrototypeTableValues[13] = {
{ "maximize", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeFuncMaximize), (intptr_t)(0) } },
{ "minimize", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeFuncMinimize), (intptr_t)(0) } },
{ "toString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeFuncToString), (intptr_t)(0) } },
{ "baseName", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterBaseName), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "calendar", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterCalendar), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "caseFirst", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterCaseFirst), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "collation", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterCollation), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "hourCycle", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterHourCycle), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "numeric", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterNumeric), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "numberingSystem", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterNumberingSystem), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "language", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterLanguage), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "script", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterScript), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "region", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlLocalePrototypeGetterRegion), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
};
static const struct HashTable localePrototypeTable =
{ 13, 31, true, nullptr, localePrototypeTableValues, localePrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlNumberFormatConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex numberFormatConstructorTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue numberFormatConstructorTableValues[1] = {
{ "supportedLocalesOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlNumberFormatConstructorFuncSupportedLocalesOf), (intptr_t)(1) } },
};
static const struct HashTable numberFormatConstructorTable =
{ 1, 1, false, nullptr, numberFormatConstructorTableValues, numberFormatConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,28 @@
// Automatically generated from JavaScriptCore/runtime/IntlNumberFormatPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex numberFormatPrototypeTableIndex[9] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ 0, 8 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
};
static const struct HashTableValue numberFormatPrototypeTableValues[3] = {
{ "format", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlNumberFormatPrototypeGetterFormat), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "formatToParts", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlNumberFormatPrototypeFuncFormatToParts), (intptr_t)(1) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlNumberFormatPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable numberFormatPrototypeTable =
{ 3, 7, true, nullptr, numberFormatPrototypeTableValues, numberFormatPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,41 @@
// Automatically generated from JavaScriptCore/runtime/IntlObject.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex intlObjectTableIndex[17] = {
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ 2, -1 },
{ 7, -1 },
{ 3, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 16 },
{ 6, -1 },
};
static const struct HashTableValue intlObjectTableValues[8] = {
{ "getCanonicalLocales", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(intlObjectFuncGetCanonicalLocales), (intptr_t)(1) } },
{ "Collator", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createCollatorConstructor), (intptr_t)(0) } },
{ "DateTimeFormat", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createDateTimeFormatConstructor), (intptr_t)(0) } },
{ "Locale", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createLocaleConstructor), (intptr_t)(0) } },
{ "NumberFormat", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createNumberFormatConstructor), (intptr_t)(0) } },
{ "PluralRules", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createPluralRulesConstructor), (intptr_t)(0) } },
{ "RelativeTimeFormat", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createRelativeTimeFormatConstructor), (intptr_t)(0) } },
{ "Segmenter", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createSegmenterConstructor), (intptr_t)(0) } },
};
static const struct HashTable intlObjectTable =
{ 8, 15, false, nullptr, intlObjectTableValues, intlObjectTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlPluralRulesConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex pluralRulesConstructorTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue pluralRulesConstructorTableValues[1] = {
{ "supportedLocalesOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlPluralRulesConstructorFuncSupportedLocalesOf), (intptr_t)(1) } },
};
static const struct HashTable pluralRulesConstructorTable =
{ 1, 1, false, nullptr, pluralRulesConstructorTableValues, pluralRulesConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,23 @@
// Automatically generated from JavaScriptCore/runtime/IntlPluralRulesPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex pluralRulesPrototypeTableIndex[5] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 4 },
{ 1, -1 },
};
static const struct HashTableValue pluralRulesPrototypeTableValues[2] = {
{ "select", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlPluralRulesPrototypeFuncSelect), (intptr_t)(1) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlPluralRulesPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable pluralRulesPrototypeTable =
{ 2, 3, false, nullptr, pluralRulesPrototypeTableValues, pluralRulesPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlRelativeTimeFormatConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex relativeTimeFormatConstructorTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue relativeTimeFormatConstructorTableValues[1] = {
{ "supportedLocalesOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlRelativeTimeFormatConstructorFuncSupportedLocalesOf), (intptr_t)(1) } },
};
static const struct HashTable relativeTimeFormatConstructorTable =
{ 1, 1, false, nullptr, relativeTimeFormatConstructorTableValues, relativeTimeFormatConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,28 @@
// Automatically generated from JavaScriptCore/runtime/IntlRelativeTimeFormatPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex relativeTimeFormatPrototypeTableIndex[9] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ 0, 8 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
};
static const struct HashTableValue relativeTimeFormatPrototypeTableValues[3] = {
{ "format", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlRelativeTimeFormatPrototypeFuncFormat), (intptr_t)(2) } },
{ "formatToParts", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlRelativeTimeFormatPrototypeFuncFormatToParts), (intptr_t)(2) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlRelativeTimeFormatPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable relativeTimeFormatPrototypeTable =
{ 3, 7, false, nullptr, relativeTimeFormatPrototypeTableValues, relativeTimeFormatPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlSegmentIteratorPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex segmentIteratorPrototypeTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue segmentIteratorPrototypeTableValues[1] = {
{ "next", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlSegmentIteratorPrototypeFuncNext), (intptr_t)(0) } },
};
static const struct HashTable segmentIteratorPrototypeTable =
{ 1, 1, false, nullptr, segmentIteratorPrototypeTableValues, segmentIteratorPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlSegmenterConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex segmenterConstructorTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue segmenterConstructorTableValues[1] = {
{ "supportedLocalesOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlSegmenterConstructorSupportedLocalesOf), (intptr_t)(1) } },
};
static const struct HashTable segmenterConstructorTable =
{ 1, 1, false, nullptr, segmenterConstructorTableValues, segmenterConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,23 @@
// Automatically generated from JavaScriptCore/runtime/IntlSegmenterPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex segmenterPrototypeTableIndex[5] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 4 },
{ 1, -1 },
};
static const struct HashTableValue segmenterPrototypeTableValues[2] = {
{ "segment", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlSegmenterPrototypeFuncSegment), (intptr_t)(1) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlSegmenterPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable segmenterPrototypeTable =
{ 2, 3, false, nullptr, segmenterPrototypeTableValues, segmenterPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/runtime/IntlSegmentsPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex segmentsPrototypeTableIndex[2] = {
{ 0, -1 },
{ -1, -1 },
};
static const struct HashTableValue segmentsPrototypeTableValues[1] = {
{ "containing", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlSegmentsPrototypeFuncContaining), (intptr_t)(1) } },
};
static const struct HashTable segmentsPrototypeTable =
{ 1, 1, false, nullptr, segmentsPrototypeTableValues, segmentsPrototypeTableIndex };
} // namespace JSC

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,103 @@
// Automatically generated from JavaScriptCore/runtime/JSDataViewPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex dataViewTableIndex[68] = {
{ -1, -1 },
{ -1, -1 },
{ 18, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 10, -1 },
{ -1, -1 },
{ 16, -1 },
{ -1, -1 },
{ 17, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 9, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 66 },
{ -1, -1 },
{ 1, 67 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 6, -1 },
{ -1, -1 },
{ -1, -1 },
{ 13, -1 },
{ 2, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 5, 64 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 12, -1 },
{ 3, 65 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ -1, -1 },
{ 11, -1 },
{ -1, -1 },
{ 7, -1 },
{ 8, -1 },
{ 14, -1 },
{ 15, -1 },
};
static const struct HashTableValue dataViewTableValues[19] = {
{ "getInt8", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewGetInt8, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncGetInt8), (intptr_t)(1) } },
{ "getUint8", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewGetUint8, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncGetUint8), (intptr_t)(1) } },
{ "getInt16", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewGetInt16, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncGetInt16), (intptr_t)(1) } },
{ "getUint16", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewGetUint16, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncGetUint16), (intptr_t)(1) } },
{ "getInt32", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewGetInt32, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncGetInt32), (intptr_t)(1) } },
{ "getUint32", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewGetUint32, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncGetUint32), (intptr_t)(1) } },
{ "getFloat32", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewGetFloat32, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncGetFloat32), (intptr_t)(1) } },
{ "getFloat64", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewGetFloat64, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncGetFloat64), (intptr_t)(1) } },
{ "setInt8", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewSetInt8, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncSetInt8), (intptr_t)(2) } },
{ "setUint8", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewSetUint8, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncSetUint8), (intptr_t)(2) } },
{ "setInt16", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewSetInt16, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncSetInt16), (intptr_t)(2) } },
{ "setUint16", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewSetUint16, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncSetUint16), (intptr_t)(2) } },
{ "setInt32", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewSetInt32, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncSetInt32), (intptr_t)(2) } },
{ "setUint32", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewSetUint32, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncSetUint32), (intptr_t)(2) } },
{ "setFloat32", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewSetFloat32, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncSetFloat32), (intptr_t)(2) } },
{ "setFloat64", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), DataViewSetFloat64, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoFuncSetFloat64), (intptr_t)(2) } },
{ "buffer", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoGetterBuffer), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "byteLength", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoGetterByteLength), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "byteOffset", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dataViewProtoGetterByteOffset), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
};
static const struct HashTable dataViewTable =
{ 19, 63, true, nullptr, dataViewTableValues, dataViewTableIndex };
} // namespace JSC

View File

@ -0,0 +1,197 @@
// Automatically generated from JavaScriptCore/runtime/JSGlobalObject.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex globalObjectTableIndex[136] = {
{ -1, -1 },
{ 7, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 37, -1 },
{ -1, -1 },
{ 28, -1 },
{ -1, -1 },
{ -1, -1 },
{ 11, -1 },
{ -1, -1 },
{ -1, -1 },
{ 38, 134 },
{ 13, 129 },
{ 0, -1 },
{ 25, -1 },
{ -1, -1 },
{ 29, -1 },
{ -1, -1 },
{ -1, -1 },
{ 12, -1 },
{ 27, -1 },
{ -1, -1 },
{ -1, -1 },
{ 39, 135 },
{ -1, -1 },
{ 35, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, 128 },
{ 9, -1 },
{ -1, -1 },
{ -1, -1 },
{ 43, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 8, 130 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 6, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 32, -1 },
{ -1, -1 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 15, -1 },
{ -1, -1 },
{ 23, -1 },
{ 42, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ -1, -1 },
{ 34, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 36, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 20, 132 },
{ 14, -1 },
{ 19, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, 131 },
{ -1, -1 },
{ 30, -1 },
{ -1, -1 },
{ 17, -1 },
{ -1, -1 },
{ -1, -1 },
{ 16, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 10, 133 },
{ 22, -1 },
{ 33, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ 18, -1 },
{ 21, -1 },
{ 24, -1 },
{ 26, -1 },
{ 31, -1 },
{ 40, -1 },
{ 41, -1 },
};
static const struct HashTableValue globalObjectTableValues[44] = {
{ "isNaN", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(globalObjectIsNaNCodeGenerator), (intptr_t)1 } },
{ "isFinite", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(globalObjectIsFiniteCodeGenerator), (intptr_t)1 } },
{ "escape", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncEscape), (intptr_t)(1) } },
{ "unescape", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncUnescape), (intptr_t)(1) } },
{ "decodeURI", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncDecodeURI), (intptr_t)(1) } },
{ "decodeURIComponent", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncDecodeURIComponent), (intptr_t)(1) } },
{ "encodeURI", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncEncodeURI), (intptr_t)(1) } },
{ "encodeURIComponent", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(globalFuncEncodeURIComponent), (intptr_t)(1) } },
{ "eval", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::CellProperty), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_evalFunction)), (intptr_t)(0) } },
{ "globalThis", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::CellProperty), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_globalThis)), (intptr_t)(0) } },
{ "parseInt", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::CellProperty), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_parseIntFunction)), (intptr_t)(0) } },
{ "parseFloat", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::CellProperty), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_parseFloatFunction)), (intptr_t)(0) } },
{ "ArrayBuffer", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_arrayBufferStructure)), (intptr_t)(0) } },
{ "EvalError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_evalErrorStructure)), (intptr_t)(0) } },
{ "RangeError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_rangeErrorStructure)), (intptr_t)(0) } },
{ "ReferenceError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_referenceErrorStructure)), (intptr_t)(0) } },
{ "SyntaxError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_syntaxErrorStructure)), (intptr_t)(0) } },
{ "TypeError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typeErrorStructure)), (intptr_t)(0) } },
{ "URIError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_URIErrorStructure)), (intptr_t)(0) } },
{ "AggregateError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_aggregateErrorStructure)), (intptr_t)(0) } },
{ "Proxy", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createProxyProperty), (intptr_t)(0) } },
{ "Reflect", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createReflectProperty), (intptr_t)(0) } },
{ "JSON", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createJSONProperty), (intptr_t)(0) } },
{ "Math", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createMathProperty), (intptr_t)(0) } },
{ "console", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createConsoleProperty), (intptr_t)(0) } },
{ "Int8Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayInt8)), (intptr_t)(0) } },
{ "Int16Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayInt16)), (intptr_t)(0) } },
{ "Int32Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayInt32)), (intptr_t)(0) } },
{ "Uint8Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayUint8)), (intptr_t)(0) } },
{ "Uint8ClampedArray", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayUint8Clamped)), (intptr_t)(0) } },
{ "Uint16Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayUint16)), (intptr_t)(0) } },
{ "Uint32Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayUint32)), (intptr_t)(0) } },
{ "Float32Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayFloat32)), (intptr_t)(0) } },
{ "Float64Array", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayFloat64)), (intptr_t)(0) } },
{ "DataView", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_typedArrayDataView)), (intptr_t)(0) } },
{ "Date", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_dateStructure)), (intptr_t)(0) } },
{ "Error", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_errorStructure)), (intptr_t)(0) } },
{ "Boolean", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_booleanObjectStructure)), (intptr_t)(0) } },
{ "Map", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_mapStructure)), (intptr_t)(0) } },
{ "Number", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_numberObjectStructure)), (intptr_t)(0) } },
{ "Set", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_setStructure)), (intptr_t)(0) } },
{ "Symbol", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_symbolObjectStructure)), (intptr_t)(0) } },
{ "WeakMap", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_weakMapStructure)), (intptr_t)(0) } },
{ "WeakSet", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_weakSetStructure)), (intptr_t)(0) } },
};
static const struct HashTable globalObjectTable =
{ 44, 127, false, nullptr, globalObjectTableValues, globalObjectTableIndex };
} // namespace JSC

View File

@ -0,0 +1,20 @@
// Automatically generated from JavaScriptCore/runtime/JSInternalPromiseConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex internalPromiseConstructorTableIndex[2] = {
{ 0, -1 },
{ -1, -1 },
};
static const struct HashTableValue internalPromiseConstructorTableValues[1] = {
{ "internalAll", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(internalPromiseConstructorInternalAllCodeGenerator), (intptr_t)1 } },
};
static const struct HashTable internalPromiseConstructorTable =
{ 1, 1, false, nullptr, internalPromiseConstructorTableValues, internalPromiseConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,105 @@
// Automatically generated from JavaScriptCore/runtime/JSModuleLoader.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex moduleLoaderTableIndex[66] = {
{ 13, -1 },
{ 18, -1 },
{ -1, -1 },
{ 9, -1 },
{ 16, -1 },
{ 10, -1 },
{ -1, -1 },
{ 11, 65 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ 19, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 12, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 15, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 14, -1 },
{ -1, -1 },
{ -1, -1 },
{ 7, -1 },
{ -1, -1 },
{ -1, -1 },
{ 20, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 21, -1 },
{ -1, -1 },
{ 0, 64 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 8, -1 },
{ 5, -1 },
{ -1, -1 },
{ 6, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ 4, -1 },
{ 17, -1 },
};
static const struct HashTableValue moduleLoaderTableValues[22] = {
{ "ensureRegistered", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderEnsureRegisteredCodeGenerator), (intptr_t)1 } },
{ "forceFulfillPromise", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderForceFulfillPromiseCodeGenerator), (intptr_t)2 } },
{ "fulfillFetch", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderFulfillFetchCodeGenerator), (intptr_t)2 } },
{ "requestFetch", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderRequestFetchCodeGenerator), (intptr_t)3 } },
{ "requestInstantiate", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderRequestInstantiateCodeGenerator), (intptr_t)3 } },
{ "requestSatisfy", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderRequestSatisfyCodeGenerator), (intptr_t)3 } },
{ "link", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderLinkCodeGenerator), (intptr_t)2 } },
{ "moduleDeclarationInstantiation", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderModuleDeclarationInstantiation), (intptr_t)(2) } },
{ "moduleEvaluation", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderModuleEvaluationCodeGenerator), (intptr_t)2 } },
{ "evaluate", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderEvaluate), (intptr_t)(3) } },
{ "provideFetch", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderProvideFetchCodeGenerator), (intptr_t)2 } },
{ "loadAndEvaluateModule", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderLoadAndEvaluateModuleCodeGenerator), (intptr_t)3 } },
{ "loadModule", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderLoadModuleCodeGenerator), (intptr_t)3 } },
{ "linkAndEvaluateModule", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderLinkAndEvaluateModuleCodeGenerator), (intptr_t)2 } },
{ "requestImportModule", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderRequestImportModuleCodeGenerator), (intptr_t)3 } },
{ "dependencyKeysIfEvaluated", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(moduleLoaderDependencyKeysIfEvaluatedCodeGenerator), (intptr_t)1 } },
{ "getModuleNamespaceObject", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderGetModuleNamespaceObject), (intptr_t)(1) } },
{ "parseModule", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderParseModule), (intptr_t)(2) } },
{ "requestedModules", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderRequestedModules), (intptr_t)(1) } },
{ "resolve", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderResolve), (intptr_t)(2) } },
{ "resolveSync", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderResolveSync), (intptr_t)(2) } },
{ "fetch", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(moduleLoaderFetch), (intptr_t)(3) } },
};
static const struct HashTable moduleLoaderTable =
{ 22, 63, false, nullptr, moduleLoaderTableValues, moduleLoaderTableIndex };
} // namespace JSC

View File

@ -0,0 +1,22 @@
// Automatically generated from JavaScriptCore/runtime/JSONObject.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex jsonTableIndex[4] = {
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ 1, -1 },
};
static const struct HashTableValue jsonTableValues[2] = {
{ "parse", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(JSONProtoFuncParse), (intptr_t)(2) } },
{ "stringify", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(JSONProtoFuncStringify), (intptr_t)(3) } },
};
static const struct HashTable jsonTable =
{ 2, 3, false, nullptr, jsonTableValues, jsonTableIndex };
} // namespace JSC

View File

@ -0,0 +1,41 @@
// Automatically generated from JavaScriptCore/runtime/JSPromiseConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex promiseConstructorTableIndex[18] = {
{ 2, -1 },
{ -1, -1 },
{ 0, 16 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, 17 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, -1 },
{ 5, -1 },
};
static const struct HashTableValue promiseConstructorTableValues[6] = {
{ "resolve", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorResolveCodeGenerator), (intptr_t)1 } },
{ "reject", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorRejectCodeGenerator), (intptr_t)1 } },
{ "race", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorRaceCodeGenerator), (intptr_t)1 } },
{ "all", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorAllCodeGenerator), (intptr_t)1 } },
{ "allSettled", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorAllSettledCodeGenerator), (intptr_t)1 } },
{ "any", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promiseConstructorAnyCodeGenerator), (intptr_t)1 } },
};
static const struct HashTable promiseConstructorTable =
{ 6, 15, false, nullptr, promiseConstructorTableValues, promiseConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,24 @@
// Automatically generated from JavaScriptCore/runtime/JSPromisePrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex promisePrototypeTableIndex[5] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 4 },
{ 1, -1 },
};
static const struct HashTableValue promisePrototypeTableValues[2] = {
{ "catch", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promisePrototypeCatchCodeGenerator), (intptr_t)1 } },
{ "finally", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promisePrototypeFinallyCodeGenerator), (intptr_t)1 } },
};
static const struct HashTable promisePrototypeTable =
{ 2, 3, false, nullptr, promisePrototypeTableValues, promisePrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,60 @@
// Automatically generated from JavaScriptCore/wasm/js/JSWebAssembly.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex webAssemblyTableIndex[33] = {
{ -1, -1 },
{ -1, -1 },
{ 0, 32 },
{ -1, -1 },
{ -1, -1 },
{ 8, -1 },
{ 10, -1 },
{ 2, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ 6, -1 },
{ -1, -1 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 7, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 9, -1 },
{ 1, -1 },
};
static const struct HashTableValue webAssemblyTableValues[11] = {
{ "CompileError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyCompileError), (intptr_t)(0) } },
{ "Global", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyGlobal), (intptr_t)(0) } },
{ "Instance", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyInstance), (intptr_t)(0) } },
{ "LinkError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyLinkError), (intptr_t)(0) } },
{ "Memory", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyMemory), (intptr_t)(0) } },
{ "Module", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyModule), (intptr_t)(0) } },
{ "RuntimeError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyRuntimeError), (intptr_t)(0) } },
{ "Table", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyTable), (intptr_t)(0) } },
{ "compile", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyCompileFunc), (intptr_t)(1) } },
{ "instantiate", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyInstantiateFunc), (intptr_t)(1) } },
{ "validate", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyValidateFunc), (intptr_t)(1) } },
};
static const struct HashTable webAssemblyTable =
{ 11, 31, false, nullptr, webAssemblyTableValues, webAssemblyTableIndex };
} // namespace JSC

View File

@ -0,0 +1 @@
../..

View File

@ -0,0 +1 @@
JavaScriptCore/builtins/AsyncFromSyncIteratorPrototype.js JavaScriptCore/builtins/ArrayConstructor.js JavaScriptCore/builtins/ArrayIteratorPrototype.js JavaScriptCore/builtins/ArrayPrototype.js JavaScriptCore/builtins/AsyncIteratorPrototype.js JavaScriptCore/builtins/AsyncFunctionPrototype.js JavaScriptCore/builtins/AsyncGeneratorPrototype.js JavaScriptCore/builtins/DatePrototype.js JavaScriptCore/builtins/FunctionPrototype.js JavaScriptCore/builtins/GeneratorPrototype.js JavaScriptCore/builtins/GlobalObject.js JavaScriptCore/builtins/GlobalOperations.js JavaScriptCore/builtins/InspectorInstrumentationObject.js JavaScriptCore/builtins/InternalPromiseConstructor.js JavaScriptCore/builtins/IteratorHelpers.js JavaScriptCore/builtins/IteratorPrototype.js JavaScriptCore/builtins/MapIteratorPrototype.js JavaScriptCore/builtins/MapPrototype.js JavaScriptCore/builtins/ModuleLoader.js JavaScriptCore/builtins/NumberConstructor.js JavaScriptCore/builtins/ObjectConstructor.js JavaScriptCore/builtins/PromiseConstructor.js JavaScriptCore/builtins/PromiseOperations.js JavaScriptCore/builtins/PromisePrototype.js JavaScriptCore/builtins/ReflectObject.js JavaScriptCore/builtins/RegExpPrototype.js JavaScriptCore/builtins/RegExpStringIteratorPrototype.js JavaScriptCore/builtins/SetIteratorPrototype.js JavaScriptCore/builtins/SetPrototype.js JavaScriptCore/builtins/StringConstructor.js JavaScriptCore/builtins/StringIteratorPrototype.js JavaScriptCore/builtins/StringPrototype.js JavaScriptCore/builtins/TypedArrayConstructor.js JavaScriptCore/builtins/TypedArrayPrototype.js JavaScriptCore/builtins/WebAssembly.js JavaScriptCore/Scripts/wkbuiltins/__init__.py JavaScriptCore/Scripts/wkbuiltins/wkbuiltins.py JavaScriptCore/Scripts/wkbuiltins/builtins_generator.py JavaScriptCore/Scripts/wkbuiltins/builtins_model.py JavaScriptCore/Scripts/wkbuiltins/builtins_templates.py JavaScriptCore/Scripts/wkbuiltins/builtins_generate_combined_header.py JavaScriptCore/Scripts/wkbuiltins/builtins_generate_combined_implementation.py JavaScriptCore/Scripts/wkbuiltins/builtins_generate_separate_header.py JavaScriptCore/Scripts/wkbuiltins/builtins_generate_separate_implementation.py JavaScriptCore/Scripts/wkbuiltins/builtins_generate_wrapper_header.py JavaScriptCore/Scripts/wkbuiltins/builtins_generate_wrapper_implementation.py JavaScriptCore/Scripts/wkbuiltins/builtins_generate_internals_wrapper_header.py JavaScriptCore/Scripts/wkbuiltins/builtins_generate_internals_wrapper_implementation.py JavaScriptCore/Scripts/generate-js-builtins.py JavaScriptCore/Scripts/lazywriter.py

View File

@ -0,0 +1,833 @@
// This file was generated by KeywordLookupGenerator.py. Do not edit.
#if CPU(NEEDS_ALIGNED_ACCESS)
#define COMPARE_2CHARS(address, char1, char2) \
(((address)[0] == char1) && ((address)[1] == char2))
#define COMPARE_4CHARS(address, char1, char2, char3, char4) \
(COMPARE_2CHARS(address, char1, char2) && COMPARE_2CHARS((address) + 2, char3, char4))
#define COMPARE_2UCHARS(address, char1, char2) \
(((address)[0] == char1) && ((address)[1] == char2))
#define COMPARE_4UCHARS(address, char1, char2, char3, char4) \
(COMPARE_2UCHARS(address, char1, char2) && COMPARE_2UCHARS((address) + 2, char3, char4))
#else // CPU(NEEDS_ALIGNED_ACCESS)
#if CPU(BIG_ENDIAN)
#define CHARPAIR_TOUINT16(a, b) \
((((uint16_t)(a)) << 8) + (uint16_t)(b))
#define CHARQUAD_TOUINT32(a, b, c, d) \
((((uint32_t)(CHARPAIR_TOUINT16(a, b))) << 16) + CHARPAIR_TOUINT16(c, d))
#define UCHARPAIR_TOUINT32(a, b) \
((((uint32_t)(a)) << 16) + (uint32_t)(b))
#define UCHARQUAD_TOUINT64(a, b, c, d) \
((((uint64_t)(UCHARQUAD_TOUINT64(a, b))) << 32) + UCHARPAIR_TOUINT32(c, d))
#else // CPU(BIG_ENDIAN)
#define CHARPAIR_TOUINT16(a, b) \
((((uint16_t)(b)) << 8) + (uint16_t)(a))
#define CHARQUAD_TOUINT32(a, b, c, d) \
((((uint32_t)(CHARPAIR_TOUINT16(c, d))) << 16) + CHARPAIR_TOUINT16(a, b))
#define UCHARPAIR_TOUINT32(a, b) \
((((uint32_t)(b)) << 16) + (uint32_t)(a))
#define UCHARQUAD_TOUINT64(a, b, c, d) \
((((uint64_t)(UCHARPAIR_TOUINT32(c, d))) << 32) + UCHARPAIR_TOUINT32(a, b))
#endif // CPU(BIG_ENDIAN)
#define COMPARE_2CHARS(address, char1, char2) \
((reinterpret_cast<const uint16_t*>(address))[0] == CHARPAIR_TOUINT16(char1, char2))
#define COMPARE_2UCHARS(address, char1, char2) \
((reinterpret_cast<const uint32_t*>(address))[0] == UCHARPAIR_TOUINT32(char1, char2))
#if CPU(X86_64)
#define COMPARE_4CHARS(address, char1, char2, char3, char4) \
((reinterpret_cast<const uint32_t*>(address))[0] == CHARQUAD_TOUINT32(char1, char2, char3, char4))
#define COMPARE_4UCHARS(address, char1, char2, char3, char4) \
((reinterpret_cast<const uint64_t*>(address))[0] == UCHARQUAD_TOUINT64(char1, char2, char3, char4))
#else // CPU(X86_64)
#define COMPARE_4CHARS(address, char1, char2, char3, char4) \
(COMPARE_2CHARS(address, char1, char2) && COMPARE_2CHARS((address) + 2, char3, char4))
#define COMPARE_4UCHARS(address, char1, char2, char3, char4) \
(COMPARE_2UCHARS(address, char1, char2) && COMPARE_2UCHARS((address) + 2, char3, char4))
#endif // CPU(X86_64)
#endif // CPU(NEEDS_ALIGNED_ACCESS)
#define COMPARE_3CHARS(address, char1, char2, char3) \
(COMPARE_2CHARS(address, char1, char2) && ((address)[2] == (char3)))
#define COMPARE_3UCHARS(address, char1, char2, char3) \
(COMPARE_2UCHARS(address, char1, char2) && ((address)[2] == (char3)))
#define COMPARE_5CHARS(address, char1, char2, char3, char4, char5) \
(COMPARE_4CHARS(address, char1, char2, char3, char4) && ((address)[4] == (char5)))
#define COMPARE_5UCHARS(address, char1, char2, char3, char4, char5) \
(COMPARE_4UCHARS(address, char1, char2, char3, char4) && ((address)[4] == (char5)))
#define COMPARE_6CHARS(address, char1, char2, char3, char4, char5, char6) \
(COMPARE_4CHARS(address, char1, char2, char3, char4) && COMPARE_2CHARS(address + 4, char5, char6))
#define COMPARE_6UCHARS(address, char1, char2, char3, char4, char5, char6) \
(COMPARE_4UCHARS(address, char1, char2, char3, char4) && COMPARE_2UCHARS(address + 4, char5, char6))
#define COMPARE_7CHARS(address, char1, char2, char3, char4, char5, char6, char7) \
(COMPARE_4CHARS(address, char1, char2, char3, char4) && COMPARE_4CHARS(address + 3, char4, char5, char6, char7))
#define COMPARE_7UCHARS(address, char1, char2, char3, char4, char5, char6, char7) \
(COMPARE_4UCHARS(address, char1, char2, char3, char4) && COMPARE_4UCHARS(address + 3, char4, char5, char6, char7))
#define COMPARE_8CHARS(address, char1, char2, char3, char4, char5, char6, char7, char8) \
(COMPARE_4CHARS(address, char1, char2, char3, char4) && COMPARE_4CHARS(address + 4, char5, char6, char7, char8))
#define COMPARE_8UCHARS(address, char1, char2, char3, char4, char5, char6, char7, char8) \
(COMPARE_4UCHARS(address, char1, char2, char3, char4) && COMPARE_4UCHARS(address + 4, char5, char6, char7, char8))
namespace JSC {
static ALWAYS_INLINE bool cannotBeIdentPartOrEscapeStart(LChar);
static ALWAYS_INLINE bool cannotBeIdentPartOrEscapeStart(UChar);
static constexpr int maxTokenLength = 11;
template <>
template <bool shouldCreateIdentifier> ALWAYS_INLINE JSTokenType Lexer<UChar>::parseKeyword(JSTokenData* data)
{
ASSERT(m_codeEnd - m_code >= maxTokenLength);
const UChar* code = m_code;
if (code[0] == 'f') {
if (COMPARE_7UCHARS(code + 1, 'u', 'n', 'c', 't', 'i', 'o', 'n')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[8]))) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->functionKeyword;
return FUNCTION;
}
} else if (COMPARE_2UCHARS(code + 1, 'o', 'r')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->forKeyword;
return FOR;
}
} else if (COMPARE_4UCHARS(code + 1, 'a', 'l', 's', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->falseKeyword;
return FALSETOKEN;
}
} else if (COMPARE_6UCHARS(code + 1, 'i', 'n', 'a', 'l', 'l', 'y')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->finallyKeyword;
return FINALLY;
}
}
} else if (code[0] == 't') {
if (code[1] == 'h') {
if (COMPARE_2UCHARS(code + 2, 'i', 's')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->thisKeyword;
return THISTOKEN;
}
} else if (COMPARE_4UCHARS(code + 1, 'h', 'r', 'o', 'w')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->throwKeyword;
return THROW;
}
}
} else if (code[1] == 'r') {
if (COMPARE_2UCHARS(code + 2, 'u', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->trueKeyword;
return TRUETOKEN;
}
} else if (code[2] == 'y') {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->tryKeyword;
return TRY;
}
}
} else if (COMPARE_5UCHARS(code + 1, 'y', 'p', 'e', 'o', 'f')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->typeofKeyword;
return TYPEOF;
}
}
} else if (code[0] == 'i') {
if (code[1] == 'f') {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[2]))) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->ifKeyword;
return IF;
}
} else if (code[1] == 'n') {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[2]))) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->inKeyword;
return INTOKEN;
}
if (COMPARE_7UCHARS(code + 2, 't', 'e', 'r', 'f', 'a', 'c', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[9]))) {
internalShift<9>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->interfaceKeyword;
return RESERVED_IF_STRICT;
}
} else if (COMPARE_8UCHARS(code + 2, 's', 't', 'a', 'n', 'c', 'e', 'o', 'f')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[10]))) {
internalShift<10>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->instanceofKeyword;
return INSTANCEOF;
}
}
} else if (COMPARE_2UCHARS(code + 1, 'm', 'p')) {
if (COMPARE_4UCHARS(code + 2, 'p', 'o', 'r', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->importKeyword;
return IMPORT;
}
} else if (COMPARE_7UCHARS(code + 3, 'l', 'e', 'm', 'e', 'n', 't', 's')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[10]))) {
internalShift<10>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->implementsKeyword;
return RESERVED_IF_STRICT;
}
}
}
} else if (code[0] == 'v') {
if (COMPARE_2UCHARS(code + 1, 'a', 'r')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->varKeyword;
return VAR;
}
} else if (COMPARE_4UCHARS(code, 'v', 'o', 'i', 'd')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->voidKeyword;
return VOIDTOKEN;
}
}
} else if (COMPARE_6UCHARS(code, 'r', 'e', 't', 'u', 'r', 'n')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->returnKeyword;
return RETURN;
}
} else if (code[0] == 'n') {
if (COMPARE_4UCHARS(code, 'n', 'u', 'l', 'l')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->nullKeyword;
return NULLTOKEN;
}
} else if (COMPARE_2UCHARS(code + 1, 'e', 'w')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->newKeyword;
return NEW;
}
}
} else if (code[0] == 'e') {
if (COMPARE_4UCHARS(code, 'e', 'l', 's', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->elseKeyword;
return ELSE;
}
} else if (code[1] == 'x') {
if (COMPARE_4UCHARS(code + 2, 'p', 'o', 'r', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->exportKeyword;
return EXPORT_;
}
} else if (COMPARE_5UCHARS(code + 2, 't', 'e', 'n', 'd', 's')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->extendsKeyword;
return EXTENDS;
}
}
} else if (COMPARE_4UCHARS(code, 'e', 'n', 'u', 'm')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->enumKeyword;
return RESERVED;
}
}
} else if (code[0] == 'c') {
if (code[1] == 'a') {
if (COMPARE_4UCHARS(code + 1, 'a', 't', 'c', 'h')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->catchKeyword;
return CATCH;
}
} else if (COMPARE_2UCHARS(code + 2, 's', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->caseKeyword;
return CASE;
}
}
} else if (COMPARE_2UCHARS(code + 1, 'o', 'n')) {
if (COMPARE_5UCHARS(code + 3, 't', 'i', 'n', 'u', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[8]))) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->continueKeyword;
return CONTINUE;
}
} else if (COMPARE_2UCHARS(code + 3, 's', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->constKeyword;
return CONSTTOKEN;
}
}
} else if (COMPARE_4UCHARS(code + 1, 'l', 'a', 's', 's')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->classKeyword;
return CLASSTOKEN;
}
}
} else if (COMPARE_5UCHARS(code, 'b', 'r', 'e', 'a', 'k')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->breakKeyword;
return BREAK;
}
} else if (code[0] == 'w') {
if (COMPARE_4UCHARS(code + 1, 'h', 'i', 'l', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->whileKeyword;
return WHILE;
}
} else if (COMPARE_4UCHARS(code, 'w', 'i', 't', 'h')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->withKeyword;
return WITH;
}
}
} else if (code[0] == 'd') {
if (code[1] == 'e') {
if (COMPARE_5UCHARS(code + 2, 'f', 'a', 'u', 'l', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->defaultKeyword;
return DEFAULT;
}
} else if (COMPARE_6UCHARS(code + 2, 'b', 'u', 'g', 'g', 'e', 'r')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[8]))) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->debuggerKeyword;
return DEBUGGER;
}
} else if (COMPARE_4UCHARS(code + 2, 'l', 'e', 't', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->deleteKeyword;
return DELETETOKEN;
}
}
} else if (code[1] == 'o') {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[2]))) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->doKeyword;
return DO;
}
}
} else if (COMPARE_5UCHARS(code, 'a', 'w', 'a', 'i', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->awaitKeyword;
return AWAIT;
}
} else if (COMPARE_5UCHARS(code, 'y', 'i', 'e', 'l', 'd')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->yieldKeyword;
return YIELD;
}
} else if (code[0] == 'p') {
if (code[1] == 'r') {
if (COMPARE_5UCHARS(code + 2, 'i', 'v', 'a', 't', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->privateKeyword;
return RESERVED_IF_STRICT;
}
} else if (COMPARE_7UCHARS(code + 2, 'o', 't', 'e', 'c', 't', 'e', 'd')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[9]))) {
internalShift<9>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->protectedKeyword;
return RESERVED_IF_STRICT;
}
}
} else if (COMPARE_5UCHARS(code + 1, 'u', 'b', 'l', 'i', 'c')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->publicKeyword;
return RESERVED_IF_STRICT;
}
} else if (COMPARE_6UCHARS(code + 1, 'a', 'c', 'k', 'a', 'g', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->packageKeyword;
return RESERVED_IF_STRICT;
}
}
} else if (code[0] == 's') {
if (COMPARE_5UCHARS(code + 1, 'w', 'i', 't', 'c', 'h')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->switchKeyword;
return SWITCH;
}
} else if (COMPARE_5UCHARS(code + 1, 't', 'a', 't', 'i', 'c')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->staticKeyword;
return RESERVED_IF_STRICT;
}
} else if (COMPARE_4UCHARS(code + 1, 'u', 'p', 'e', 'r')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->superKeyword;
return SUPER;
}
}
} else if (COMPARE_3UCHARS(code, 'l', 'e', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->letKeyword;
return LET;
}
}
return IDENT;
}
template <>
template <bool shouldCreateIdentifier> ALWAYS_INLINE JSTokenType Lexer<LChar>::parseKeyword(JSTokenData* data)
{
ASSERT(m_codeEnd - m_code >= maxTokenLength);
const LChar* code = m_code;
if (code[0] == 'f') {
if (COMPARE_7CHARS(code + 1, 'u', 'n', 'c', 't', 'i', 'o', 'n')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[8]))) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->functionKeyword;
return FUNCTION;
}
} else if (COMPARE_2CHARS(code + 1, 'o', 'r')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->forKeyword;
return FOR;
}
} else if (COMPARE_4CHARS(code + 1, 'a', 'l', 's', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->falseKeyword;
return FALSETOKEN;
}
} else if (COMPARE_6CHARS(code + 1, 'i', 'n', 'a', 'l', 'l', 'y')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->finallyKeyword;
return FINALLY;
}
}
} else if (code[0] == 't') {
if (code[1] == 'h') {
if (COMPARE_2CHARS(code + 2, 'i', 's')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->thisKeyword;
return THISTOKEN;
}
} else if (COMPARE_4CHARS(code + 1, 'h', 'r', 'o', 'w')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->throwKeyword;
return THROW;
}
}
} else if (code[1] == 'r') {
if (COMPARE_2CHARS(code + 2, 'u', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->trueKeyword;
return TRUETOKEN;
}
} else if (code[2] == 'y') {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->tryKeyword;
return TRY;
}
}
} else if (COMPARE_5CHARS(code + 1, 'y', 'p', 'e', 'o', 'f')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->typeofKeyword;
return TYPEOF;
}
}
} else if (code[0] == 'i') {
if (code[1] == 'f') {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[2]))) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->ifKeyword;
return IF;
}
} else if (code[1] == 'n') {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[2]))) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->inKeyword;
return INTOKEN;
}
if (COMPARE_7CHARS(code + 2, 't', 'e', 'r', 'f', 'a', 'c', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[9]))) {
internalShift<9>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->interfaceKeyword;
return RESERVED_IF_STRICT;
}
} else if (COMPARE_8CHARS(code + 2, 's', 't', 'a', 'n', 'c', 'e', 'o', 'f')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[10]))) {
internalShift<10>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->instanceofKeyword;
return INSTANCEOF;
}
}
} else if (COMPARE_2CHARS(code + 1, 'm', 'p')) {
if (COMPARE_4CHARS(code + 2, 'p', 'o', 'r', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->importKeyword;
return IMPORT;
}
} else if (COMPARE_7CHARS(code + 3, 'l', 'e', 'm', 'e', 'n', 't', 's')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[10]))) {
internalShift<10>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->implementsKeyword;
return RESERVED_IF_STRICT;
}
}
}
} else if (code[0] == 'v') {
if (COMPARE_2CHARS(code + 1, 'a', 'r')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->varKeyword;
return VAR;
}
} else if (COMPARE_4CHARS(code, 'v', 'o', 'i', 'd')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->voidKeyword;
return VOIDTOKEN;
}
}
} else if (COMPARE_6CHARS(code, 'r', 'e', 't', 'u', 'r', 'n')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->returnKeyword;
return RETURN;
}
} else if (code[0] == 'n') {
if (COMPARE_4CHARS(code, 'n', 'u', 'l', 'l')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->nullKeyword;
return NULLTOKEN;
}
} else if (COMPARE_2CHARS(code + 1, 'e', 'w')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->newKeyword;
return NEW;
}
}
} else if (code[0] == 'e') {
if (COMPARE_4CHARS(code, 'e', 'l', 's', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->elseKeyword;
return ELSE;
}
} else if (code[1] == 'x') {
if (COMPARE_4CHARS(code + 2, 'p', 'o', 'r', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->exportKeyword;
return EXPORT_;
}
} else if (COMPARE_5CHARS(code + 2, 't', 'e', 'n', 'd', 's')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->extendsKeyword;
return EXTENDS;
}
}
} else if (COMPARE_4CHARS(code, 'e', 'n', 'u', 'm')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->enumKeyword;
return RESERVED;
}
}
} else if (code[0] == 'c') {
if (code[1] == 'a') {
if (COMPARE_4CHARS(code + 1, 'a', 't', 'c', 'h')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->catchKeyword;
return CATCH;
}
} else if (COMPARE_2CHARS(code + 2, 's', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->caseKeyword;
return CASE;
}
}
} else if (COMPARE_2CHARS(code + 1, 'o', 'n')) {
if (COMPARE_5CHARS(code + 3, 't', 'i', 'n', 'u', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[8]))) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->continueKeyword;
return CONTINUE;
}
} else if (COMPARE_2CHARS(code + 3, 's', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->constKeyword;
return CONSTTOKEN;
}
}
} else if (COMPARE_4CHARS(code + 1, 'l', 'a', 's', 's')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->classKeyword;
return CLASSTOKEN;
}
}
} else if (COMPARE_5CHARS(code, 'b', 'r', 'e', 'a', 'k')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->breakKeyword;
return BREAK;
}
} else if (code[0] == 'w') {
if (COMPARE_4CHARS(code + 1, 'h', 'i', 'l', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->whileKeyword;
return WHILE;
}
} else if (COMPARE_4CHARS(code, 'w', 'i', 't', 'h')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[4]))) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->withKeyword;
return WITH;
}
}
} else if (code[0] == 'd') {
if (code[1] == 'e') {
if (COMPARE_5CHARS(code + 2, 'f', 'a', 'u', 'l', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->defaultKeyword;
return DEFAULT;
}
} else if (COMPARE_6CHARS(code + 2, 'b', 'u', 'g', 'g', 'e', 'r')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[8]))) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->debuggerKeyword;
return DEBUGGER;
}
} else if (COMPARE_4CHARS(code + 2, 'l', 'e', 't', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->deleteKeyword;
return DELETETOKEN;
}
}
} else if (code[1] == 'o') {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[2]))) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->doKeyword;
return DO;
}
}
} else if (COMPARE_5CHARS(code, 'a', 'w', 'a', 'i', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->awaitKeyword;
return AWAIT;
}
} else if (COMPARE_5CHARS(code, 'y', 'i', 'e', 'l', 'd')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->yieldKeyword;
return YIELD;
}
} else if (code[0] == 'p') {
if (code[1] == 'r') {
if (COMPARE_5CHARS(code + 2, 'i', 'v', 'a', 't', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->privateKeyword;
return RESERVED_IF_STRICT;
}
} else if (COMPARE_7CHARS(code + 2, 'o', 't', 'e', 'c', 't', 'e', 'd')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[9]))) {
internalShift<9>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->protectedKeyword;
return RESERVED_IF_STRICT;
}
}
} else if (COMPARE_5CHARS(code + 1, 'u', 'b', 'l', 'i', 'c')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->publicKeyword;
return RESERVED_IF_STRICT;
}
} else if (COMPARE_6CHARS(code + 1, 'a', 'c', 'k', 'a', 'g', 'e')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[7]))) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->packageKeyword;
return RESERVED_IF_STRICT;
}
}
} else if (code[0] == 's') {
if (COMPARE_5CHARS(code + 1, 'w', 'i', 't', 'c', 'h')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->switchKeyword;
return SWITCH;
}
} else if (COMPARE_5CHARS(code + 1, 't', 'a', 't', 'i', 'c')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[6]))) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->staticKeyword;
return RESERVED_IF_STRICT;
}
} else if (COMPARE_4CHARS(code + 1, 'u', 'p', 'e', 'r')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[5]))) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->superKeyword;
return SUPER;
}
}
} else if (COMPARE_3CHARS(code, 'l', 'e', 't')) {
if (LIKELY(cannotBeIdentPartOrEscapeStart(code[3]))) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm.propertyNames->letKeyword;
return LET;
}
}
return IDENT;
}
} // namespace JSC

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,196 @@
// Automatically generated from JavaScriptCore/parser/Keywords.table using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex mainTableIndex[134] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 41, -1 },
{ 38, -1 },
{ 31, -1 },
{ 14, -1 },
{ 0, -1 },
{ -1, -1 },
{ 16, -1 },
{ -1, -1 },
{ 12, -1 },
{ 15, -1 },
{ -1, -1 },
{ 21, -1 },
{ -1, -1 },
{ 44, -1 },
{ 40, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 32, -1 },
{ -1, -1 },
{ 8, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 25, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 43, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 10, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 35, -1 },
{ 36, -1 },
{ 24, -1 },
{ -1, -1 },
{ 27, -1 },
{ -1, -1 },
{ 20, -1 },
{ -1, -1 },
{ 11, 130 },
{ -1, -1 },
{ 4, 132 },
{ -1, -1 },
{ 13, -1 },
{ -1, -1 },
{ 33, -1 },
{ 30, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, 128 },
{ 42, -1 },
{ 18, -1 },
{ -1, -1 },
{ 29, -1 },
{ 3, 129 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 6, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 28, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 23, -1 },
{ -1, -1 },
{ 45, -1 },
{ -1, -1 },
{ -1, -1 },
{ 39, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 17, -1 },
{ 26, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 7, 131 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ 9, -1 },
{ 19, -1 },
{ 22, -1 },
{ 34, 133 },
{ 37, -1 },
};
static const struct HashTableValue mainTableValues[46] = {
{ "null", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(NULLTOKEN), (intptr_t)(0) } },
{ "true", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(TRUETOKEN), (intptr_t)(0) } },
{ "false", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(FALSETOKEN), (intptr_t)(0) } },
{ "await", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(AWAIT), (intptr_t)(0) } },
{ "break", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(BREAK), (intptr_t)(0) } },
{ "case", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CASE), (intptr_t)(0) } },
{ "catch", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CATCH), (intptr_t)(0) } },
{ "class", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CLASSTOKEN), (intptr_t)(0) } },
{ "const", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CONSTTOKEN), (intptr_t)(0) } },
{ "default", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(DEFAULT), (intptr_t)(0) } },
{ "extends", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(EXTENDS), (intptr_t)(0) } },
{ "finally", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(FINALLY), (intptr_t)(0) } },
{ "for", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(FOR), (intptr_t)(0) } },
{ "instanceof", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(INSTANCEOF), (intptr_t)(0) } },
{ "new", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(NEW), (intptr_t)(0) } },
{ "var", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(VAR), (intptr_t)(0) } },
{ "let", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(LET), (intptr_t)(0) } },
{ "continue", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CONTINUE), (intptr_t)(0) } },
{ "function", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(FUNCTION), (intptr_t)(0) } },
{ "return", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RETURN), (intptr_t)(0) } },
{ "void", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(VOIDTOKEN), (intptr_t)(0) } },
{ "delete", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(DELETETOKEN), (intptr_t)(0) } },
{ "if", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(IF), (intptr_t)(0) } },
{ "this", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(THISTOKEN), (intptr_t)(0) } },
{ "do", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(DO), (intptr_t)(0) } },
{ "while", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(WHILE), (intptr_t)(0) } },
{ "else", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(ELSE), (intptr_t)(0) } },
{ "in", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(INTOKEN), (intptr_t)(0) } },
{ "super", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(SUPER), (intptr_t)(0) } },
{ "switch", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(SWITCH), (intptr_t)(0) } },
{ "throw", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(THROW), (intptr_t)(0) } },
{ "try", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(TRY), (intptr_t)(0) } },
{ "typeof", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(TYPEOF), (intptr_t)(0) } },
{ "with", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(WITH), (intptr_t)(0) } },
{ "debugger", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(DEBUGGER), (intptr_t)(0) } },
{ "yield", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(YIELD), (intptr_t)(0) } },
{ "enum", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED), (intptr_t)(0) } },
{ "export", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(EXPORT_), (intptr_t)(0) } },
{ "import", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(IMPORT), (intptr_t)(0) } },
{ "implements", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } },
{ "interface", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } },
{ "package", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } },
{ "private", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } },
{ "protected", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } },
{ "public", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } },
{ "static", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } },
};
static const struct HashTable mainTable =
{ 46, 127, false, nullptr, mainTableValues, mainTableIndex };
} // namespace JSC

View File

@ -0,0 +1,20 @@
// Automatically generated from JavaScriptCore/runtime/MapPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex mapPrototypeTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue mapPrototypeTableValues[1] = {
{ "forEach", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(mapPrototypeForEachCodeGenerator), (intptr_t)0 } },
};
static const struct HashTable mapPrototypeTable =
{ 1, 1, false, nullptr, mapPrototypeTableValues, mapPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,28 @@
// Automatically generated from JavaScriptCore/runtime/NumberConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex numberConstructorTableIndex[8] = {
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
};
static const struct HashTableValue numberConstructorTableValues[3] = {
{ "isFinite", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(numberConstructorIsFiniteCodeGenerator), (intptr_t)1 } },
{ "isNaN", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(numberConstructorIsNaNCodeGenerator), (intptr_t)1 } },
{ "isSafeInteger", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(numberConstructorFuncIsSafeInteger), (intptr_t)(1) } },
};
static const struct HashTable numberConstructorTable =
{ 3, 7, false, nullptr, numberConstructorTableValues, numberConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,38 @@
// Automatically generated from JavaScriptCore/runtime/NumberPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex numberPrototypeTableIndex[17] = {
{ -1, -1 },
{ -1, -1 },
{ 1, 16 },
{ 4, -1 },
{ 3, -1 },
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
};
static const struct HashTableValue numberPrototypeTableValues[5] = {
{ "toLocaleString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(numberProtoFuncToLocaleString), (intptr_t)(0) } },
{ "valueOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(numberProtoFuncValueOf), (intptr_t)(0) } },
{ "toFixed", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(numberProtoFuncToFixed), (intptr_t)(1) } },
{ "toExponential", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(numberProtoFuncToExponential), (intptr_t)(1) } },
{ "toPrecision", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(numberProtoFuncToPrecision), (intptr_t)(1) } },
};
static const struct HashTable numberPrototypeTable =
{ 5, 15, false, nullptr, numberPrototypeTableValues, numberPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,105 @@
// Automatically generated from JavaScriptCore/runtime/ObjectConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex objectConstructorTableIndex[67] = {
{ 1, 66 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 16, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 13, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 20, -1 },
{ -1, -1 },
{ -1, -1 },
{ 11, -1 },
{ -1, -1 },
{ -1, -1 },
{ 8, -1 },
{ 19, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, -1 },
{ 15, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 5, 65 },
{ -1, -1 },
{ 10, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 9, -1 },
{ -1, -1 },
{ 17, -1 },
{ -1, -1 },
{ 12, -1 },
{ -1, -1 },
{ 3, -1 },
{ -1, -1 },
{ 14, -1 },
{ 7, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, 64 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ 6, -1 },
{ 18, -1 },
};
static const struct HashTableValue objectConstructorTableValues[21] = {
{ "getPrototypeOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ObjectGetPrototypeOfIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetPrototypeOf), (intptr_t)(1) } },
{ "setPrototypeOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorSetPrototypeOf), (intptr_t)(2) } },
{ "getOwnPropertyDescriptor", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetOwnPropertyDescriptor), (intptr_t)(2) } },
{ "getOwnPropertyDescriptors", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetOwnPropertyDescriptors), (intptr_t)(1) } },
{ "getOwnPropertyNames", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ObjectGetOwnPropertyNamesIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetOwnPropertyNames), (intptr_t)(1) } },
{ "getOwnPropertySymbols", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorGetOwnPropertySymbols), (intptr_t)(1) } },
{ "keys", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ObjectKeysIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorKeys), (intptr_t)(1) } },
{ "defineProperty", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorDefineProperty), (intptr_t)(3) } },
{ "defineProperties", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorDefineProperties), (intptr_t)(2) } },
{ "create", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ObjectCreateIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorCreate), (intptr_t)(2) } },
{ "seal", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorSeal), (intptr_t)(1) } },
{ "freeze", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorFreeze), (intptr_t)(1) } },
{ "preventExtensions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorPreventExtensions), (intptr_t)(1) } },
{ "isSealed", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorIsSealed), (intptr_t)(1) } },
{ "isFrozen", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorIsFrozen), (intptr_t)(1) } },
{ "isExtensible", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorIsExtensible), (intptr_t)(1) } },
{ "is", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ObjectIsIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorIs), (intptr_t)(2) } },
{ "assign", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorAssign), (intptr_t)(2) } },
{ "values", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(objectConstructorValues), (intptr_t)(1) } },
{ "entries", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(objectConstructorEntriesCodeGenerator), (intptr_t)1 } },
{ "fromEntries", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(objectConstructorFromEntriesCodeGenerator), (intptr_t)1 } },
};
static const struct HashTable objectConstructorTable =
{ 21, 63, false, nullptr, objectConstructorTableValues, objectConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,65 @@
// Automatically generated from JavaScriptCore/runtime/ReflectObject.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex reflectObjectTableIndex[35] = {
{ 12, -1 },
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ -1, -1 },
{ 11, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 10, -1 },
{ 7, 34 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, 32 },
{ 0, 33 },
{ -1, -1 },
{ 6, -1 },
{ 8, -1 },
{ 9, -1 },
};
static const struct HashTableValue reflectObjectTableValues[13] = {
{ "apply", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(reflectObjectApplyCodeGenerator), (intptr_t)3 } },
{ "construct", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectConstruct), (intptr_t)(2) } },
{ "defineProperty", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectDefineProperty), (intptr_t)(3) } },
{ "deleteProperty", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(reflectObjectDeletePropertyCodeGenerator), (intptr_t)2 } },
{ "get", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectGet), (intptr_t)(2) } },
{ "getOwnPropertyDescriptor", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectGetOwnPropertyDescriptor), (intptr_t)(2) } },
{ "getPrototypeOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), ReflectGetPrototypeOfIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectGetPrototypeOf), (intptr_t)(1) } },
{ "has", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(reflectObjectHasCodeGenerator), (intptr_t)2 } },
{ "isExtensible", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectIsExtensible), (intptr_t)(1) } },
{ "ownKeys", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectOwnKeys), (intptr_t)(1) } },
{ "preventExtensions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectPreventExtensions), (intptr_t)(1) } },
{ "set", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectSet), (intptr_t)(3) } },
{ "setPrototypeOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(reflectObjectSetPrototypeOf), (intptr_t)(2) } },
};
static const struct HashTable reflectObjectTable =
{ 13, 31, false, nullptr, reflectObjectTableValues, reflectObjectTableIndex };
} // namespace JSC

View File

@ -0,0 +1,102 @@
// Automatically generated from JavaScriptCore/runtime/RegExpConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex regExpConstructorTableIndex[65] = {
{ -1, -1 },
{ 8, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 12, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 10, -1 },
{ -1, -1 },
{ -1, -1 },
{ 7, -1 },
{ 2, -1 },
{ 9, -1 },
{ 16, -1 },
{ -1, -1 },
{ -1, -1 },
{ 19, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ -1, -1 },
{ -1, -1 },
{ 5, 64 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 17, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 14, -1 },
{ -1, -1 },
{ 11, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 6, -1 },
{ -1, -1 },
{ 15, -1 },
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ 18, -1 },
{ 20, -1 },
{ 13, -1 },
};
static const struct HashTableValue regExpConstructorTableValues[21] = {
{ "input", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorInput), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(setRegExpConstructorInput) } },
{ "$_", static_cast<unsigned>(PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorInput), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(setRegExpConstructorInput) } },
{ "multiline", static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorMultiline), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(setRegExpConstructorMultiline) } },
{ "$*", static_cast<unsigned>(PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorMultiline), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(setRegExpConstructorMultiline) } },
{ "lastMatch", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLastMatch), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$&", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly|PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLastMatch), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "lastParen", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLastParen), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$+", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly|PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLastParen), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "leftContext", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLeftContext), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$`", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly|PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorLeftContext), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "rightContext", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorRightContext), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$'", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly|PropertyAttribute::DontEnum), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorRightContext), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$1", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar1), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$2", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar2), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$3", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar3), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$4", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar4), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$5", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar5), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$6", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar6), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$7", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar7), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$8", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar8), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$9", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar9), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
};
static const struct HashTable regExpConstructorTable =
{ 21, 63, true, nullptr, regExpConstructorTableValues, regExpConstructorTableIndex };
} // namespace JSC

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,20 @@
// Automatically generated from JavaScriptCore/runtime/SetPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex setPrototypeTableIndex[2] = {
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue setPrototypeTableValues[1] = {
{ "forEach", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(setPrototypeForEachCodeGenerator), (intptr_t)0 } },
};
static const struct HashTable setPrototypeTable =
{ 1, 1, false, nullptr, setPrototypeTableValues, setPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,28 @@
// 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

View File

@ -0,0 +1,108 @@
// Automatically generated from JavaScriptCore/runtime/StringPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "JSCBuiltins.h"
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex stringPrototypeTableIndex[68] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 8, -1 },
{ 11, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 7, -1 },
{ 15, -1 },
{ 21, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 6, -1 },
{ 19, -1 },
{ 3, -1 },
{ 16, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 17, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, 64 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 66 },
{ -1, -1 },
{ -1, -1 },
{ 9, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 12, 65 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ 18, -1 },
{ -1, -1 },
{ 2, -1 },
{ 10, -1 },
{ -1, -1 },
{ 13, 67 },
{ 14, -1 },
{ 20, -1 },
{ 22, -1 },
};
static const struct HashTableValue stringPrototypeTableValues[23] = {
{ "concat", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeConcatCodeGenerator), (intptr_t)1 } },
{ "match", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeMatchCodeGenerator), (intptr_t)1 } },
{ "matchAll", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeMatchAllCodeGenerator), (intptr_t)1 } },
{ "padStart", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypePadStartCodeGenerator), (intptr_t)1 } },
{ "padEnd", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypePadEndCodeGenerator), (intptr_t)1 } },
{ "repeat", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeRepeatCodeGenerator), (intptr_t)1 } },
{ "replace", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeReplaceCodeGenerator), (intptr_t)2 } },
{ "replaceAll", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeReplaceAllCodeGenerator), (intptr_t)2 } },
{ "search", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeSearchCodeGenerator), (intptr_t)1 } },
{ "split", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeSplitCodeGenerator), (intptr_t)1 } },
{ "anchor", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeAnchorCodeGenerator), (intptr_t)1 } },
{ "big", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeBigCodeGenerator), (intptr_t)0 } },
{ "bold", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeBoldCodeGenerator), (intptr_t)0 } },
{ "blink", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeBlinkCodeGenerator), (intptr_t)0 } },
{ "fixed", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeFixedCodeGenerator), (intptr_t)0 } },
{ "fontcolor", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeFontcolorCodeGenerator), (intptr_t)1 } },
{ "fontsize", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeFontsizeCodeGenerator), (intptr_t)1 } },
{ "italics", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeItalicsCodeGenerator), (intptr_t)0 } },
{ "link", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeLinkCodeGenerator), (intptr_t)1 } },
{ "small", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeSmallCodeGenerator), (intptr_t)0 } },
{ "strike", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeStrikeCodeGenerator), (intptr_t)0 } },
{ "sub", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeSubCodeGenerator), (intptr_t)0 } },
{ "sup", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(stringPrototypeSupCodeGenerator), (intptr_t)0 } },
};
static const struct HashTable stringPrototypeTable =
{ 23, 63, false, nullptr, stringPrototypeTableValues, stringPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,22 @@
// Automatically generated from JavaScriptCore/runtime/SymbolConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex symbolConstructorTableIndex[4] = {
{ 0, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
};
static const struct HashTableValue symbolConstructorTableValues[2] = {
{ "for", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(symbolConstructorFor), (intptr_t)(1) } },
{ "keyFor", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(symbolConstructorKeyFor), (intptr_t)(1) } },
};
static const struct HashTable symbolConstructorTable =
{ 2, 3, false, nullptr, symbolConstructorTableValues, symbolConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,27 @@
// Automatically generated from JavaScriptCore/runtime/SymbolPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex symbolPrototypeTableIndex[8] = {
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue symbolPrototypeTableValues[3] = {
{ "description", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(symbolProtoGetterDescription), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "toString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(symbolProtoFuncToString), (intptr_t)(0) } },
{ "valueOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(symbolProtoFuncValueOf), (intptr_t)(0) } },
};
static const struct HashTable symbolPrototypeTable =
{ 3, 7, true, nullptr, symbolPrototypeTableValues, symbolPrototypeTableIndex };
} // namespace JSC

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,725 @@
/*
* Copyright (C) 2016-2017 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// DO NO EDIT! - This file was generated by JavaScriptCore/wasm/generateWasmB3IRGeneratorInlinesHeader.py
#pragma once
#if ENABLE(WEBASSEMBLY)
namespace JSC { namespace Wasm {
template<> auto B3IRGenerator::addOp<OpType::F32Ceil>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Ceil, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64ShrS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp3 = m_currentBlock->appendNew<Value>(m_proc, B3::Trunc, origin(), arg1);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::SShr, origin(), arg0, temp3);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Mul>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Mul, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Sub>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Sub, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Le>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::LessEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32DemoteF64>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::DoubleToFloat, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Ne>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::NotEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Lt>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::LessThan, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Max>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), arg0, arg1);
Value* temp7 = m_currentBlock->appendNew<Value>(m_proc, B3::BitAnd, origin(), arg0, arg1);
Value* temp14 = m_currentBlock->appendNew<Value>(m_proc, B3::LessThan, origin(), arg0, arg1);
Value* temp22 = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterThan, origin(), arg0, arg1);
Value* temp28 = m_currentBlock->appendNew<Value>(m_proc, B3::Add, origin(), arg0, arg1);
Value* temp20 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp22, arg0, temp28);
Value* temp12 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp14, arg1, temp20);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp2, temp7, temp12);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Mul>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Mul, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Eq>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Clz>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Clz, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Copysign>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp6 = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), arg1);
Value* temp12 = constant(Int32, 0x80000000);
Value* temp4 = m_currentBlock->appendNew<Value>(m_proc, B3::BitAnd, origin(), temp6, temp12);
Value* temp17 = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), arg0);
Value* temp23 = constant(Int32, 0x7fffffff);
Value* temp15 = m_currentBlock->appendNew<Value>(m_proc, B3::BitAnd, origin(), temp17, temp23);
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::BitOr, origin(), temp4, temp15);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), temp2);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64ConvertUI32>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::ZExt32, origin(), arg0);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::IToD, origin(), temp2);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32ReinterpretI32>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64And>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitAnd, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Ne>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::NotEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Gt>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterThan, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Sqrt>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Sqrt, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Ge>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64GtS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterThan, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64GtU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Above, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Eqz>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
Value* temp4 = constant(Int64, 0);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), temp4, arg0);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Div>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Div, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Add>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Add, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Or>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitOr, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32LeU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BelowEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32LeS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::LessEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Ne>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::NotEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Clz>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Clz, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Neg>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Neg, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Sub>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Sub, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32And>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitAnd, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32LtU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Below, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Rotr>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp3 = m_currentBlock->appendNew<Value>(m_proc, B3::Trunc, origin(), arg1);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::RotR, origin(), arg0, temp3);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Abs>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Abs, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32LtS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::LessThan, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Eq>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Extend32S>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::Trunc, origin(), arg0);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::SExt32, origin(), temp2);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Copysign>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp6 = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), arg1);
Value* temp12 = constant(Int64, 0x8000000000000000);
Value* temp4 = m_currentBlock->appendNew<Value>(m_proc, B3::BitAnd, origin(), temp6, temp12);
Value* temp17 = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), arg0);
Value* temp23 = constant(Int64, 0x7fffffffffffffff);
Value* temp15 = m_currentBlock->appendNew<Value>(m_proc, B3::BitAnd, origin(), temp17, temp23);
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::BitOr, origin(), temp4, temp15);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), temp2);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32ConvertSI64>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::IToF, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Rotl>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp3 = m_currentBlock->appendNew<Value>(m_proc, B3::Trunc, origin(), arg1);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::RotL, origin(), arg0, temp3);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Lt>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::LessThan, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64ConvertSI32>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::IToD, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Eq>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Le>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::LessEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Ge>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32ShrU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::ZShr, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32ConvertUI32>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::ZExt32, origin(), arg0);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::IToF, origin(), temp2);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32ShrS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::SShr, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32GeU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::AboveEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Ceil>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Ceil, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32GeS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Shl>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Shl, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Floor>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Floor, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Xor>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitXor, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Abs>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Abs, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Min>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), arg0, arg1);
Value* temp7 = m_currentBlock->appendNew<Value>(m_proc, B3::BitOr, origin(), arg0, arg1);
Value* temp14 = m_currentBlock->appendNew<Value>(m_proc, B3::LessThan, origin(), arg0, arg1);
Value* temp22 = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterThan, origin(), arg0, arg1);
Value* temp28 = m_currentBlock->appendNew<Value>(m_proc, B3::Add, origin(), arg0, arg1);
Value* temp20 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp22, arg1, temp28);
Value* temp12 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp14, arg0, temp20);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp2, temp7, temp12);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Mul>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Mul, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32ReinterpretF32>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Add>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Add, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Sub>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Sub, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Or>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitOr, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64LtU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Below, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64LtS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::LessThan, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64ConvertSI64>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::IToD, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Xor>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitXor, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64GeU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::AboveEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Min>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), arg0, arg1);
Value* temp7 = m_currentBlock->appendNew<Value>(m_proc, B3::BitOr, origin(), arg0, arg1);
Value* temp14 = m_currentBlock->appendNew<Value>(m_proc, B3::LessThan, origin(), arg0, arg1);
Value* temp22 = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterThan, origin(), arg0, arg1);
Value* temp28 = m_currentBlock->appendNew<Value>(m_proc, B3::Add, origin(), arg0, arg1);
Value* temp20 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp22, arg1, temp28);
Value* temp12 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp14, arg0, temp20);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp2, temp7, temp12);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Mul>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Mul, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Sub>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Sub, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64PromoteF32>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::FloatToDouble, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Add>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Add, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64GeS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Extend16S>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
Value* temp4 = m_currentBlock->appendNew<Value>(m_proc, B3::Trunc, origin(), arg0);
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::SExt16, origin(), temp4);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::SExt32, origin(), temp2);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Extend8S>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::SExt8, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64ExtendUI32>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::ZExt32, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Ne>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::NotEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64ReinterpretI64>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Div>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Div, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Eq>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Floor>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Floor, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32ConvertSI32>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::IToF, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Eqz>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
Value* temp4 = constant(Int32, 0);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), temp4, arg0);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64ReinterpretF64>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BitwiseCast, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64ShrU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp3 = m_currentBlock->appendNew<Value>(m_proc, B3::Trunc, origin(), arg1);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::ZShr, origin(), arg0, temp3);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Sqrt>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Sqrt, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Shl>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp3 = m_currentBlock->appendNew<Value>(m_proc, B3::Trunc, origin(), arg1);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::Shl, origin(), arg0, temp3);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Extend16S>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::SExt16, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F32Gt>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterThan, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32WrapI64>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Trunc, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Rotl>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::RotL, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Extend8S>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
Value* temp4 = m_currentBlock->appendNew<Value>(m_proc, B3::Trunc, origin(), arg0);
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::SExt8, origin(), temp4);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::SExt32, origin(), temp2);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32Rotr>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::RotR, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32GtU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Above, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64ExtendSI32>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::SExt32, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I32GtS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterThan, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Neg>(ExpressionType arg0, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Neg, origin(), arg0);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::F64Max>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
Value* temp2 = m_currentBlock->appendNew<Value>(m_proc, B3::Equal, origin(), arg0, arg1);
Value* temp7 = m_currentBlock->appendNew<Value>(m_proc, B3::BitAnd, origin(), arg0, arg1);
Value* temp14 = m_currentBlock->appendNew<Value>(m_proc, B3::LessThan, origin(), arg0, arg1);
Value* temp22 = m_currentBlock->appendNew<Value>(m_proc, B3::GreaterThan, origin(), arg0, arg1);
Value* temp28 = m_currentBlock->appendNew<Value>(m_proc, B3::Add, origin(), arg0, arg1);
Value* temp20 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp22, arg0, temp28);
Value* temp12 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp14, arg1, temp20);
Value* temp0 = m_currentBlock->appendNew<Value>(m_proc, B3::Select, origin(), temp2, temp7, temp12);
result = temp0;
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64LeU>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::BelowEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64LeS>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::LessEqual, origin(), arg0, arg1);
return { };
}
template<> auto B3IRGenerator::addOp<OpType::I64Add>(ExpressionType arg0, ExpressionType arg1, ExpressionType& result) -> PartialResult
{
result = m_currentBlock->appendNew<Value>(m_proc, B3::Add, origin(), arg0, arg1);
return { };
}
} } // namespace JSC::Wasm
#endif // ENABLE(WEBASSEMBLY)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,632 @@
/*
* Copyright (C) 2016-2017 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
// DO NO EDIT! - This file was generated by JavaScriptCore/wasm/generateWasmOpsHeader.py
#pragma once
#if ENABLE(WEBASSEMBLY)
#include <cstdint>
namespace JSC { namespace Wasm {
static constexpr unsigned expectedVersionNumber = 1;
static constexpr unsigned numTypes = 8;
#define FOR_EACH_WASM_TYPE(macro) \
macro(I32, -0x1, B3::Int32, 0) \
macro(Void, -0x40, B3::Void, 1) \
macro(I64, -0x2, B3::Int64, 2) \
macro(F32, -0x3, B3::Float, 3) \
macro(Func, -0x20, B3::Void, 4) \
macro(Externref, -0x11, B3::Int64, 5) \
macro(Funcref, -0x10, B3::Int64, 6) \
macro(F64, -0x4, B3::Double, 7)
#define CREATE_ENUM_VALUE(name, id, ...) name = id,
enum Type : int8_t {
FOR_EACH_WASM_TYPE(CREATE_ENUM_VALUE)
};
#undef CREATE_ENUM_VALUE
#define CREATE_CASE(name, id, ...) case id: return true;
template <typename Int>
inline bool isValidType(Int i)
{
switch (i) {
default: return false;
FOR_EACH_WASM_TYPE(CREATE_CASE)
}
RELEASE_ASSERT_NOT_REACHED();
return false;
}
#undef CREATE_CASE
#define CREATE_CASE(name, id, b3type, ...) case name: return b3type;
inline B3::Type toB3Type(Type type)
{
switch (type) {
FOR_EACH_WASM_TYPE(CREATE_CASE)
}
RELEASE_ASSERT_NOT_REACHED();
return B3::Void;
}
#undef CREATE_CASE
#define CREATE_CASE(name, ...) case name: return #name;
inline const char* makeString(Type type)
{
switch (type) {
FOR_EACH_WASM_TYPE(CREATE_CASE)
}
RELEASE_ASSERT_NOT_REACHED();
return nullptr;
}
#undef CREATE_CASE
#define CREATE_CASE(name, id, b3type, inc, ...) case id: return inc;
inline int linearizeType(Type type)
{
switch (type) {
FOR_EACH_WASM_TYPE(CREATE_CASE)
}
RELEASE_ASSERT_NOT_REACHED();
return 0;
}
#undef CREATE_CASE
#define CREATE_CASE(name, id, b3type, inc, ...) case inc: return name;
inline Type linearizedToType(int i)
{
switch (i) {
FOR_EACH_WASM_TYPE(CREATE_CASE)
}
RELEASE_ASSERT_NOT_REACHED();
return Void;
}
#undef CREATE_CASE
#define FOR_EACH_WASM_SPECIAL_OP(macro) \
macro(F64Const, 0x44, Oops, 0) \
macro(RefNull, 0xd0, Oops, 1) \
macro(RefFunc, 0xd2, Oops, 2) \
macro(GrowMemory, 0x40, Oops, 3) \
macro(I64Const, 0x42, Oops, 4) \
macro(TeeLocal, 0x22, Oops, 5) \
macro(SetLocal, 0x21, Oops, 6) \
macro(I32Const, 0x41, Oops, 7) \
macro(CurrentMemory, 0x3f, Oops, 8) \
macro(F32Const, 0x43, Oops, 9) \
macro(SetGlobal, 0x24, Oops, 10) \
macro(GetGlobal, 0x23, Oops, 11) \
macro(Call, 0x10, Oops, 12) \
macro(TableSet, 0x26, Oops, 13) \
macro(TableGet, 0x25, Oops, 14) \
macro(RefIsNull, 0xd1, Oops, 15) \
macro(GetLocal, 0x20, Oops, 16) \
macro(CallIndirect, 0x11, Oops, 17)
#define FOR_EACH_WASM_CONTROL_FLOW_OP(macro) \
macro(Nop, 0x1, Oops, 0) \
macro(Drop, 0x1a, Oops, 1) \
macro(BrIf, 0xd, Oops, 2) \
macro(Br, 0xc, Oops, 3) \
macro(AnnotatedSelect, 0x1c, Oops, 4) \
macro(Select, 0x1b, Oops, 5) \
macro(Unreachable, 0x0, Oops, 6) \
macro(Else, 0x5, Oops, 7) \
macro(BrTable, 0xe, Oops, 8) \
macro(Loop, 0x3, Oops, 9) \
macro(Return, 0xf, Oops, 10) \
macro(If, 0x4, Oops, 11) \
macro(End, 0xb, Oops, 12) \
macro(Block, 0x2, Oops, 13)
#define FOR_EACH_WASM_SIMPLE_UNARY_OP(macro) \
macro(F32Ceil, 0x8d, Ceil, 0, F32, F32) \
macro(F32DemoteF64, 0xb6, DoubleToFloat, 1, F64, F32) \
macro(I32Clz, 0x67, Clz, 2, I32, I32) \
macro(F64ConvertUI32, 0xb8, IToD(ZExt32(@0)), 3, I32, F64) \
macro(F32ReinterpretI32, 0xbe, BitwiseCast, 4, I32, F32) \
macro(F32Sqrt, 0x91, Sqrt, 5, F32, F32) \
macro(I64Eqz, 0x50, Equal(i64(0), @0), 6, I64, I32) \
macro(I64Clz, 0x79, Clz, 7, I64, I64) \
macro(F32Neg, 0x8c, Neg, 8, F32, F32) \
macro(F64Abs, 0x99, Abs, 9, F64, F64) \
macro(I64Extend32S, 0xc4, SExt32(Trunc(@0)), 10, I64, I64) \
macro(F32ConvertSI64, 0xb4, IToF, 11, I64, F32) \
macro(F64ConvertSI32, 0xb7, IToD, 12, I32, F64) \
macro(F32ConvertUI32, 0xb3, IToF(ZExt32(@0)), 13, I32, F32) \
macro(F64Ceil, 0x9b, Ceil, 14, F64, F64) \
macro(F64Floor, 0x9c, Floor, 15, F64, F64) \
macro(F32Abs, 0x8b, Abs, 16, F32, F32) \
macro(I32ReinterpretF32, 0xbc, BitwiseCast, 17, F32, I32) \
macro(F64ConvertSI64, 0xb9, IToD, 18, I64, F64) \
macro(F64PromoteF32, 0xbb, FloatToDouble, 19, F32, F64) \
macro(I64Extend16S, 0xc3, SExt32(SExt16(Trunc(@0))), 20, I64, I64) \
macro(I32Extend8S, 0xc0, SExt8, 21, I32, I32) \
macro(I64ExtendUI32, 0xad, ZExt32, 22, I32, I64) \
macro(F64ReinterpretI64, 0xbf, BitwiseCast, 23, I64, F64) \
macro(F32Floor, 0x8e, Floor, 24, F32, F32) \
macro(F32ConvertSI32, 0xb2, IToF, 25, I32, F32) \
macro(I32Eqz, 0x45, Equal(i32(0), @0), 26, I32, I32) \
macro(I64ReinterpretF64, 0xbd, BitwiseCast, 27, F64, I64) \
macro(F64Sqrt, 0x9f, Sqrt, 28, F64, F64) \
macro(I32Extend16S, 0xc1, SExt16, 29, I32, I32) \
macro(I32WrapI64, 0xa7, Trunc, 30, I64, I32) \
macro(I64Extend8S, 0xc2, SExt32(SExt8(Trunc(@0))), 31, I64, I64) \
macro(I64ExtendSI32, 0xac, SExt32, 32, I32, I64) \
macro(F64Neg, 0x9a, Neg, 33, F64, F64)
#define FOR_EACH_WASM_UNARY_OP(macro) \
FOR_EACH_WASM_SIMPLE_UNARY_OP(macro) \
macro(I64TruncSF32, 0xae, Oops, 0, F32, I64) \
macro(I32Ctz, 0x68, Oops, 1, I32, I32) \
macro(I32TruncSF64, 0xaa, Oops, 2, F64, I32) \
macro(I32TruncUF64, 0xab, Oops, 3, F64, I32) \
macro(I32Popcnt, 0x69, Oops, 4, I32, I32) \
macro(I64Popcnt, 0x7b, Oops, 5, I64, I64) \
macro(I64Ctz, 0x7a, Oops, 6, I64, I64) \
macro(F32ConvertUI64, 0xb5, Oops, 7, I64, F32) \
macro(I32TruncSF32, 0xa8, Oops, 8, F32, I32) \
macro(I64TruncUF64, 0xb1, Oops, 9, F64, I64) \
macro(I64TruncSF64, 0xb0, Oops, 10, F64, I64) \
macro(F64ConvertUI64, 0xba, Oops, 11, I64, F64) \
macro(F64Nearest, 0x9e, Oops, 12, F64, F64) \
macro(F64Trunc, 0x9d, Oops, 13, F64, F64) \
macro(F32Trunc, 0x8f, Oops, 14, F32, F32) \
macro(I32TruncUF32, 0xa9, Oops, 15, F32, I32) \
macro(I64TruncUF32, 0xaf, Oops, 16, F32, I64) \
macro(F32Nearest, 0x90, Oops, 17, F32, F32)
#define FOR_EACH_WASM_SIMPLE_BINARY_OP(macro) \
macro(I64ShrS, 0x87, SShr(@0, Trunc(@1)), 0, I64, I64, I64) \
macro(I32Mul, 0x6c, Mul, 1, I32, I32, I32) \
macro(I32Sub, 0x6b, Sub, 2, I32, I32, I32) \
macro(F64Le, 0x65, LessEqual, 3, F64, F64, I32) \
macro(F64Ne, 0x62, NotEqual, 4, F64, F64, I32) \
macro(F64Lt, 0x63, LessThan, 5, F64, F64, I32) \
macro(F32Max, 0x97, Select(Equal(@0, @1), BitAnd(@0, @1), Select(LessThan(@0, @1), @1, Select(GreaterThan(@0, @1), @0, Add(@0, @1)))), 6, F32, F32, F32) \
macro(F64Mul, 0xa2, Mul, 7, F64, F64, F64) \
macro(F32Eq, 0x5b, Equal, 8, F32, F32, I32) \
macro(F32Copysign, 0x98, BitwiseCast(BitOr(BitAnd(BitwiseCast(@1), i32(0x80000000)), BitAnd(BitwiseCast(@0), i32(0x7fffffff)))), 9, F32, F32, F32) \
macro(I64And, 0x83, BitAnd, 10, I64, I64, I64) \
macro(F32Ne, 0x5c, NotEqual, 11, F32, F32, I32) \
macro(F64Gt, 0x64, GreaterThan, 12, F64, F64, I32) \
macro(F64Ge, 0x66, GreaterEqual, 13, F64, F64, I32) \
macro(I64GtS, 0x55, GreaterThan, 14, I64, I64, I32) \
macro(I64GtU, 0x56, Above, 15, I64, I64, I32) \
macro(F64Div, 0xa3, Div, 16, F64, F64, F64) \
macro(F32Add, 0x92, Add, 17, F32, F32, F32) \
macro(I64Or, 0x84, BitOr, 18, I64, I64, I64) \
macro(I32LeU, 0x4d, BelowEqual, 19, I32, I32, I32) \
macro(I32LeS, 0x4c, LessEqual, 20, I32, I32, I32) \
macro(I64Ne, 0x52, NotEqual, 21, I64, I64, I32) \
macro(I64Sub, 0x7d, Sub, 22, I64, I64, I64) \
macro(I32And, 0x71, BitAnd, 23, I32, I32, I32) \
macro(I32LtU, 0x49, Below, 24, I32, I32, I32) \
macro(I64Rotr, 0x8a, RotR(@0, Trunc(@1)), 25, I64, I64, I64) \
macro(I32LtS, 0x48, LessThan, 26, I32, I32, I32) \
macro(I32Eq, 0x46, Equal, 27, I32, I32, I32) \
macro(F64Copysign, 0xa6, BitwiseCast(BitOr(BitAnd(BitwiseCast(@1), i64(0x8000000000000000)), BitAnd(BitwiseCast(@0), i64(0x7fffffffffffffff)))), 28, F64, F64, F64) \
macro(I64Rotl, 0x89, RotL(@0, Trunc(@1)), 29, I64, I64, I64) \
macro(F32Lt, 0x5d, LessThan, 30, F32, F32, I32) \
macro(F64Eq, 0x61, Equal, 31, F64, F64, I32) \
macro(F32Le, 0x5f, LessEqual, 32, F32, F32, I32) \
macro(F32Ge, 0x60, GreaterEqual, 33, F32, F32, I32) \
macro(I32ShrU, 0x76, ZShr, 34, I32, I32, I32) \
macro(I32ShrS, 0x75, SShr, 35, I32, I32, I32) \
macro(I32GeU, 0x4f, AboveEqual, 36, I32, I32, I32) \
macro(I32GeS, 0x4e, GreaterEqual, 37, I32, I32, I32) \
macro(I32Shl, 0x74, Shl, 38, I32, I32, I32) \
macro(I32Xor, 0x73, BitXor, 39, I32, I32, I32) \
macro(F64Min, 0xa4, Select(Equal(@0, @1), BitOr(@0, @1), Select(LessThan(@0, @1), @0, Select(GreaterThan(@0, @1), @1, Add(@0, @1)))), 40, F64, F64, F64) \
macro(F32Mul, 0x94, Mul, 41, F32, F32, F32) \
macro(I32Add, 0x6a, Add, 42, I32, I32, I32) \
macro(F64Sub, 0xa1, Sub, 43, F64, F64, F64) \
macro(I32Or, 0x72, BitOr, 44, I32, I32, I32) \
macro(I64LtU, 0x54, Below, 45, I64, I64, I32) \
macro(I64LtS, 0x53, LessThan, 46, I64, I64, I32) \
macro(I64Xor, 0x85, BitXor, 47, I64, I64, I64) \
macro(I64GeU, 0x5a, AboveEqual, 48, I64, I64, I32) \
macro(F32Min, 0x96, Select(Equal(@0, @1), BitOr(@0, @1), Select(LessThan(@0, @1), @0, Select(GreaterThan(@0, @1), @1, Add(@0, @1)))), 49, F32, F32, F32) \
macro(I64Mul, 0x7e, Mul, 50, I64, I64, I64) \
macro(F32Sub, 0x93, Sub, 51, F32, F32, F32) \
macro(F64Add, 0xa0, Add, 52, F64, F64, F64) \
macro(I64GeS, 0x59, GreaterEqual, 53, I64, I64, I32) \
macro(I32Ne, 0x47, NotEqual, 54, I32, I32, I32) \
macro(F32Div, 0x95, Div, 55, F32, F32, F32) \
macro(I64Eq, 0x51, Equal, 56, I64, I64, I32) \
macro(I64ShrU, 0x88, ZShr(@0, Trunc(@1)), 57, I64, I64, I64) \
macro(I64Shl, 0x86, Shl(@0, Trunc(@1)), 58, I64, I64, I64) \
macro(F32Gt, 0x5e, GreaterThan, 59, F32, F32, I32) \
macro(I32Rotl, 0x77, RotL, 60, I32, I32, I32) \
macro(I32Rotr, 0x78, RotR, 61, I32, I32, I32) \
macro(I32GtU, 0x4b, Above, 62, I32, I32, I32) \
macro(I32GtS, 0x4a, GreaterThan, 63, I32, I32, I32) \
macro(F64Max, 0xa5, Select(Equal(@0, @1), BitAnd(@0, @1), Select(LessThan(@0, @1), @1, Select(GreaterThan(@0, @1), @0, Add(@0, @1)))), 64, F64, F64, F64) \
macro(I64LeU, 0x58, BelowEqual, 65, I64, I64, I32) \
macro(I64LeS, 0x57, LessEqual, 66, I64, I64, I32) \
macro(I64Add, 0x7c, Add, 67, I64, I64, I64)
#define FOR_EACH_WASM_BINARY_OP(macro) \
FOR_EACH_WASM_SIMPLE_BINARY_OP(macro) \
macro(I32DivU, 0x6e, Oops, 0, I32, I32, I32) \
macro(I32DivS, 0x6d, Oops, 1, I32, I32, I32) \
macro(I32RemU, 0x70, Oops, 2, I32, I32, I32) \
macro(I64RemS, 0x81, Oops, 3, I64, I64, I64) \
macro(I64RemU, 0x82, Oops, 4, I64, I64, I64) \
macro(I32RemS, 0x6f, Oops, 5, I32, I32, I32) \
macro(I64DivU, 0x80, Oops, 6, I64, I64, I64) \
macro(I64DivS, 0x7f, Oops, 7, I64, I64, I64)
#define FOR_EACH_WASM_MEMORY_LOAD_OP(macro) \
macro(I64Load32U, 0x35, Oops, 0, I64) \
macro(I64Load32S, 0x34, Oops, 1, I64) \
macro(I32Load16S, 0x2e, Oops, 2, I32) \
macro(I32Load16U, 0x2f, Oops, 3, I32) \
macro(I64Load, 0x29, Oops, 4, I64) \
macro(F64Load, 0x2b, Oops, 5, F64) \
macro(I32Load8S, 0x2c, Oops, 6, I32) \
macro(I32Load8U, 0x2d, Oops, 7, I32) \
macro(I32Load, 0x28, Oops, 8, I32) \
macro(F32Load, 0x2a, Oops, 9, F32) \
macro(I64Load8U, 0x31, Oops, 10, I64) \
macro(I64Load8S, 0x30, Oops, 11, I64) \
macro(I64Load16S, 0x32, Oops, 12, I64) \
macro(I64Load16U, 0x33, Oops, 13, I64)
#define FOR_EACH_WASM_MEMORY_STORE_OP(macro) \
macro(I64Store16, 0x3d, Oops, 0, I64) \
macro(I64Store8, 0x3c, Oops, 1, I64) \
macro(I32Store, 0x36, Oops, 2, I32) \
macro(I32Store16, 0x3b, Oops, 3, I32) \
macro(F32Store, 0x38, Oops, 4, F32) \
macro(I64Store, 0x37, Oops, 5, I64) \
macro(F64Store, 0x39, Oops, 6, F64) \
macro(I32Store8, 0x3a, Oops, 7, I32) \
macro(I64Store32, 0x3e, Oops, 8, I64)
#define FOR_EACH_WASM_EXT_TABLE_OP(macro) \
macro(ElemDrop, 0xd, Oops, 0) \
macro(MemoryFill, 0xb, Oops, 1) \
macro(DataDrop, 0x9, Oops, 2) \
macro(TableFill, 0x11, Oops, 3) \
macro(TableCopy, 0xe, Oops, 4) \
macro(MemoryCopy, 0xa, Oops, 5) \
macro(MemoryInit, 0x8, Oops, 6) \
macro(TableInit, 0xc, Oops, 7) \
macro(TableGrow, 0xf, Oops, 8) \
macro(TableSize, 0x10, Oops, 9)
#define FOR_EACH_WASM_EXT_ATOMIC_LOAD_OP(macro) \
macro(I64AtomicLoad32U, 0x16, Oops, 0, I64) \
macro(I32AtomicLoad, 0x10, Oops, 1, I32) \
macro(I64AtomicLoad8U, 0x14, Oops, 2, I64) \
macro(I64AtomicLoad, 0x11, Oops, 3, I64) \
macro(I32AtomicLoad8U, 0x12, Oops, 4, I32) \
macro(I32AtomicLoad16U, 0x13, Oops, 5, I32) \
macro(I64AtomicLoad16U, 0x15, Oops, 6, I64)
#define FOR_EACH_WASM_EXT_ATOMIC_STORE_OP(macro) \
macro(I64AtomicStore8U, 0x1b, Oops, 0, I64) \
macro(I64AtomicStore, 0x18, Oops, 1, I64) \
macro(I32AtomicStore8U, 0x19, Oops, 2, I32) \
macro(I32AtomicStore, 0x17, Oops, 3, I32) \
macro(I64AtomicStore16U, 0x1c, Oops, 4, I64) \
macro(I32AtomicStore16U, 0x1a, Oops, 5, I32) \
macro(I64AtomicStore32U, 0x1d, Oops, 6, I64)
#define FOR_EACH_WASM_EXT_ATOMIC_BINARY_RMW_OP(macro) \
macro(I32AtomicRmwOr, 0x33, Oops, 0, I32) \
macro(I64AtomicRmwXchg, 0x42, Oops, 1, I64) \
macro(I32AtomicRmw8AddU, 0x20, Oops, 2, I32) \
macro(I64AtomicRmw16OrU, 0x38, Oops, 3, I64) \
macro(I64AtomicRmw32AndU, 0x32, Oops, 4, I64) \
macro(I32AtomicRmw16OrU, 0x36, Oops, 5, I32) \
macro(I64AtomicRmw16AddU, 0x23, Oops, 6, I64) \
macro(I64AtomicRmw32AddU, 0x24, Oops, 7, I64) \
macro(I32AtomicRmw8OrU, 0x35, Oops, 8, I32) \
macro(I32AtomicRmw8AndU, 0x2e, Oops, 9, I32) \
macro(I64AtomicRmw16SubU, 0x2a, Oops, 10, I64) \
macro(I32AtomicRmwAdd, 0x1e, Oops, 11, I32) \
macro(I64AtomicRmw8AddU, 0x22, Oops, 12, I64) \
macro(I32AtomicRmwXchg, 0x41, Oops, 13, I32) \
macro(I32AtomicRmw8XorU, 0x3c, Oops, 14, I32) \
macro(I32AtomicRmw8XchgU, 0x43, Oops, 15, I32) \
macro(I64AtomicRmw8OrU, 0x37, Oops, 16, I64) \
macro(I64AtomicRmw16XorU, 0x3f, Oops, 17, I64) \
macro(I64AtomicRmwSub, 0x26, Oops, 18, I64) \
macro(I32AtomicRmw16SubU, 0x28, Oops, 19, I32) \
macro(I64AtomicRmw32SubU, 0x2b, Oops, 20, I64) \
macro(I32AtomicRmwSub, 0x25, Oops, 21, I32) \
macro(I64AtomicRmwAnd, 0x2d, Oops, 22, I64) \
macro(I64AtomicRmw32XorU, 0x40, Oops, 23, I64) \
macro(I64AtomicRmw16XchgU, 0x46, Oops, 24, I64) \
macro(I32AtomicRmw16AndU, 0x2f, Oops, 25, I32) \
macro(I32AtomicRmw16AddU, 0x21, Oops, 26, I32) \
macro(I64AtomicRmw8AndU, 0x30, Oops, 27, I64) \
macro(I64AtomicRmw32OrU, 0x39, Oops, 28, I64) \
macro(I32AtomicRmwXor, 0x3a, Oops, 29, I32) \
macro(I64AtomicRmw16AndU, 0x31, Oops, 30, I64) \
macro(I32AtomicRmw16XchgU, 0x44, Oops, 31, I32) \
macro(I64AtomicRmwXor, 0x3b, Oops, 32, I64) \
macro(I32AtomicRmw16XorU, 0x3d, Oops, 33, I32) \
macro(I32AtomicRmw8SubU, 0x27, Oops, 34, I32) \
macro(I64AtomicRmw8XorU, 0x3e, Oops, 35, I64) \
macro(I32AtomicRmwAnd, 0x2c, Oops, 36, I32) \
macro(I64AtomicRmw32XchgU, 0x47, Oops, 37, I64) \
macro(I64AtomicRmwAdd, 0x1f, Oops, 38, I64) \
macro(I64AtomicRmw8SubU, 0x29, Oops, 39, I64) \
macro(I64AtomicRmw8XchgU, 0x45, Oops, 40, I64) \
macro(I64AtomicRmwOr, 0x34, Oops, 41, I64)
#define FOR_EACH_WASM_EXT_ATOMIC_OTHER_OP(macro) \
macro(I32AtomicRmw8CmpxchgU, 0x4a, Oops, 0) \
macro(I64AtomicRmw8CmpxchgU, 0x4c, Oops, 1) \
macro(MemoryAtomicWait64, 0x2, Oops, 2) \
macro(MemoryAtomicNotify, 0x0, Oops, 3) \
macro(I64AtomicRmw16CmpxchgU, 0x4d, Oops, 4) \
macro(MemoryAtomicWait32, 0x1, Oops, 5) \
macro(AtomicFence, 0x3, Oops, 6) \
macro(I64AtomicRmw32CmpxchgU, 0x4e, Oops, 7) \
macro(I64AtomicRmwCmpxchg, 0x49, Oops, 8) \
macro(I32AtomicRmwCmpxchg, 0x48, Oops, 9) \
macro(I32AtomicRmw16CmpxchgU, 0x4b, Oops, 10)
#define FOR_EACH_WASM_OP(macro) \
FOR_EACH_WASM_SPECIAL_OP(macro) \
FOR_EACH_WASM_CONTROL_FLOW_OP(macro) \
FOR_EACH_WASM_UNARY_OP(macro) \
FOR_EACH_WASM_BINARY_OP(macro) \
FOR_EACH_WASM_MEMORY_LOAD_OP(macro) \
FOR_EACH_WASM_MEMORY_STORE_OP(macro) \
macro(ExtTable, 0xFC, Oops, 0) \
macro(ExtAtomic, 0xFE, Oops, 0)
#define CREATE_ENUM_VALUE(name, id, ...) name = id,
enum OpType : uint8_t {
FOR_EACH_WASM_OP(CREATE_ENUM_VALUE)
};
template<typename Int>
inline bool isValidOpType(Int i)
{
// Bitset of valid ops.
static const uint8_t valid[] = { 0x3f, 0xf8, 0x3, 0x1c, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x50 };
return 0 <= i && i <= 254 && (valid[i / 8] & (1 << (i % 8)));
}
enum class BinaryOpType : uint8_t {
FOR_EACH_WASM_BINARY_OP(CREATE_ENUM_VALUE)
};
enum class UnaryOpType : uint8_t {
FOR_EACH_WASM_UNARY_OP(CREATE_ENUM_VALUE)
};
enum class LoadOpType : uint8_t {
FOR_EACH_WASM_MEMORY_LOAD_OP(CREATE_ENUM_VALUE)
};
enum class StoreOpType : uint8_t {
FOR_EACH_WASM_MEMORY_STORE_OP(CREATE_ENUM_VALUE)
};
enum class ExtTableOpType : uint8_t {
FOR_EACH_WASM_EXT_TABLE_OP(CREATE_ENUM_VALUE)
};
enum class ExtAtomicOpType : uint8_t {
FOR_EACH_WASM_EXT_ATOMIC_LOAD_OP(CREATE_ENUM_VALUE)
FOR_EACH_WASM_EXT_ATOMIC_STORE_OP(CREATE_ENUM_VALUE)
FOR_EACH_WASM_EXT_ATOMIC_BINARY_RMW_OP(CREATE_ENUM_VALUE)
FOR_EACH_WASM_EXT_ATOMIC_OTHER_OP(CREATE_ENUM_VALUE)
};
#undef CREATE_ENUM_VALUE
inline bool isControlOp(OpType op)
{
switch (op) {
#define CREATE_CASE(name, ...) case OpType::name:
FOR_EACH_WASM_CONTROL_FLOW_OP(CREATE_CASE)
return true;
#undef CREATE_CASE
default:
break;
}
return false;
}
inline bool isSimple(UnaryOpType op)
{
switch (op) {
#define CREATE_CASE(name, ...) case UnaryOpType::name:
FOR_EACH_WASM_SIMPLE_UNARY_OP(CREATE_CASE)
return true;
#undef CREATE_CASE
default:
break;
}
return false;
}
inline bool isSimple(BinaryOpType op)
{
switch (op) {
#define CREATE_CASE(name, ...) case BinaryOpType::name:
FOR_EACH_WASM_SIMPLE_BINARY_OP(CREATE_CASE)
return true;
#undef CREATE_CASE
default:
break;
}
return false;
}
inline uint32_t memoryLog2Alignment(OpType op)
{
switch (op) {
case I64Load32U: return 2;
case I64Load32S: return 2;
case I32Load16S: return 1;
case I32Load16U: return 1;
case I64Load: return 3;
case F64Load: return 3;
case I32Load8S: return 0;
case I32Load8U: return 0;
case I32Load: return 2;
case F32Load: return 2;
case I64Load8U: return 0;
case I64Load8S: return 0;
case I64Load16S: return 1;
case I64Load16U: return 1;
case I64Store16: return 1;
case I64Store8: return 0;
case I32Store: return 2;
case I32Store16: return 1;
case F32Store: return 2;
case I64Store: return 3;
case F64Store: return 3;
case I32Store8: return 0;
case I64Store32: return 2;
default:
break;
}
RELEASE_ASSERT_NOT_REACHED();
return 0;
}
inline uint32_t memoryLog2Alignment(ExtAtomicOpType op)
{
switch (op) {
case ExtAtomicOpType::I32AtomicRmwOr: return 2;
case ExtAtomicOpType::I64AtomicStore8U: return 0;
case ExtAtomicOpType::I32AtomicRmw8CmpxchgU: return 0;
case ExtAtomicOpType::I64AtomicRmwXchg: return 3;
case ExtAtomicOpType::I32AtomicRmw8AddU: return 0;
case ExtAtomicOpType::I64AtomicRmw8CmpxchgU: return 0;
case ExtAtomicOpType::I64AtomicRmw16OrU: return 1;
case ExtAtomicOpType::I64AtomicLoad32U: return 2;
case ExtAtomicOpType::I64AtomicRmw32AndU: return 2;
case ExtAtomicOpType::I32AtomicRmw16OrU: return 1;
case ExtAtomicOpType::I64AtomicRmw16AddU: return 1;
case ExtAtomicOpType::MemoryAtomicWait64: return 3;
case ExtAtomicOpType::MemoryAtomicNotify: return 2;
case ExtAtomicOpType::I64AtomicRmw32AddU: return 2;
case ExtAtomicOpType::I32AtomicRmw8OrU: return 0;
case ExtAtomicOpType::I64AtomicRmw16CmpxchgU: return 1;
case ExtAtomicOpType::I32AtomicRmw8AndU: return 0;
case ExtAtomicOpType::I64AtomicRmw16SubU: return 1;
case ExtAtomicOpType::I32AtomicRmwAdd: return 2;
case ExtAtomicOpType::MemoryAtomicWait32: return 2;
case ExtAtomicOpType::I64AtomicRmw8AddU: return 0;
case ExtAtomicOpType::I32AtomicRmwXchg: return 2;
case ExtAtomicOpType::I32AtomicRmw8XorU: return 0;
case ExtAtomicOpType::I32AtomicRmw8XchgU: return 0;
case ExtAtomicOpType::I64AtomicRmw8OrU: return 0;
case ExtAtomicOpType::I64AtomicRmw16XorU: return 1;
case ExtAtomicOpType::I64AtomicRmwSub: return 3;
case ExtAtomicOpType::I32AtomicRmw16SubU: return 1;
case ExtAtomicOpType::I32AtomicLoad: return 2;
case ExtAtomicOpType::I64AtomicRmw32SubU: return 2;
case ExtAtomicOpType::I32AtomicRmwSub: return 2;
case ExtAtomicOpType::I64AtomicRmwAnd: return 3;
case ExtAtomicOpType::I64AtomicStore: return 3;
case ExtAtomicOpType::AtomicFence: return 0;
case ExtAtomicOpType::I64AtomicRmw32XorU: return 2;
case ExtAtomicOpType::I32AtomicStore8U: return 0;
case ExtAtomicOpType::I64AtomicRmw16XchgU: return 1;
case ExtAtomicOpType::I32AtomicRmw16AndU: return 1;
case ExtAtomicOpType::I64AtomicRmw32CmpxchgU: return 2;
case ExtAtomicOpType::I64AtomicRmwCmpxchg: return 3;
case ExtAtomicOpType::I32AtomicStore: return 2;
case ExtAtomicOpType::I32AtomicRmw16AddU: return 1;
case ExtAtomicOpType::I64AtomicRmw8AndU: return 0;
case ExtAtomicOpType::I64AtomicRmw32OrU: return 2;
case ExtAtomicOpType::I32AtomicRmwXor: return 2;
case ExtAtomicOpType::I32AtomicRmwCmpxchg: return 2;
case ExtAtomicOpType::I64AtomicRmw16AndU: return 1;
case ExtAtomicOpType::I32AtomicRmw16XchgU: return 1;
case ExtAtomicOpType::I64AtomicRmwXor: return 3;
case ExtAtomicOpType::I32AtomicRmw16XorU: return 1;
case ExtAtomicOpType::I32AtomicRmw8SubU: return 0;
case ExtAtomicOpType::I64AtomicRmw8XorU: return 0;
case ExtAtomicOpType::I32AtomicRmwAnd: return 2;
case ExtAtomicOpType::I64AtomicRmw32XchgU: return 2;
case ExtAtomicOpType::I64AtomicStore16U: return 1;
case ExtAtomicOpType::I32AtomicStore16U: return 1;
case ExtAtomicOpType::I64AtomicLoad8U: return 0;
case ExtAtomicOpType::I64AtomicLoad: return 3;
case ExtAtomicOpType::I64AtomicRmwAdd: return 3;
case ExtAtomicOpType::I64AtomicRmw8SubU: return 0;
case ExtAtomicOpType::I32AtomicLoad8U: return 0;
case ExtAtomicOpType::I64AtomicStore32U: return 2;
case ExtAtomicOpType::I32AtomicLoad16U: return 1;
case ExtAtomicOpType::I64AtomicRmw8XchgU: return 0;
case ExtAtomicOpType::I64AtomicLoad16U: return 1;
case ExtAtomicOpType::I64AtomicRmwOr: return 3;
case ExtAtomicOpType::I32AtomicRmw16CmpxchgU: return 1;
default:
break;
}
RELEASE_ASSERT_NOT_REACHED();
return 0;
}
#define CREATE_CASE(name, ...) case name: return #name;
inline const char* makeString(OpType op)
{
switch (op) {
FOR_EACH_WASM_OP(CREATE_CASE)
}
RELEASE_ASSERT_NOT_REACHED();
return nullptr;
}
#undef CREATE_CASE
} } // namespace JSC::Wasm
namespace WTF {
inline void printInternal(PrintStream& out, JSC::Wasm::Type type)
{
out.print(JSC::Wasm::makeString(type));
}
inline void printInternal(PrintStream& out, JSC::Wasm::OpType op)
{
out.print(JSC::Wasm::makeString(op));
}
} // namespace WTF
#endif // ENABLE(WEBASSEMBLY)

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyCompileErrorConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex constructorTableWebAssemblyCompileErrorIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue constructorTableWebAssemblyCompileErrorValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable constructorTableWebAssemblyCompileError =
{ 0, 0, false, nullptr, constructorTableWebAssemblyCompileErrorValues, constructorTableWebAssemblyCompileErrorIndex };
} // namespace JSC

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyCompileErrorPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex prototypeTableWebAssemblyCompileErrorIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue prototypeTableWebAssemblyCompileErrorValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable prototypeTableWebAssemblyCompileError =
{ 0, 0, false, nullptr, prototypeTableWebAssemblyCompileErrorValues, prototypeTableWebAssemblyCompileErrorIndex };
} // namespace JSC

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyGlobalConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex constructorGlobalWebAssemblyGlobalIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue constructorGlobalWebAssemblyGlobalValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable constructorGlobalWebAssemblyGlobal =
{ 0, 0, false, nullptr, constructorGlobalWebAssemblyGlobalValues, constructorGlobalWebAssemblyGlobalIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyGlobalPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex prototypeGlobalWebAssemblyGlobalIndex[2] = {
{ 0, -1 },
{ -1, -1 },
};
static const struct HashTableValue prototypeGlobalWebAssemblyGlobalValues[1] = {
{ "valueOf", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyGlobalProtoFuncValueOf), (intptr_t)(0) } },
};
static const struct HashTable prototypeGlobalWebAssemblyGlobal =
{ 1, 1, false, nullptr, prototypeGlobalWebAssemblyGlobalValues, prototypeGlobalWebAssemblyGlobalIndex };
} // namespace JSC

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyInstanceConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex constructorTableWebAssemblyInstanceIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue constructorTableWebAssemblyInstanceValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable constructorTableWebAssemblyInstance =
{ 0, 0, false, nullptr, constructorTableWebAssemblyInstanceValues, constructorTableWebAssemblyInstanceIndex };
} // namespace JSC

View File

@ -0,0 +1,19 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyInstancePrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex prototypeTableWebAssemblyInstanceIndex[2] = {
{ 0, -1 },
{ -1, -1 },
};
static const struct HashTableValue prototypeTableWebAssemblyInstanceValues[1] = {
{ "exports", static_cast<unsigned>(PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyInstanceProtoFuncExports), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
};
static const struct HashTable prototypeTableWebAssemblyInstance =
{ 1, 1, true, nullptr, prototypeTableWebAssemblyInstanceValues, prototypeTableWebAssemblyInstanceIndex };
} // namespace JSC

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyLinkErrorConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex constructorTableWebAssemblyLinkErrorIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue constructorTableWebAssemblyLinkErrorValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable constructorTableWebAssemblyLinkError =
{ 0, 0, false, nullptr, constructorTableWebAssemblyLinkErrorValues, constructorTableWebAssemblyLinkErrorIndex };
} // namespace JSC

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyLinkErrorPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex prototypeTableWebAssemblyLinkErrorIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue prototypeTableWebAssemblyLinkErrorValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable prototypeTableWebAssemblyLinkError =
{ 0, 0, false, nullptr, prototypeTableWebAssemblyLinkErrorValues, prototypeTableWebAssemblyLinkErrorIndex };
} // namespace JSC

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyMemoryConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex constructorTableWebAssemblyMemoryIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue constructorTableWebAssemblyMemoryValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable constructorTableWebAssemblyMemory =
{ 0, 0, false, nullptr, constructorTableWebAssemblyMemoryValues, constructorTableWebAssemblyMemoryIndex };
} // namespace JSC

View File

@ -0,0 +1,23 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyMemoryPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex prototypeTableWebAssemblyMemoryIndex[5] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, 4 },
{ 1, -1 },
};
static const struct HashTableValue prototypeTableWebAssemblyMemoryValues[2] = {
{ "grow", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyMemoryProtoFuncGrow), (intptr_t)(1) } },
{ "buffer", static_cast<unsigned>(PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyMemoryProtoFuncBuffer), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
};
static const struct HashTable prototypeTableWebAssemblyMemory =
{ 2, 3, true, nullptr, prototypeTableWebAssemblyMemoryValues, prototypeTableWebAssemblyMemoryIndex };
} // namespace JSC

View File

@ -0,0 +1,27 @@
// 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

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyModulePrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex prototypeTableWebAssemblyModuleIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue prototypeTableWebAssemblyModuleValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable prototypeTableWebAssemblyModule =
{ 0, 0, false, nullptr, prototypeTableWebAssemblyModuleValues, prototypeTableWebAssemblyModuleIndex };
} // namespace JSC

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyRuntimeErrorConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex constructorTableWebAssemblyRuntimeErrorIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue constructorTableWebAssemblyRuntimeErrorValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable constructorTableWebAssemblyRuntimeError =
{ 0, 0, false, nullptr, constructorTableWebAssemblyRuntimeErrorValues, constructorTableWebAssemblyRuntimeErrorIndex };
} // namespace JSC

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyRuntimeErrorPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex prototypeTableWebAssemblyRuntimeErrorIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue prototypeTableWebAssemblyRuntimeErrorValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable prototypeTableWebAssemblyRuntimeError =
{ 0, 0, false, nullptr, prototypeTableWebAssemblyRuntimeErrorValues, prototypeTableWebAssemblyRuntimeErrorIndex };
} // namespace JSC

View File

@ -0,0 +1,18 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyTableConstructor.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex constructorTableWebAssemblyTableIndex[1] = {
{ -1, -1 },
};
static const struct HashTableValue constructorTableWebAssemblyTableValues[1] = {
{ nullptr, 0, NoIntrinsic, { 0, 0 } }
};
static const struct HashTable constructorTableWebAssemblyTable =
{ 0, 0, false, nullptr, constructorTableWebAssemblyTableValues, constructorTableWebAssemblyTableIndex };
} // namespace JSC

View File

@ -0,0 +1,28 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex prototypeTableWebAssemblyTableIndex[8] = {
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ 3, -1 },
};
static const struct HashTableValue prototypeTableWebAssemblyTableValues[4] = {
{ "length", static_cast<unsigned>(PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyTableProtoFuncLength), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "grow", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyTableProtoFuncGrow), (intptr_t)(1) } },
{ "get", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyTableProtoFuncGet), (intptr_t)(1) } },
{ "set", static_cast<unsigned>(PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyTableProtoFuncSet), (intptr_t)(2) } },
};
static const struct HashTable prototypeTableWebAssemblyTable =
{ 4, 7, true, nullptr, prototypeTableWebAssemblyTableValues, prototypeTableWebAssemblyTableIndex };
} // namespace JSC

View File

@ -0,0 +1,450 @@
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
* Copyright (C) 2013-2016 Apple Inc. All rights reserved.
* Copyright (C) 2014 University of Washington. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
// DO NOT EDIT THIS FILE. It is automatically generated from CombinedDomains.json by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
#pragma once
#if ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)
#include "InspectorBackendDispatcher.h"
#include "InspectorFrontendRouter.h"
#include "InspectorProtocolObjects.h"
namespace Inspector {
class AlternateBackendDispatcher {
public:
void setBackendDispatcher(RefPtr<BackendDispatcher>&& dispatcher) { m_backendDispatcher = WTFMove(dispatcher); }
BackendDispatcher* backendDispatcher() const { return m_backendDispatcher.get(); }
private:
RefPtr<BackendDispatcher> m_backendDispatcher;
};
class AlternateAnimationBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateAnimationBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void requestEffectTarget(long protocol_requestId, const String& animationId) = 0;
virtual void resolveAnimation(long protocol_requestId, const String& animationId, const String& opt_objectGroup) = 0;
virtual void startTracking(long protocol_requestId) = 0;
virtual void stopTracking(long protocol_requestId) = 0;
};
class AlternateApplicationCacheBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateApplicationCacheBackendDispatcher() { }
virtual void getFramesWithManifests(long protocol_requestId) = 0;
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void getManifestForFrame(long protocol_requestId, const String& frameId) = 0;
virtual void getApplicationCacheForFrame(long protocol_requestId, const String& frameId) = 0;
};
class AlternateAuditBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateAuditBackendDispatcher() { }
virtual void setup(long protocol_requestId, Optional<int>&& opt_contextId) = 0;
virtual void run(long protocol_requestId, const String& test, Optional<int>&& opt_contextId) = 0;
virtual void teardown(long protocol_requestId) = 0;
};
class AlternateBrowserBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateBrowserBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
};
#if defined(ENABLE_RESOURCE_USAGE) && ENABLE_RESOURCE_USAGE
class AlternateCPUProfilerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateCPUProfilerBackendDispatcher() { }
virtual void startTracking(long protocol_requestId) = 0;
virtual void stopTracking(long protocol_requestId) = 0;
};
#endif // defined(ENABLE_RESOURCE_USAGE) && ENABLE_RESOURCE_USAGE
class AlternateCSSBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateCSSBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void getMatchedStylesForNode(long protocol_requestId, int nodeId, Optional<bool>&& opt_includePseudo, Optional<bool>&& opt_includeInherited) = 0;
virtual void getInlineStylesForNode(long protocol_requestId, int nodeId) = 0;
virtual void getComputedStyleForNode(long protocol_requestId, int nodeId) = 0;
virtual void getFontDataForNode(long protocol_requestId, int nodeId) = 0;
virtual void getAllStyleSheets(long protocol_requestId) = 0;
virtual void getStyleSheet(long protocol_requestId, const String& styleSheetId) = 0;
virtual void getStyleSheetText(long protocol_requestId, const String& styleSheetId) = 0;
virtual void setStyleSheetText(long protocol_requestId, const String& styleSheetId, const String& text) = 0;
virtual void setStyleText(long protocol_requestId, Ref<JSON::Object>&& styleId, const String& text) = 0;
virtual void setRuleSelector(long protocol_requestId, Ref<JSON::Object>&& ruleId, const String& selector) = 0;
virtual void createStyleSheet(long protocol_requestId, const String& frameId) = 0;
virtual void addRule(long protocol_requestId, const String& styleSheetId, const String& selector) = 0;
virtual void getSupportedCSSProperties(long protocol_requestId) = 0;
virtual void getSupportedSystemFontFamilyNames(long protocol_requestId) = 0;
virtual void forcePseudoState(long protocol_requestId, int nodeId, Ref<JSON::Array>&& forcedPseudoClasses) = 0;
};
class AlternateCanvasBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateCanvasBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void requestNode(long protocol_requestId, const String& canvasId) = 0;
virtual void requestContent(long protocol_requestId, const String& canvasId) = 0;
virtual void requestClientNodes(long protocol_requestId, const String& canvasId) = 0;
virtual void resolveContext(long protocol_requestId, const String& canvasId, const String& opt_objectGroup) = 0;
virtual void setRecordingAutoCaptureFrameCount(long protocol_requestId, int count) = 0;
virtual void startRecording(long protocol_requestId, const String& canvasId, Optional<int>&& opt_frameCount, Optional<int>&& opt_memoryLimit) = 0;
virtual void stopRecording(long protocol_requestId, const String& canvasId) = 0;
#if (defined(ENABLE_WEBGL) && ENABLE_WEBGL) || (defined(ENABLE_WEBGPU) && ENABLE_WEBGPU)
virtual void requestShaderSource(long protocol_requestId, const String& programId, const String& shaderType) = 0;
#endif // (defined(ENABLE_WEBGL) && ENABLE_WEBGL) || (defined(ENABLE_WEBGPU) && ENABLE_WEBGPU)
#if (defined(ENABLE_WEBGL) && ENABLE_WEBGL) || (defined(ENABLE_WEBGPU) && ENABLE_WEBGPU)
virtual void updateShader(long protocol_requestId, const String& programId, const String& shaderType, const String& source) = 0;
#endif // (defined(ENABLE_WEBGL) && ENABLE_WEBGL) || (defined(ENABLE_WEBGPU) && ENABLE_WEBGPU)
#if defined(ENABLE_WEBGL) && ENABLE_WEBGL
virtual void setShaderProgramDisabled(long protocol_requestId, const String& programId, bool disabled) = 0;
#endif // defined(ENABLE_WEBGL) && ENABLE_WEBGL
#if defined(ENABLE_WEBGL) && ENABLE_WEBGL
virtual void setShaderProgramHighlighted(long protocol_requestId, const String& programId, bool highlighted) = 0;
#endif // defined(ENABLE_WEBGL) && ENABLE_WEBGL
};
class AlternateConsoleBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateConsoleBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void clearMessages(long protocol_requestId) = 0;
virtual void getLoggingChannels(long protocol_requestId) = 0;
virtual void setLoggingChannelLevel(long protocol_requestId, const String& source, const String& level) = 0;
};
class AlternateDOMBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDOMBackendDispatcher() { }
virtual void getDocument(long protocol_requestId) = 0;
virtual void requestChildNodes(long protocol_requestId, int nodeId, Optional<int>&& opt_depth) = 0;
virtual void querySelector(long protocol_requestId, int nodeId, const String& selector) = 0;
virtual void querySelectorAll(long protocol_requestId, int nodeId, const String& selector) = 0;
virtual void setNodeName(long protocol_requestId, int nodeId, const String& name) = 0;
virtual void setNodeValue(long protocol_requestId, int nodeId, const String& value) = 0;
virtual void removeNode(long protocol_requestId, int nodeId) = 0;
virtual void setAttributeValue(long protocol_requestId, int nodeId, const String& name, const String& value) = 0;
virtual void setAttributesAsText(long protocol_requestId, int nodeId, const String& text, const String& opt_name) = 0;
virtual void removeAttribute(long protocol_requestId, int nodeId, const String& name) = 0;
virtual void getSupportedEventNames(long protocol_requestId) = 0;
#if defined(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS) && ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS
virtual void getDataBindingsForNode(long protocol_requestId, int nodeId) = 0;
#endif // defined(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS) && ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS
#if defined(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS) && ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS
virtual void getAssociatedDataForNode(long protocol_requestId, int nodeId) = 0;
#endif // defined(ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS) && ENABLE_INSPECTOR_ALTERNATE_DISPATCHERS
virtual void getEventListenersForNode(long protocol_requestId, int nodeId) = 0;
virtual void setEventListenerDisabled(long protocol_requestId, int eventListenerId, bool disabled) = 0;
virtual void setBreakpointForEventListener(long protocol_requestId, int eventListenerId, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void removeBreakpointForEventListener(long protocol_requestId, int eventListenerId) = 0;
virtual void getAccessibilityPropertiesForNode(long protocol_requestId, int nodeId) = 0;
virtual void getOuterHTML(long protocol_requestId, int nodeId) = 0;
virtual void setOuterHTML(long protocol_requestId, int nodeId, const String& outerHTML) = 0;
virtual void insertAdjacentHTML(long protocol_requestId, int nodeId, const String& position, const String& html) = 0;
virtual void performSearch(long protocol_requestId, const String& query, RefPtr<JSON::Array>&& opt_nodeIds, Optional<bool>&& opt_caseSensitive) = 0;
virtual void getSearchResults(long protocol_requestId, const String& searchId, int fromIndex, int toIndex) = 0;
virtual void discardSearchResults(long protocol_requestId, const String& searchId) = 0;
virtual void requestNode(long protocol_requestId, const String& objectId) = 0;
#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY
virtual void setInspectModeEnabled(long protocol_requestId, bool enabled, RefPtr<JSON::Object>&& opt_highlightConfig) = 0;
#endif // defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY
#if !(defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY)
virtual void setInspectModeEnabled(long protocol_requestId, bool enabled, RefPtr<JSON::Object>&& opt_highlightConfig, Optional<bool>&& opt_showRulers) = 0;
#endif // !(defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY)
virtual void highlightRect(long protocol_requestId, int x, int y, int width, int height, RefPtr<JSON::Object>&& opt_color, RefPtr<JSON::Object>&& opt_outlineColor, Optional<bool>&& opt_usePageCoordinates) = 0;
virtual void highlightQuad(long protocol_requestId, Ref<JSON::Array>&& quad, RefPtr<JSON::Object>&& opt_color, RefPtr<JSON::Object>&& opt_outlineColor, Optional<bool>&& opt_usePageCoordinates) = 0;
virtual void highlightSelector(long protocol_requestId, Ref<JSON::Object>&& highlightConfig, const String& selectorString, const String& opt_frameId) = 0;
virtual void highlightNode(long protocol_requestId, Ref<JSON::Object>&& highlightConfig, Optional<int>&& opt_nodeId, const String& opt_objectId) = 0;
virtual void highlightNodeList(long protocol_requestId, Ref<JSON::Array>&& nodeIds, Ref<JSON::Object>&& highlightConfig) = 0;
virtual void hideHighlight(long protocol_requestId) = 0;
virtual void highlightFrame(long protocol_requestId, const String& frameId, RefPtr<JSON::Object>&& opt_contentColor, RefPtr<JSON::Object>&& opt_contentOutlineColor) = 0;
virtual void pushNodeByPathToFrontend(long protocol_requestId, const String& path) = 0;
virtual void resolveNode(long protocol_requestId, int nodeId, const String& opt_objectGroup) = 0;
virtual void getAttributes(long protocol_requestId, int nodeId) = 0;
virtual void moveTo(long protocol_requestId, int nodeId, int targetNodeId, Optional<int>&& opt_insertBeforeNodeId) = 0;
virtual void undo(long protocol_requestId) = 0;
virtual void redo(long protocol_requestId) = 0;
virtual void markUndoableState(long protocol_requestId) = 0;
virtual void focus(long protocol_requestId, int nodeId) = 0;
virtual void setInspectedNode(long protocol_requestId, int nodeId) = 0;
virtual void setAllowEditingUserAgentShadowTrees(long protocol_requestId, bool allow) = 0;
};
class AlternateDOMDebuggerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDOMDebuggerBackendDispatcher() { }
virtual void setDOMBreakpoint(long protocol_requestId, int nodeId, const String& type, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void removeDOMBreakpoint(long protocol_requestId, int nodeId, const String& type) = 0;
virtual void setEventBreakpoint(long protocol_requestId, const String& breakpointType, const String& opt_eventName, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void removeEventBreakpoint(long protocol_requestId, const String& breakpointType, const String& opt_eventName) = 0;
virtual void setURLBreakpoint(long protocol_requestId, const String& url, Optional<bool>&& opt_isRegex, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void removeURLBreakpoint(long protocol_requestId, const String& url, Optional<bool>&& opt_isRegex) = 0;
};
class AlternateDOMStorageBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDOMStorageBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void getDOMStorageItems(long protocol_requestId, Ref<JSON::Object>&& storageId) = 0;
virtual void setDOMStorageItem(long protocol_requestId, Ref<JSON::Object>&& storageId, const String& key, const String& value) = 0;
virtual void removeDOMStorageItem(long protocol_requestId, Ref<JSON::Object>&& storageId, const String& key) = 0;
virtual void clearDOMStorageItems(long protocol_requestId, Ref<JSON::Object>&& storageId) = 0;
};
class AlternateDatabaseBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDatabaseBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void getDatabaseTableNames(long protocol_requestId, const String& databaseId) = 0;
virtual void executeSQL(long protocol_requestId, const String& databaseId, const String& query) = 0;
};
class AlternateDebuggerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDebuggerBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void setAsyncStackTraceDepth(long protocol_requestId, int depth) = 0;
virtual void setBreakpointsActive(long protocol_requestId, bool active) = 0;
virtual void setBreakpointByUrl(long protocol_requestId, int lineNumber, const String& opt_url, const String& opt_urlRegex, Optional<int>&& opt_columnNumber, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void setBreakpoint(long protocol_requestId, Ref<JSON::Object>&& location, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void removeBreakpoint(long protocol_requestId, const String& breakpointId) = 0;
virtual void continueUntilNextRunLoop(long protocol_requestId) = 0;
virtual void continueToLocation(long protocol_requestId, Ref<JSON::Object>&& location) = 0;
virtual void stepNext(long protocol_requestId) = 0;
virtual void stepOver(long protocol_requestId) = 0;
virtual void stepInto(long protocol_requestId) = 0;
virtual void stepOut(long protocol_requestId) = 0;
virtual void pause(long protocol_requestId) = 0;
virtual void resume(long protocol_requestId) = 0;
virtual void searchInContent(long protocol_requestId, const String& scriptId, const String& query, Optional<bool>&& opt_caseSensitive, Optional<bool>&& opt_isRegex) = 0;
virtual void getScriptSource(long protocol_requestId, const String& scriptId) = 0;
virtual void getFunctionDetails(long protocol_requestId, const String& functionId) = 0;
virtual void setPauseOnDebuggerStatements(long protocol_requestId, bool enabled, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void setPauseOnExceptions(long protocol_requestId, const String& state, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void setPauseOnAssertions(long protocol_requestId, bool enabled, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void setPauseOnMicrotasks(long protocol_requestId, bool enabled, RefPtr<JSON::Object>&& opt_options) = 0;
virtual void setPauseForInternalScripts(long protocol_requestId, bool shouldPause) = 0;
virtual void evaluateOnCallFrame(long protocol_requestId, const String& callFrameId, const String& expression, const String& opt_objectGroup, Optional<bool>&& opt_includeCommandLineAPI, Optional<bool>&& opt_doNotPauseOnExceptionsAndMuteConsole, Optional<bool>&& opt_returnByValue, Optional<bool>&& opt_generatePreview, Optional<bool>&& opt_saveResult, Optional<bool>&& opt_emulateUserGesture) = 0;
virtual void setShouldBlackboxURL(long protocol_requestId, const String& url, bool shouldBlackbox, Optional<bool>&& opt_caseSensitive, Optional<bool>&& opt_isRegex) = 0;
};
class AlternateHeapBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateHeapBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void gc(long protocol_requestId) = 0;
virtual void snapshot(long protocol_requestId) = 0;
virtual void startTracking(long protocol_requestId) = 0;
virtual void stopTracking(long protocol_requestId) = 0;
virtual void getPreview(long protocol_requestId, int heapObjectId) = 0;
virtual void getRemoteObject(long protocol_requestId, int heapObjectId, const String& opt_objectGroup) = 0;
};
#if defined(ENABLE_INDEXED_DATABASE) && ENABLE_INDEXED_DATABASE
class AlternateIndexedDBBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateIndexedDBBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void requestDatabaseNames(long protocol_requestId, const String& securityOrigin) = 0;
virtual void requestDatabase(long protocol_requestId, const String& securityOrigin, const String& databaseName) = 0;
virtual void requestData(long protocol_requestId, const String& securityOrigin, const String& databaseName, const String& objectStoreName, const String& indexName, int skipCount, int pageSize, RefPtr<JSON::Object>&& opt_keyRange) = 0;
virtual void clearObjectStore(long protocol_requestId, const String& securityOrigin, const String& databaseName, const String& objectStoreName) = 0;
};
#endif // defined(ENABLE_INDEXED_DATABASE) && ENABLE_INDEXED_DATABASE
class AlternateInspectorBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateInspectorBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void initialized(long protocol_requestId) = 0;
};
class AlternateLayerTreeBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateLayerTreeBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void layersForNode(long protocol_requestId, int nodeId) = 0;
virtual void reasonsForCompositingLayer(long protocol_requestId, const String& layerId) = 0;
};
#if defined(ENABLE_RESOURCE_USAGE) && ENABLE_RESOURCE_USAGE
class AlternateMemoryBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateMemoryBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void startTracking(long protocol_requestId) = 0;
virtual void stopTracking(long protocol_requestId) = 0;
};
#endif // defined(ENABLE_RESOURCE_USAGE) && ENABLE_RESOURCE_USAGE
class AlternateNetworkBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateNetworkBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void setExtraHTTPHeaders(long protocol_requestId, Ref<JSON::Object>&& headers) = 0;
virtual void getResponseBody(long protocol_requestId, const String& requestId) = 0;
virtual void setResourceCachingDisabled(long protocol_requestId, bool disabled) = 0;
virtual void loadResource(long protocol_requestId, const String& frameId, const String& url) = 0;
virtual void getSerializedCertificate(long protocol_requestId, const String& requestId) = 0;
virtual void resolveWebSocket(long protocol_requestId, const String& requestId, const String& opt_objectGroup) = 0;
virtual void setInterceptionEnabled(long protocol_requestId, bool enabled) = 0;
virtual void addInterception(long protocol_requestId, const String& url, const String& stage, Optional<bool>&& opt_caseSensitive, Optional<bool>&& opt_isRegex) = 0;
virtual void removeInterception(long protocol_requestId, const String& url, const String& stage, Optional<bool>&& opt_caseSensitive, Optional<bool>&& opt_isRegex) = 0;
virtual void interceptContinue(long protocol_requestId, const String& requestId, const String& stage) = 0;
virtual void interceptWithRequest(long protocol_requestId, const String& requestId, const String& opt_url, const String& opt_method, RefPtr<JSON::Object>&& opt_headers, const String& opt_postData) = 0;
virtual void interceptWithResponse(long protocol_requestId, const String& requestId, const String& content, bool base64Encoded, const String& opt_mimeType, Optional<int>&& opt_status, const String& opt_statusText, RefPtr<JSON::Object>&& opt_headers) = 0;
virtual void interceptRequestWithResponse(long protocol_requestId, const String& requestId, const String& content, bool base64Encoded, const String& mimeType, int status, const String& statusText, Ref<JSON::Object>&& headers) = 0;
virtual void interceptRequestWithError(long protocol_requestId, const String& requestId, const String& errorType) = 0;
};
class AlternatePageBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternatePageBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void reload(long protocol_requestId, Optional<bool>&& opt_ignoreCache, Optional<bool>&& opt_revalidateAllResources) = 0;
virtual void navigate(long protocol_requestId, const String& url) = 0;
virtual void overrideUserAgent(long protocol_requestId, const String& opt_value) = 0;
virtual void overrideSetting(long protocol_requestId, const String& setting, Optional<bool>&& opt_value) = 0;
virtual void getCookies(long protocol_requestId) = 0;
virtual void setCookie(long protocol_requestId, Ref<JSON::Object>&& cookie) = 0;
virtual void deleteCookie(long protocol_requestId, const String& cookieName, const String& url) = 0;
virtual void getResourceTree(long protocol_requestId) = 0;
virtual void getResourceContent(long protocol_requestId, const String& frameId, const String& url) = 0;
virtual void setBootstrapScript(long protocol_requestId, const String& opt_source) = 0;
virtual void searchInResource(long protocol_requestId, const String& frameId, const String& url, const String& query, Optional<bool>&& opt_caseSensitive, Optional<bool>&& opt_isRegex, const String& opt_requestId) = 0;
virtual void searchInResources(long protocol_requestId, const String& text, Optional<bool>&& opt_caseSensitive, Optional<bool>&& opt_isRegex) = 0;
#if !(defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY)
virtual void setShowRulers(long protocol_requestId, bool result) = 0;
#endif // !(defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY)
virtual void setShowPaintRects(long protocol_requestId, bool result) = 0;
virtual void setEmulatedMedia(long protocol_requestId, const String& media) = 0;
#if (defined(ENABLE_DARK_MODE_CSS) && ENABLE_DARK_MODE_CSS) || (defined(HAVE_OS_DARK_MODE_SUPPORT) && HAVE_OS_DARK_MODE_SUPPORT)
virtual void setForcedAppearance(long protocol_requestId, const String& opt_appearance) = 0;
#endif // (defined(ENABLE_DARK_MODE_CSS) && ENABLE_DARK_MODE_CSS) || (defined(HAVE_OS_DARK_MODE_SUPPORT) && HAVE_OS_DARK_MODE_SUPPORT)
virtual void snapshotNode(long protocol_requestId, int nodeId) = 0;
virtual void snapshotRect(long protocol_requestId, int x, int y, int width, int height, const String& coordinateSystem) = 0;
#if (defined(ENABLE_WEB_ARCHIVE) && ENABLE_WEB_ARCHIVE) && (defined(USE_CF) && USE_CF)
virtual void archive(long protocol_requestId) = 0;
#endif // (defined(ENABLE_WEB_ARCHIVE) && ENABLE_WEB_ARCHIVE) && (defined(USE_CF) && USE_CF)
#if !(defined(WTF_PLATFORM_COCOA) && WTF_PLATFORM_COCOA)
virtual void setScreenSizeOverride(long protocol_requestId, Optional<int>&& opt_width, Optional<int>&& opt_height) = 0;
#endif // !(defined(WTF_PLATFORM_COCOA) && WTF_PLATFORM_COCOA)
};
class AlternateRuntimeBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateRuntimeBackendDispatcher() { }
virtual void parse(long protocol_requestId, const String& source) = 0;
virtual void evaluate(long protocol_requestId, const String& expression, const String& opt_objectGroup, Optional<bool>&& opt_includeCommandLineAPI, Optional<bool>&& opt_doNotPauseOnExceptionsAndMuteConsole, Optional<int>&& opt_contextId, Optional<bool>&& opt_returnByValue, Optional<bool>&& opt_generatePreview, Optional<bool>&& opt_saveResult, Optional<bool>&& opt_emulateUserGesture) = 0;
virtual void awaitPromise(long protocol_requestId, const String& promiseObjectId, Optional<bool>&& opt_returnByValue, Optional<bool>&& opt_generatePreview, Optional<bool>&& opt_saveResult) = 0;
virtual void callFunctionOn(long protocol_requestId, const String& objectId, const String& functionDeclaration, RefPtr<JSON::Array>&& opt_arguments, Optional<bool>&& opt_doNotPauseOnExceptionsAndMuteConsole, Optional<bool>&& opt_returnByValue, Optional<bool>&& opt_generatePreview, Optional<bool>&& opt_emulateUserGesture) = 0;
virtual void getPreview(long protocol_requestId, const String& objectId) = 0;
virtual void getProperties(long protocol_requestId, const String& objectId, Optional<bool>&& opt_ownProperties, Optional<int>&& opt_fetchStart, Optional<int>&& opt_fetchCount, Optional<bool>&& opt_generatePreview) = 0;
virtual void getDisplayableProperties(long protocol_requestId, const String& objectId, Optional<int>&& opt_fetchStart, Optional<int>&& opt_fetchCount, Optional<bool>&& opt_generatePreview) = 0;
virtual void getCollectionEntries(long protocol_requestId, const String& objectId, const String& opt_objectGroup, Optional<int>&& opt_fetchStart, Optional<int>&& opt_fetchCount) = 0;
virtual void saveResult(long protocol_requestId, Ref<JSON::Object>&& value, Optional<int>&& opt_contextId) = 0;
virtual void setSavedResultAlias(long protocol_requestId, const String& opt_alias) = 0;
virtual void releaseObject(long protocol_requestId, const String& objectId) = 0;
virtual void releaseObjectGroup(long protocol_requestId, const String& objectGroup) = 0;
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void getRuntimeTypesForVariablesAtOffsets(long protocol_requestId, Ref<JSON::Array>&& locations) = 0;
virtual void enableTypeProfiler(long protocol_requestId) = 0;
virtual void disableTypeProfiler(long protocol_requestId) = 0;
virtual void enableControlFlowProfiler(long protocol_requestId) = 0;
virtual void disableControlFlowProfiler(long protocol_requestId) = 0;
virtual void getBasicBlocks(long protocol_requestId, const String& sourceID) = 0;
};
class AlternateScriptProfilerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateScriptProfilerBackendDispatcher() { }
virtual void startTracking(long protocol_requestId, Optional<bool>&& opt_includeSamples) = 0;
virtual void stopTracking(long protocol_requestId) = 0;
};
#if defined(ENABLE_SERVICE_WORKER) && ENABLE_SERVICE_WORKER
class AlternateServiceWorkerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateServiceWorkerBackendDispatcher() { }
virtual void getInitializationInfo(long protocol_requestId) = 0;
};
#endif // defined(ENABLE_SERVICE_WORKER) && ENABLE_SERVICE_WORKER
class AlternateTargetBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateTargetBackendDispatcher() { }
virtual void setPauseOnStart(long protocol_requestId, bool pauseOnStart) = 0;
virtual void resume(long protocol_requestId, const String& targetId) = 0;
virtual void sendMessageToTarget(long protocol_requestId, const String& targetId, const String& message) = 0;
};
class AlternateTimelineBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateTimelineBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void start(long protocol_requestId, Optional<int>&& opt_maxCallStackDepth) = 0;
virtual void stop(long protocol_requestId) = 0;
virtual void setAutoCaptureEnabled(long protocol_requestId, bool enabled) = 0;
virtual void setInstruments(long protocol_requestId, Ref<JSON::Array>&& instruments) = 0;
};
class AlternateWorkerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateWorkerBackendDispatcher() { }
virtual void enable(long protocol_requestId) = 0;
virtual void disable(long protocol_requestId) = 0;
virtual void initialized(long protocol_requestId, const String& workerId) = 0;
virtual void sendMessageToWorker(long protocol_requestId, const String& workerId, const String& message) = 0;
};
} // namespace Inspector
#endif // ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)

View File

@ -0,0 +1,509 @@
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
* Copyright (C) 2013-2016 Apple Inc. All rights reserved.
* Copyright (C) 2014 University of Washington. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
// DO NOT EDIT THIS FILE. It is automatically generated from CombinedDomains.json by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
// Animation
InspectorBackend.registerDomain("Animation", ["page"]);
InspectorBackend.registerEnum("Animation.AnimationState", {Ready: "ready", Delayed: "delayed", Active: "active", Canceled: "canceled", Done: "done"});
InspectorBackend.registerEnum("Animation.PlaybackDirection", {Normal: "normal", Reverse: "reverse", Alternate: "alternate", AlternateReverse: "alternate-reverse"});
InspectorBackend.registerEnum("Animation.FillMode", {None: "none", Forwards: "forwards", Backwards: "backwards", Both: "both", Auto: "auto"});
InspectorBackend.registerCommand("Animation.enable", null, [], []);
InspectorBackend.registerCommand("Animation.disable", null, [], []);
InspectorBackend.registerCommand("Animation.requestEffectTarget", null, [{"name": "animationId", "type": "string"}], ["nodeId"]);
InspectorBackend.registerCommand("Animation.resolveAnimation", null, [{"name": "animationId", "type": "string"}, {"name": "objectGroup", "type": "string", "optional": true}], ["object"]);
InspectorBackend.registerCommand("Animation.startTracking", null, [], []);
InspectorBackend.registerCommand("Animation.stopTracking", null, [], []);
InspectorBackend.registerEvent("Animation.animationCreated", null, ["animation"]);
InspectorBackend.registerEvent("Animation.nameChanged", null, ["animationId", "name"]);
InspectorBackend.registerEvent("Animation.effectChanged", null, ["animationId", "effect"]);
InspectorBackend.registerEvent("Animation.targetChanged", null, ["animationId"]);
InspectorBackend.registerEvent("Animation.animationDestroyed", null, ["animationId"]);
InspectorBackend.registerEvent("Animation.trackingStart", null, ["timestamp"]);
InspectorBackend.registerEvent("Animation.trackingUpdate", null, ["timestamp", "event"]);
InspectorBackend.registerEvent("Animation.trackingComplete", null, ["timestamp"]);
InspectorBackend.registerAnimationDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Animation");
InspectorBackend.activateDomain("Animation", ["page", "web-page"]);
// ApplicationCache
InspectorBackend.registerDomain("ApplicationCache", ["page"]);
InspectorBackend.registerCommand("ApplicationCache.getFramesWithManifests", null, [], ["frameIds"]);
InspectorBackend.registerCommand("ApplicationCache.enable", null, [], []);
InspectorBackend.registerCommand("ApplicationCache.disable", null, [], []);
InspectorBackend.registerCommand("ApplicationCache.getManifestForFrame", null, [{"name": "frameId", "type": "string"}], ["manifestURL"]);
InspectorBackend.registerCommand("ApplicationCache.getApplicationCacheForFrame", null, [{"name": "frameId", "type": "string"}], ["applicationCache"]);
InspectorBackend.registerEvent("ApplicationCache.applicationCacheStatusUpdated", null, ["frameId", "manifestURL", "status"]);
InspectorBackend.registerEvent("ApplicationCache.networkStateUpdated", null, ["isNowOnline"]);
InspectorBackend.registerApplicationCacheDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "ApplicationCache");
InspectorBackend.activateDomain("ApplicationCache", ["page", "web-page"]);
// Audit
InspectorBackend.registerDomain("Audit", ["itml", "javascript", "page", "service-worker", "worker"]);
InspectorBackend.registerVersion("Audit", 3);
InspectorBackend.registerCommand("Audit.setup", null, [{"name": "contextId", "type": "number", "optional": true}], []);
InspectorBackend.registerCommand("Audit.run", null, [{"name": "test", "type": "string"}, {"name": "contextId", "type": "number", "optional": true}], ["result", "wasThrown"]);
InspectorBackend.registerCommand("Audit.teardown", null, [], []);
InspectorBackend.activateDomain("Audit", ["itml", "javascript", "page", "service-worker", "web-page"]);
// Browser
InspectorBackend.registerDomain("Browser", ["web-page"]);
InspectorBackend.registerCommand("Browser.enable", null, [], []);
InspectorBackend.registerCommand("Browser.disable", null, [], []);
InspectorBackend.registerEvent("Browser.extensionsEnabled", null, ["extensions"]);
InspectorBackend.registerEvent("Browser.extensionsDisabled", null, ["extensionIds"]);
InspectorBackend.registerBrowserDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Browser");
InspectorBackend.activateDomain("Browser", ["web-page"]);
// CSS
InspectorBackend.registerDomain("CSS", ["itml", "page"]);
InspectorBackend.registerEnum("CSS.StyleSheetOrigin", {User: "user", UserAgent: "user-agent", Author: "author", Inspector: "inspector"});
InspectorBackend.registerEnum("CSS.PseudoId", {FirstLine: "first-line", FirstLetter: "first-letter", Highlight: "highlight", Marker: "marker", Before: "before", After: "after", Selection: "selection", Scrollbar: "scrollbar", ScrollbarThumb: "scrollbar-thumb", ScrollbarButton: "scrollbar-button", ScrollbarTrack: "scrollbar-track", ScrollbarTrackPiece: "scrollbar-track-piece", ScrollbarCorner: "scrollbar-corner", Resizer: "resizer"});
InspectorBackend.registerEnum("CSS.CSSPropertyStatus", {Active: "active", Inactive: "inactive", Disabled: "disabled", Style: "style"});
InspectorBackend.registerEnum("CSS.GroupingType", {MediaRule: "media-rule", MediaImportRule: "media-import-rule", MediaLinkNode: "media-link-node", MediaStyleNode: "media-style-node", SupportsRule: "supports-rule"});
InspectorBackend.registerCommand("CSS.enable", null, [], []);
InspectorBackend.registerCommand("CSS.disable", null, [], []);
InspectorBackend.registerCommand("CSS.getMatchedStylesForNode", null, [{"name": "nodeId", "type": "number"}, {"name": "includePseudo", "type": "boolean", "optional": true}, {"name": "includeInherited", "type": "boolean", "optional": true}], ["matchedCSSRules", "pseudoElements", "inherited"]);
InspectorBackend.registerCommand("CSS.getInlineStylesForNode", null, [{"name": "nodeId", "type": "number"}], ["inlineStyle", "attributesStyle"]);
InspectorBackend.registerCommand("CSS.getComputedStyleForNode", null, [{"name": "nodeId", "type": "number"}], ["computedStyle"]);
InspectorBackend.registerCommand("CSS.getFontDataForNode", null, [{"name": "nodeId", "type": "number"}], ["primaryFont"]);
InspectorBackend.registerCommand("CSS.getAllStyleSheets", null, [], ["headers"]);
InspectorBackend.registerCommand("CSS.getStyleSheet", null, [{"name": "styleSheetId", "type": "string"}], ["styleSheet"]);
InspectorBackend.registerCommand("CSS.getStyleSheetText", null, [{"name": "styleSheetId", "type": "string"}], ["text"]);
InspectorBackend.registerCommand("CSS.setStyleSheetText", null, [{"name": "styleSheetId", "type": "string"}, {"name": "text", "type": "string"}], []);
InspectorBackend.registerCommand("CSS.setStyleText", null, [{"name": "styleId", "type": "object"}, {"name": "text", "type": "string"}], ["style"]);
InspectorBackend.registerCommand("CSS.setRuleSelector", ["page"], [{"name": "ruleId", "type": "object"}, {"name": "selector", "type": "string"}], ["rule"]);
InspectorBackend.registerCommand("CSS.createStyleSheet", ["page"], [{"name": "frameId", "type": "string"}], ["styleSheetId"]);
InspectorBackend.registerCommand("CSS.addRule", ["page"], [{"name": "styleSheetId", "type": "string"}, {"name": "selector", "type": "string"}], ["rule"]);
InspectorBackend.registerCommand("CSS.getSupportedCSSProperties", null, [], ["cssProperties"]);
InspectorBackend.registerCommand("CSS.getSupportedSystemFontFamilyNames", ["page"], [], ["fontFamilyNames"]);
InspectorBackend.registerCommand("CSS.forcePseudoState", ["page"], [{"name": "nodeId", "type": "number"}, {"name": "forcedPseudoClasses", "type": "object"}], []);
InspectorBackend.registerEvent("CSS.mediaQueryResultChanged", null, []);
InspectorBackend.registerEvent("CSS.styleSheetChanged", null, ["styleSheetId"]);
InspectorBackend.registerEvent("CSS.styleSheetAdded", ["page"], ["header"]);
InspectorBackend.registerEvent("CSS.styleSheetRemoved", ["page"], ["styleSheetId"]);
InspectorBackend.registerCSSDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "CSS");
InspectorBackend.activateDomain("CSS", ["itml", "page", "web-page"]);
// Canvas
InspectorBackend.registerDomain("Canvas", ["page"]);
InspectorBackend.registerEnum("Canvas.ContextType", {Canvas2D: "canvas-2d", BitmapRenderer: "bitmaprenderer", WebGL: "webgl", WebGL2: "webgl2", WebGPU: "webgpu"});
InspectorBackend.registerCommand("Canvas.enable", null, [], []);
InspectorBackend.registerCommand("Canvas.disable", null, [], []);
InspectorBackend.registerCommand("Canvas.requestNode", null, [{"name": "canvasId", "type": "string"}], ["nodeId"]);
InspectorBackend.registerCommand("Canvas.requestContent", null, [{"name": "canvasId", "type": "string"}], ["content"]);
InspectorBackend.registerCommand("Canvas.requestClientNodes", null, [{"name": "canvasId", "type": "string"}], ["clientNodeIds"]);
InspectorBackend.registerCommand("Canvas.resolveContext", null, [{"name": "canvasId", "type": "string"}, {"name": "objectGroup", "type": "string", "optional": true}], ["object"]);
InspectorBackend.registerCommand("Canvas.setRecordingAutoCaptureFrameCount", null, [{"name": "count", "type": "number"}], []);
InspectorBackend.registerCommand("Canvas.startRecording", null, [{"name": "canvasId", "type": "string"}, {"name": "frameCount", "type": "number", "optional": true}, {"name": "memoryLimit", "type": "number", "optional": true}], []);
InspectorBackend.registerCommand("Canvas.stopRecording", null, [{"name": "canvasId", "type": "string"}], []);
InspectorBackend.registerEvent("Canvas.canvasAdded", null, ["canvas"]);
InspectorBackend.registerEvent("Canvas.canvasRemoved", null, ["canvasId"]);
InspectorBackend.registerEvent("Canvas.canvasMemoryChanged", null, ["canvasId", "memoryCost"]);
InspectorBackend.registerEvent("Canvas.extensionEnabled", null, ["canvasId", "extension"]);
InspectorBackend.registerEvent("Canvas.clientNodesChanged", null, ["canvasId"]);
InspectorBackend.registerEvent("Canvas.recordingStarted", null, ["canvasId", "initiator"]);
InspectorBackend.registerEvent("Canvas.recordingProgress", null, ["canvasId", "frames", "bufferUsed"]);
InspectorBackend.registerEvent("Canvas.recordingFinished", null, ["canvasId", "recording"]);
InspectorBackend.registerCanvasDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Canvas");
InspectorBackend.activateDomain("Canvas", ["page", "web-page"]);
// Console
InspectorBackend.registerDomain("Console", ["itml", "javascript", "page", "service-worker", "worker"]);
InspectorBackend.registerEnum("Console.ChannelSource", {XML: "xml", JavaScript: "javascript", Network: "network", ConsoleAPI: "console-api", Storage: "storage", Appcache: "appcache", Rendering: "rendering", CSS: "css", Security: "security", ContentBlocker: "content-blocker", Media: "media", MediaSource: "mediasource", WebRTC: "webrtc", ITPDebug: "itp-debug", PrivateClickMeasurement: "private-click-measurement", Other: "other"});
InspectorBackend.registerEnum("Console.ChannelLevel", {Off: "off", Basic: "basic", Verbose: "verbose"});
InspectorBackend.registerEnum("Console.ConsoleMessageLevel", {Log: "log", Info: "info", Warning: "warning", Error: "error", Debug: "debug"});
InspectorBackend.registerEnum("Console.ConsoleMessageType", {Log: "log", Dir: "dir", DirXML: "dirxml", Table: "table", Trace: "trace", Clear: "clear", StartGroup: "startGroup", StartGroupCollapsed: "startGroupCollapsed", EndGroup: "endGroup", Assert: "assert", Timing: "timing", Profile: "profile", ProfileEnd: "profileEnd", Image: "image"});
InspectorBackend.registerCommand("Console.enable", null, [], []);
InspectorBackend.registerCommand("Console.disable", null, [], []);
InspectorBackend.registerCommand("Console.clearMessages", null, [], []);
InspectorBackend.registerCommand("Console.getLoggingChannels", null, [], ["channels"]);
InspectorBackend.registerCommand("Console.setLoggingChannelLevel", null, [{"name": "source", "type": "string"}, {"name": "level", "type": "string"}], []);
InspectorBackend.registerEvent("Console.messageAdded", null, ["message"]);
InspectorBackend.registerEvent("Console.messageRepeatCountUpdated", null, ["count"]);
InspectorBackend.registerEvent("Console.messagesCleared", null, []);
InspectorBackend.registerEvent("Console.heapSnapshot", null, ["timestamp", "snapshotData", "title"]);
InspectorBackend.registerConsoleDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Console");
InspectorBackend.activateDomain("Console", ["itml", "javascript", "page", "service-worker", "web-page"]);
// DOM
InspectorBackend.registerDomain("DOM", ["itml", "page"]);
InspectorBackend.registerEnum("DOM.PseudoType", {Before: "before", After: "after"});
InspectorBackend.registerEnum("DOM.ShadowRootType", {UserAgent: "user-agent", Open: "open", Closed: "closed"});
InspectorBackend.registerEnum("DOM.CustomElementState", {Builtin: "builtin", Custom: "custom", Waiting: "waiting", Failed: "failed"});
InspectorBackend.registerEnum("DOM.LiveRegionRelevant", {Additions: "additions", Removals: "removals", Text: "text"});
InspectorBackend.registerEnum("DOM.AccessibilityPropertiesChecked", {True: "true", False: "false", Mixed: "mixed"});
InspectorBackend.registerEnum("DOM.AccessibilityPropertiesCurrent", {True: "true", False: "false", Page: "page", Step: "step", Location: "location", Date: "date", Time: "time"});
InspectorBackend.registerEnum("DOM.AccessibilityPropertiesInvalid", {True: "true", False: "false", Grammar: "grammar", Spelling: "spelling"});
InspectorBackend.registerEnum("DOM.AccessibilityPropertiesLiveRegionStatus", {Assertive: "assertive", Polite: "polite", Off: "off"});
InspectorBackend.registerCommand("DOM.getDocument", null, [], ["root"]);
InspectorBackend.registerCommand("DOM.requestChildNodes", null, [{"name": "nodeId", "type": "number"}, {"name": "depth", "type": "number", "optional": true}], []);
InspectorBackend.registerCommand("DOM.querySelector", ["page"], [{"name": "nodeId", "type": "number"}, {"name": "selector", "type": "string"}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.querySelectorAll", ["page"], [{"name": "nodeId", "type": "number"}, {"name": "selector", "type": "string"}], ["nodeIds"]);
InspectorBackend.registerCommand("DOM.setNodeName", ["page"], [{"name": "nodeId", "type": "number"}, {"name": "name", "type": "string"}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.setNodeValue", null, [{"name": "nodeId", "type": "number"}, {"name": "value", "type": "string"}], []);
InspectorBackend.registerCommand("DOM.removeNode", null, [{"name": "nodeId", "type": "number"}], []);
InspectorBackend.registerCommand("DOM.setAttributeValue", null, [{"name": "nodeId", "type": "number"}, {"name": "name", "type": "string"}, {"name": "value", "type": "string"}], []);
InspectorBackend.registerCommand("DOM.setAttributesAsText", null, [{"name": "nodeId", "type": "number"}, {"name": "text", "type": "string"}, {"name": "name", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("DOM.removeAttribute", null, [{"name": "nodeId", "type": "number"}, {"name": "name", "type": "string"}], []);
InspectorBackend.registerCommand("DOM.getSupportedEventNames", null, [], ["eventNames"]);
InspectorBackend.registerCommand("DOM.getEventListenersForNode", null, [{"name": "nodeId", "type": "number"}], ["listeners"]);
InspectorBackend.registerCommand("DOM.setEventListenerDisabled", null, [{"name": "eventListenerId", "type": "number"}, {"name": "disabled", "type": "boolean"}], []);
InspectorBackend.registerCommand("DOM.setBreakpointForEventListener", ["page"], [{"name": "eventListenerId", "type": "number"}, {"name": "options", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("DOM.removeBreakpointForEventListener", ["page"], [{"name": "eventListenerId", "type": "number"}], []);
InspectorBackend.registerCommand("DOM.getAccessibilityPropertiesForNode", null, [{"name": "nodeId", "type": "number"}], ["properties"]);
InspectorBackend.registerCommand("DOM.getOuterHTML", null, [{"name": "nodeId", "type": "number"}], ["outerHTML"]);
InspectorBackend.registerCommand("DOM.setOuterHTML", null, [{"name": "nodeId", "type": "number"}, {"name": "outerHTML", "type": "string"}], []);
InspectorBackend.registerCommand("DOM.insertAdjacentHTML", ["page"], [{"name": "nodeId", "type": "number"}, {"name": "position", "type": "string"}, {"name": "html", "type": "string"}], []);
InspectorBackend.registerCommand("DOM.performSearch", null, [{"name": "query", "type": "string"}, {"name": "nodeIds", "type": "object", "optional": true}, {"name": "caseSensitive", "type": "boolean", "optional": true}], ["searchId", "resultCount"]);
InspectorBackend.registerCommand("DOM.getSearchResults", null, [{"name": "searchId", "type": "string"}, {"name": "fromIndex", "type": "number"}, {"name": "toIndex", "type": "number"}], ["nodeIds"]);
InspectorBackend.registerCommand("DOM.discardSearchResults", null, [{"name": "searchId", "type": "string"}], []);
InspectorBackend.registerCommand("DOM.requestNode", ["page"], [{"name": "objectId", "type": "string"}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.setInspectModeEnabled", null, [{"name": "enabled", "type": "boolean"}, {"name": "highlightConfig", "type": "object", "optional": true}, {"name": "showRulers", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightRect", ["page"], [{"name": "x", "type": "number"}, {"name": "y", "type": "number"}, {"name": "width", "type": "number"}, {"name": "height", "type": "number"}, {"name": "color", "type": "object", "optional": true}, {"name": "outlineColor", "type": "object", "optional": true}, {"name": "usePageCoordinates", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightQuad", ["page"], [{"name": "quad", "type": "object"}, {"name": "color", "type": "object", "optional": true}, {"name": "outlineColor", "type": "object", "optional": true}, {"name": "usePageCoordinates", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightSelector", ["page"], [{"name": "highlightConfig", "type": "object"}, {"name": "selectorString", "type": "string"}, {"name": "frameId", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightNode", null, [{"name": "highlightConfig", "type": "object"}, {"name": "nodeId", "type": "number", "optional": true}, {"name": "objectId", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightNodeList", null, [{"name": "nodeIds", "type": "object"}, {"name": "highlightConfig", "type": "object"}], []);
InspectorBackend.registerCommand("DOM.hideHighlight", null, [], []);
InspectorBackend.registerCommand("DOM.highlightFrame", ["page"], [{"name": "frameId", "type": "string"}, {"name": "contentColor", "type": "object", "optional": true}, {"name": "contentOutlineColor", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("DOM.pushNodeByPathToFrontend", ["page"], [{"name": "path", "type": "string"}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.resolveNode", ["page"], [{"name": "nodeId", "type": "number"}, {"name": "objectGroup", "type": "string", "optional": true}], ["object"]);
InspectorBackend.registerCommand("DOM.getAttributes", null, [{"name": "nodeId", "type": "number"}], ["attributes"]);
InspectorBackend.registerCommand("DOM.moveTo", null, [{"name": "nodeId", "type": "number"}, {"name": "targetNodeId", "type": "number"}, {"name": "insertBeforeNodeId", "type": "number", "optional": true}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.undo", ["page"], [], []);
InspectorBackend.registerCommand("DOM.redo", ["page"], [], []);
InspectorBackend.registerCommand("DOM.markUndoableState", ["page"], [], []);
InspectorBackend.registerCommand("DOM.focus", ["page"], [{"name": "nodeId", "type": "number"}], []);
InspectorBackend.registerCommand("DOM.setInspectedNode", ["page"], [{"name": "nodeId", "type": "number"}], []);
InspectorBackend.registerCommand("DOM.setAllowEditingUserAgentShadowTrees", ["page"], [{"name": "allow", "type": "boolean"}], []);
InspectorBackend.registerEvent("DOM.documentUpdated", null, []);
InspectorBackend.registerEvent("DOM.inspect", null, ["nodeId"]);
InspectorBackend.registerEvent("DOM.setChildNodes", null, ["parentId", "nodes"]);
InspectorBackend.registerEvent("DOM.attributeModified", null, ["nodeId", "name", "value"]);
InspectorBackend.registerEvent("DOM.attributeRemoved", null, ["nodeId", "name"]);
InspectorBackend.registerEvent("DOM.inlineStyleInvalidated", null, ["nodeIds"]);
InspectorBackend.registerEvent("DOM.characterDataModified", null, ["nodeId", "characterData"]);
InspectorBackend.registerEvent("DOM.childNodeCountUpdated", null, ["nodeId", "childNodeCount"]);
InspectorBackend.registerEvent("DOM.childNodeInserted", null, ["parentNodeId", "previousNodeId", "node"]);
InspectorBackend.registerEvent("DOM.childNodeRemoved", null, ["parentNodeId", "nodeId"]);
InspectorBackend.registerEvent("DOM.shadowRootPushed", ["page"], ["hostId", "root"]);
InspectorBackend.registerEvent("DOM.shadowRootPopped", ["page"], ["hostId", "rootId"]);
InspectorBackend.registerEvent("DOM.customElementStateChanged", ["page"], ["nodeId", "customElementState"]);
InspectorBackend.registerEvent("DOM.pseudoElementAdded", ["page"], ["parentId", "pseudoElement"]);
InspectorBackend.registerEvent("DOM.pseudoElementRemoved", ["page"], ["parentId", "pseudoElementId"]);
InspectorBackend.registerEvent("DOM.didAddEventListener", null, ["nodeId"]);
InspectorBackend.registerEvent("DOM.willRemoveEventListener", null, ["nodeId"]);
InspectorBackend.registerEvent("DOM.didFireEvent", ["page"], ["nodeId", "eventName", "timestamp", "data"]);
InspectorBackend.registerDOMDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "DOM");
InspectorBackend.activateDomain("DOM", ["itml", "page", "web-page"]);
// DOMDebugger
InspectorBackend.registerDomain("DOMDebugger", ["page", "worker"]);
InspectorBackend.registerEnum("DOMDebugger.DOMBreakpointType", {SubtreeModified: "subtree-modified", AttributeModified: "attribute-modified", NodeRemoved: "node-removed"});
InspectorBackend.registerEnum("DOMDebugger.EventBreakpointType", {AnimationFrame: "animation-frame", Interval: "interval", Listener: "listener", Timeout: "timeout"});
InspectorBackend.registerCommand("DOMDebugger.setDOMBreakpoint", null, [{"name": "nodeId", "type": "number"}, {"name": "type", "type": "string"}, {"name": "options", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("DOMDebugger.removeDOMBreakpoint", null, [{"name": "nodeId", "type": "number"}, {"name": "type", "type": "string"}], []);
InspectorBackend.registerCommand("DOMDebugger.setEventBreakpoint", null, [{"name": "breakpointType", "type": "string"}, {"name": "eventName", "type": "string", "optional": true}, {"name": "options", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("DOMDebugger.removeEventBreakpoint", null, [{"name": "breakpointType", "type": "string"}, {"name": "eventName", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("DOMDebugger.setURLBreakpoint", null, [{"name": "url", "type": "string"}, {"name": "isRegex", "type": "boolean", "optional": true}, {"name": "options", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("DOMDebugger.removeURLBreakpoint", null, [{"name": "url", "type": "string"}, {"name": "isRegex", "type": "boolean", "optional": true}], []);
InspectorBackend.activateDomain("DOMDebugger", ["page", "web-page"]);
// DOMStorage
InspectorBackend.registerDomain("DOMStorage", ["itml", "page"]);
InspectorBackend.registerCommand("DOMStorage.enable", null, [], []);
InspectorBackend.registerCommand("DOMStorage.disable", null, [], []);
InspectorBackend.registerCommand("DOMStorage.getDOMStorageItems", null, [{"name": "storageId", "type": "object"}], ["entries"]);
InspectorBackend.registerCommand("DOMStorage.setDOMStorageItem", null, [{"name": "storageId", "type": "object"}, {"name": "key", "type": "string"}, {"name": "value", "type": "string"}], []);
InspectorBackend.registerCommand("DOMStorage.removeDOMStorageItem", null, [{"name": "storageId", "type": "object"}, {"name": "key", "type": "string"}], []);
InspectorBackend.registerCommand("DOMStorage.clearDOMStorageItems", ["page"], [{"name": "storageId", "type": "object"}], []);
InspectorBackend.registerEvent("DOMStorage.domStorageItemsCleared", null, ["storageId"]);
InspectorBackend.registerEvent("DOMStorage.domStorageItemRemoved", null, ["storageId", "key"]);
InspectorBackend.registerEvent("DOMStorage.domStorageItemAdded", null, ["storageId", "key", "newValue"]);
InspectorBackend.registerEvent("DOMStorage.domStorageItemUpdated", null, ["storageId", "key", "oldValue", "newValue"]);
InspectorBackend.registerDOMStorageDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "DOMStorage");
InspectorBackend.activateDomain("DOMStorage", ["itml", "page", "web-page"]);
// Database
InspectorBackend.registerDomain("Database", ["page"]);
InspectorBackend.registerCommand("Database.enable", null, [], []);
InspectorBackend.registerCommand("Database.disable", null, [], []);
InspectorBackend.registerCommand("Database.getDatabaseTableNames", null, [{"name": "databaseId", "type": "string"}], ["tableNames"]);
InspectorBackend.registerCommand("Database.executeSQL", null, [{"name": "databaseId", "type": "string"}, {"name": "query", "type": "string"}], ["columnNames", "values", "sqlError"]);
InspectorBackend.registerEvent("Database.addDatabase", null, ["database"]);
InspectorBackend.registerDatabaseDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Database");
InspectorBackend.activateDomain("Database", ["page", "web-page"]);
// Debugger
InspectorBackend.registerDomain("Debugger", ["itml", "javascript", "page", "service-worker", "worker"]);
InspectorBackend.registerEnum("Debugger.BreakpointActionType", {Log: "log", Evaluate: "evaluate", Sound: "sound", Probe: "probe"});
InspectorBackend.registerEnum("Debugger.ScopeType", {Global: "global", With: "with", Closure: "closure", Catch: "catch", FunctionName: "functionName", GlobalLexicalEnvironment: "globalLexicalEnvironment", NestedLexical: "nestedLexical"});
InspectorBackend.registerCommand("Debugger.enable", null, [], []);
InspectorBackend.registerCommand("Debugger.disable", null, [], []);
InspectorBackend.registerCommand("Debugger.setAsyncStackTraceDepth", null, [{"name": "depth", "type": "number"}], []);
InspectorBackend.registerCommand("Debugger.setBreakpointsActive", null, [{"name": "active", "type": "boolean"}], []);
InspectorBackend.registerCommand("Debugger.setBreakpointByUrl", null, [{"name": "lineNumber", "type": "number"}, {"name": "url", "type": "string", "optional": true}, {"name": "urlRegex", "type": "string", "optional": true}, {"name": "columnNumber", "type": "number", "optional": true}, {"name": "options", "type": "object", "optional": true}], ["breakpointId", "locations"]);
InspectorBackend.registerCommand("Debugger.setBreakpoint", null, [{"name": "location", "type": "object"}, {"name": "options", "type": "object", "optional": true}], ["breakpointId", "actualLocation"]);
InspectorBackend.registerCommand("Debugger.removeBreakpoint", null, [{"name": "breakpointId", "type": "string"}], []);
InspectorBackend.registerCommand("Debugger.continueUntilNextRunLoop", null, [], []);
InspectorBackend.registerCommand("Debugger.continueToLocation", null, [{"name": "location", "type": "object"}], []);
InspectorBackend.registerCommand("Debugger.stepNext", null, [], []);
InspectorBackend.registerCommand("Debugger.stepOver", null, [], []);
InspectorBackend.registerCommand("Debugger.stepInto", null, [], []);
InspectorBackend.registerCommand("Debugger.stepOut", null, [], []);
InspectorBackend.registerCommand("Debugger.pause", null, [], []);
InspectorBackend.registerCommand("Debugger.resume", null, [], []);
InspectorBackend.registerCommand("Debugger.searchInContent", null, [{"name": "scriptId", "type": "string"}, {"name": "query", "type": "string"}, {"name": "caseSensitive", "type": "boolean", "optional": true}, {"name": "isRegex", "type": "boolean", "optional": true}], ["result"]);
InspectorBackend.registerCommand("Debugger.getScriptSource", null, [{"name": "scriptId", "type": "string"}], ["scriptSource"]);
InspectorBackend.registerCommand("Debugger.getFunctionDetails", null, [{"name": "functionId", "type": "string"}], ["details"]);
InspectorBackend.registerCommand("Debugger.setPauseOnDebuggerStatements", null, [{"name": "enabled", "type": "boolean"}, {"name": "options", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("Debugger.setPauseOnExceptions", null, [{"name": "state", "type": "string"}, {"name": "options", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("Debugger.setPauseOnAssertions", null, [{"name": "enabled", "type": "boolean"}, {"name": "options", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("Debugger.setPauseOnMicrotasks", null, [{"name": "enabled", "type": "boolean"}, {"name": "options", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("Debugger.setPauseForInternalScripts", null, [{"name": "shouldPause", "type": "boolean"}], []);
InspectorBackend.registerCommand("Debugger.evaluateOnCallFrame", null, [{"name": "callFrameId", "type": "string"}, {"name": "expression", "type": "string"}, {"name": "objectGroup", "type": "string", "optional": true}, {"name": "includeCommandLineAPI", "type": "boolean", "optional": true}, {"name": "doNotPauseOnExceptionsAndMuteConsole", "type": "boolean", "optional": true}, {"name": "returnByValue", "type": "boolean", "optional": true}, {"name": "generatePreview", "type": "boolean", "optional": true}, {"name": "saveResult", "type": "boolean", "optional": true}, {"name": "emulateUserGesture", "type": "boolean", "optional": true}], ["result", "wasThrown", "savedResultIndex"]);
InspectorBackend.registerCommand("Debugger.setShouldBlackboxURL", null, [{"name": "url", "type": "string"}, {"name": "shouldBlackbox", "type": "boolean"}, {"name": "caseSensitive", "type": "boolean", "optional": true}, {"name": "isRegex", "type": "boolean", "optional": true}], []);
InspectorBackend.registerEvent("Debugger.globalObjectCleared", null, []);
InspectorBackend.registerEvent("Debugger.scriptParsed", null, ["scriptId", "url", "startLine", "startColumn", "endLine", "endColumn", "isContentScript", "sourceURL", "sourceMapURL", "module"]);
InspectorBackend.registerEvent("Debugger.scriptFailedToParse", null, ["url", "scriptSource", "startLine", "errorLine", "errorMessage"]);
InspectorBackend.registerEvent("Debugger.breakpointResolved", null, ["breakpointId", "location"]);
InspectorBackend.registerEnum("Debugger.PausedReason", {XHR: "XHR", Fetch: "Fetch", DOM: "DOM", AnimationFrame: "AnimationFrame", Interval: "Interval", Listener: "Listener", Timeout: "Timeout", Exception: "exception", Assert: "assert", CSPViolation: "CSPViolation", DebuggerStatement: "DebuggerStatement", Breakpoint: "Breakpoint", PauseOnNextStatement: "PauseOnNextStatement", Microtask: "Microtask", BlackboxedScript: "BlackboxedScript", Other: "other"});
InspectorBackend.registerEvent("Debugger.paused", null, ["callFrames", "reason", "data", "asyncStackTrace"]);
InspectorBackend.registerEvent("Debugger.resumed", null, []);
InspectorBackend.registerEvent("Debugger.didSampleProbe", null, ["sample"]);
InspectorBackend.registerEvent("Debugger.playBreakpointActionSound", null, ["breakpointActionId"]);
InspectorBackend.registerDebuggerDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Debugger");
InspectorBackend.activateDomain("Debugger", ["itml", "javascript", "page", "service-worker", "web-page"]);
// Heap
InspectorBackend.registerDomain("Heap", ["itml", "javascript", "page", "service-worker", "worker"]);
InspectorBackend.registerEnum("Heap.GarbageCollectionType", {Full: "full", Partial: "partial"});
InspectorBackend.registerCommand("Heap.enable", null, [], []);
InspectorBackend.registerCommand("Heap.disable", null, [], []);
InspectorBackend.registerCommand("Heap.gc", null, [], []);
InspectorBackend.registerCommand("Heap.snapshot", null, [], ["timestamp", "snapshotData"]);
InspectorBackend.registerCommand("Heap.startTracking", null, [], []);
InspectorBackend.registerCommand("Heap.stopTracking", null, [], []);
InspectorBackend.registerCommand("Heap.getPreview", null, [{"name": "heapObjectId", "type": "number"}], ["string", "functionDetails", "preview"]);
InspectorBackend.registerCommand("Heap.getRemoteObject", null, [{"name": "heapObjectId", "type": "number"}, {"name": "objectGroup", "type": "string", "optional": true}], ["result"]);
InspectorBackend.registerEvent("Heap.garbageCollected", null, ["collection"]);
InspectorBackend.registerEvent("Heap.trackingStart", null, ["timestamp", "snapshotData"]);
InspectorBackend.registerEvent("Heap.trackingComplete", null, ["timestamp", "snapshotData"]);
InspectorBackend.registerHeapDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Heap");
InspectorBackend.activateDomain("Heap", ["itml", "javascript", "page", "service-worker", "web-page"]);
// Inspector
InspectorBackend.registerDomain("Inspector", ["itml", "javascript", "page"]);
InspectorBackend.registerCommand("Inspector.enable", null, [], []);
InspectorBackend.registerCommand("Inspector.disable", null, [], []);
InspectorBackend.registerCommand("Inspector.initialized", null, [], []);
InspectorBackend.registerEvent("Inspector.evaluateForTestInFrontend", null, ["script"]);
InspectorBackend.registerEvent("Inspector.inspect", null, ["object", "hints"]);
InspectorBackend.registerInspectorDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Inspector");
InspectorBackend.activateDomain("Inspector", ["itml", "javascript", "page", "web-page"]);
// LayerTree
InspectorBackend.registerDomain("LayerTree", ["page"]);
InspectorBackend.registerCommand("LayerTree.enable", null, [], []);
InspectorBackend.registerCommand("LayerTree.disable", null, [], []);
InspectorBackend.registerCommand("LayerTree.layersForNode", null, [{"name": "nodeId", "type": "number"}], ["layers"]);
InspectorBackend.registerCommand("LayerTree.reasonsForCompositingLayer", null, [{"name": "layerId", "type": "string"}], ["compositingReasons"]);
InspectorBackend.registerEvent("LayerTree.layerTreeDidChange", null, []);
InspectorBackend.registerLayerTreeDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "LayerTree");
InspectorBackend.activateDomain("LayerTree", ["page", "web-page"]);
// Network
InspectorBackend.registerDomain("Network", ["itml", "page", "service-worker"]);
InspectorBackend.registerEnum("Network.ResponseSource", {Unknown: "unknown", Network: "network", MemoryCache: "memory-cache", DiskCache: "disk-cache", ServiceWorker: "service-worker", InspectorOverride: "inspector-override"});
InspectorBackend.registerEnum("Network.MetricsPriority", {Low: "low", Medium: "medium", High: "high"});
InspectorBackend.registerEnum("Network.InitiatorType", {Parser: "parser", Script: "script", Other: "other"});
InspectorBackend.registerEnum("Network.NetworkStage", {Request: "request", Response: "response"});
InspectorBackend.registerEnum("Network.ResourceErrorType", {General: "General", AccessControl: "AccessControl", Cancellation: "Cancellation", Timeout: "Timeout"});
InspectorBackend.registerCommand("Network.enable", null, [], []);
InspectorBackend.registerCommand("Network.disable", null, [], []);
InspectorBackend.registerCommand("Network.setExtraHTTPHeaders", ["page"], [{"name": "headers", "type": "object"}], []);
InspectorBackend.registerCommand("Network.getResponseBody", null, [{"name": "requestId", "type": "string"}], ["body", "base64Encoded"]);
InspectorBackend.registerCommand("Network.setResourceCachingDisabled", null, [{"name": "disabled", "type": "boolean"}], []);
InspectorBackend.registerCommand("Network.loadResource", ["page"], [{"name": "frameId", "type": "string"}, {"name": "url", "type": "string"}], ["content", "mimeType", "status"]);
InspectorBackend.registerCommand("Network.getSerializedCertificate", ["page"], [{"name": "requestId", "type": "string"}], ["serializedCertificate"]);
InspectorBackend.registerCommand("Network.resolveWebSocket", ["page"], [{"name": "requestId", "type": "string"}, {"name": "objectGroup", "type": "string", "optional": true}], ["object"]);
InspectorBackend.registerCommand("Network.setInterceptionEnabled", ["page"], [{"name": "enabled", "type": "boolean"}], []);
InspectorBackend.registerCommand("Network.addInterception", ["page"], [{"name": "url", "type": "string"}, {"name": "stage", "type": "string"}, {"name": "caseSensitive", "type": "boolean", "optional": true}, {"name": "isRegex", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("Network.removeInterception", ["page"], [{"name": "url", "type": "string"}, {"name": "stage", "type": "string"}, {"name": "caseSensitive", "type": "boolean", "optional": true}, {"name": "isRegex", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("Network.interceptContinue", ["page"], [{"name": "requestId", "type": "string"}, {"name": "stage", "type": "string"}], []);
InspectorBackend.registerCommand("Network.interceptWithRequest", null, [{"name": "requestId", "type": "string"}, {"name": "url", "type": "string", "optional": true}, {"name": "method", "type": "string", "optional": true}, {"name": "headers", "type": "object", "optional": true}, {"name": "postData", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("Network.interceptWithResponse", ["page"], [{"name": "requestId", "type": "string"}, {"name": "content", "type": "string"}, {"name": "base64Encoded", "type": "boolean"}, {"name": "mimeType", "type": "string", "optional": true}, {"name": "status", "type": "number", "optional": true}, {"name": "statusText", "type": "string", "optional": true}, {"name": "headers", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("Network.interceptRequestWithResponse", null, [{"name": "requestId", "type": "string"}, {"name": "content", "type": "string"}, {"name": "base64Encoded", "type": "boolean"}, {"name": "mimeType", "type": "string"}, {"name": "status", "type": "number"}, {"name": "statusText", "type": "string"}, {"name": "headers", "type": "object"}], []);
InspectorBackend.registerCommand("Network.interceptRequestWithError", null, [{"name": "requestId", "type": "string"}, {"name": "errorType", "type": "string"}], []);
InspectorBackend.registerEvent("Network.requestWillBeSent", null, ["requestId", "frameId", "loaderId", "documentURL", "request", "timestamp", "walltime", "initiator", "redirectResponse", "type", "targetId"]);
InspectorBackend.registerEvent("Network.responseReceived", null, ["requestId", "frameId", "loaderId", "timestamp", "type", "response"]);
InspectorBackend.registerEvent("Network.dataReceived", null, ["requestId", "timestamp", "dataLength", "encodedDataLength"]);
InspectorBackend.registerEvent("Network.loadingFinished", null, ["requestId", "timestamp", "sourceMapURL", "metrics"]);
InspectorBackend.registerEvent("Network.loadingFailed", null, ["requestId", "timestamp", "errorText", "canceled"]);
InspectorBackend.registerEvent("Network.requestServedFromMemoryCache", null, ["requestId", "frameId", "loaderId", "documentURL", "timestamp", "initiator", "resource"]);
InspectorBackend.registerEvent("Network.requestIntercepted", null, ["requestId", "request"]);
InspectorBackend.registerEvent("Network.responseIntercepted", ["page"], ["requestId", "response"]);
InspectorBackend.registerEvent("Network.webSocketWillSendHandshakeRequest", ["page"], ["requestId", "timestamp", "walltime", "request"]);
InspectorBackend.registerEvent("Network.webSocketHandshakeResponseReceived", ["page"], ["requestId", "timestamp", "response"]);
InspectorBackend.registerEvent("Network.webSocketCreated", ["page"], ["requestId", "url"]);
InspectorBackend.registerEvent("Network.webSocketClosed", ["page"], ["requestId", "timestamp"]);
InspectorBackend.registerEvent("Network.webSocketFrameReceived", ["page"], ["requestId", "timestamp", "response"]);
InspectorBackend.registerEvent("Network.webSocketFrameError", ["page"], ["requestId", "timestamp", "errorMessage"]);
InspectorBackend.registerEvent("Network.webSocketFrameSent", ["page"], ["requestId", "timestamp", "response"]);
InspectorBackend.registerNetworkDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Network");
InspectorBackend.activateDomain("Network", ["itml", "page", "service-worker", "web-page"]);
// Page
InspectorBackend.registerDomain("Page", ["itml", "page"]);
InspectorBackend.registerEnum("Page.Setting", {PrivateClickMeasurementDebugModeEnabled: "PrivateClickMeasurementDebugModeEnabled", AuthorAndUserStylesEnabled: "AuthorAndUserStylesEnabled", ICECandidateFilteringEnabled: "ICECandidateFilteringEnabled", ITPDebugModeEnabled: "ITPDebugModeEnabled", ImagesEnabled: "ImagesEnabled", MediaCaptureRequiresSecureConnection: "MediaCaptureRequiresSecureConnection", MockCaptureDevicesEnabled: "MockCaptureDevicesEnabled", NeedsSiteSpecificQuirks: "NeedsSiteSpecificQuirks", ScriptEnabled: "ScriptEnabled", ShowDebugBorders: "ShowDebugBorders", ShowRepaintCounter: "ShowRepaintCounter", WebRTCEncryptionEnabled: "WebRTCEncryptionEnabled", WebSecurityEnabled: "WebSecurityEnabled"});
InspectorBackend.registerEnum("Page.ResourceType", {Document: "Document", StyleSheet: "StyleSheet", Image: "Image", Font: "Font", Script: "Script", XHR: "XHR", Fetch: "Fetch", Ping: "Ping", Beacon: "Beacon", WebSocket: "WebSocket", Other: "Other"});
InspectorBackend.registerEnum("Page.CoordinateSystem", {Viewport: "Viewport", Page: "Page"});
InspectorBackend.registerEnum("Page.CookieSameSitePolicy", {None: "None", Lax: "Lax", Strict: "Strict"});
InspectorBackend.registerCommand("Page.enable", null, [], []);
InspectorBackend.registerCommand("Page.disable", null, [], []);
InspectorBackend.registerCommand("Page.reload", null, [{"name": "ignoreCache", "type": "boolean", "optional": true}, {"name": "revalidateAllResources", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("Page.navigate", ["page"], [{"name": "url", "type": "string"}], []);
InspectorBackend.registerCommand("Page.overrideUserAgent", ["page"], [{"name": "value", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("Page.overrideSetting", ["page"], [{"name": "setting", "type": "string"}, {"name": "value", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("Page.getCookies", ["page"], [], ["cookies"]);
InspectorBackend.registerCommand("Page.setCookie", ["page"], [{"name": "cookie", "type": "object"}], []);
InspectorBackend.registerCommand("Page.deleteCookie", ["page"], [{"name": "cookieName", "type": "string"}, {"name": "url", "type": "string"}], []);
InspectorBackend.registerCommand("Page.getResourceTree", null, [], ["frameTree"]);
InspectorBackend.registerCommand("Page.getResourceContent", null, [{"name": "frameId", "type": "string"}, {"name": "url", "type": "string"}], ["content", "base64Encoded"]);
InspectorBackend.registerCommand("Page.setBootstrapScript", ["page"], [{"name": "source", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("Page.searchInResource", ["page"], [{"name": "frameId", "type": "string"}, {"name": "url", "type": "string"}, {"name": "query", "type": "string"}, {"name": "caseSensitive", "type": "boolean", "optional": true}, {"name": "isRegex", "type": "boolean", "optional": true}, {"name": "requestId", "type": "string", "optional": true}], ["result"]);
InspectorBackend.registerCommand("Page.searchInResources", ["page"], [{"name": "text", "type": "string"}, {"name": "caseSensitive", "type": "boolean", "optional": true}, {"name": "isRegex", "type": "boolean", "optional": true}], ["result"]);
InspectorBackend.registerCommand("Page.setShowRulers", ["page"], [{"name": "result", "type": "boolean"}], []);
InspectorBackend.registerCommand("Page.setShowPaintRects", ["page"], [{"name": "result", "type": "boolean"}], []);
InspectorBackend.registerCommand("Page.setEmulatedMedia", ["page"], [{"name": "media", "type": "string"}], []);
InspectorBackend.registerCommand("Page.snapshotNode", ["page"], [{"name": "nodeId", "type": "number"}], ["dataURL"]);
InspectorBackend.registerCommand("Page.snapshotRect", ["page"], [{"name": "x", "type": "number"}, {"name": "y", "type": "number"}, {"name": "width", "type": "number"}, {"name": "height", "type": "number"}, {"name": "coordinateSystem", "type": "string"}], ["dataURL"]);
InspectorBackend.registerCommand("Page.setScreenSizeOverride", ["page"], [{"name": "width", "type": "number", "optional": true}, {"name": "height", "type": "number", "optional": true}], []);
InspectorBackend.registerEvent("Page.domContentEventFired", ["page"], ["timestamp"]);
InspectorBackend.registerEvent("Page.loadEventFired", ["page"], ["timestamp"]);
InspectorBackend.registerEvent("Page.frameNavigated", null, ["frame"]);
InspectorBackend.registerEvent("Page.frameDetached", ["page"], ["frameId"]);
InspectorBackend.registerEvent("Page.frameStartedLoading", null, ["frameId"]);
InspectorBackend.registerEvent("Page.frameStoppedLoading", null, ["frameId"]);
InspectorBackend.registerEvent("Page.frameScheduledNavigation", ["page"], ["frameId", "delay"]);
InspectorBackend.registerEvent("Page.frameClearedScheduledNavigation", ["page"], ["frameId"]);
InspectorBackend.registerPageDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Page");
InspectorBackend.activateDomain("Page", ["itml", "page", "web-page"]);
// Recording
InspectorBackend.registerDomain("Recording", ["page"]);
InspectorBackend.registerVersion("Recording", 1);
InspectorBackend.registerEnum("Recording.Type", {Canvas2D: "canvas-2d", CanvasBitmapRenderer: "canvas-bitmaprenderer", CanvasWebGL: "canvas-webgl", CanvasWebGL2: "canvas-webgl2"});
InspectorBackend.registerEnum("Recording.Initiator", {Frontend: "frontend", Console: "console", AutoCapture: "auto-capture"});
InspectorBackend.activateDomain("Recording", ["page", "web-page"]);
// Runtime
InspectorBackend.registerDomain("Runtime", ["itml", "javascript", "page", "service-worker", "worker"]);
InspectorBackend.registerEnum("Runtime.RemoteObjectType", {Object: "object", Function: "function", Undefined: "undefined", String: "string", Number: "number", Boolean: "boolean", Symbol: "symbol", Bigint: "bigint"});
InspectorBackend.registerEnum("Runtime.RemoteObjectSubtype", {Array: "array", Null: "null", Node: "node", Regexp: "regexp", Date: "date", Error: "error", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Iterator: "iterator", Class: "class", Proxy: "proxy"});
InspectorBackend.registerEnum("Runtime.ObjectPreviewType", {Object: "object", Function: "function", Undefined: "undefined", String: "string", Number: "number", Boolean: "boolean", Symbol: "symbol", Bigint: "bigint"});
InspectorBackend.registerEnum("Runtime.ObjectPreviewSubtype", {Array: "array", Null: "null", Node: "node", Regexp: "regexp", Date: "date", Error: "error", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Iterator: "iterator", Class: "class", Proxy: "proxy"});
InspectorBackend.registerEnum("Runtime.PropertyPreviewType", {Object: "object", Function: "function", Undefined: "undefined", String: "string", Number: "number", Boolean: "boolean", Symbol: "symbol", Bigint: "bigint", Accessor: "accessor"});
InspectorBackend.registerEnum("Runtime.PropertyPreviewSubtype", {Array: "array", Null: "null", Node: "node", Regexp: "regexp", Date: "date", Error: "error", Map: "map", Set: "set", Weakmap: "weakmap", Weakset: "weakset", Iterator: "iterator", Class: "class", Proxy: "proxy"});
InspectorBackend.registerEnum("Runtime.ExecutionContextType", {Normal: "normal", User: "user", Internal: "internal"});
InspectorBackend.registerEnum("Runtime.SyntaxErrorType", {None: "none", Irrecoverable: "irrecoverable", UnterminatedLiteral: "unterminated-literal", Recoverable: "recoverable"});
InspectorBackend.registerCommand("Runtime.parse", null, [{"name": "source", "type": "string"}], ["result", "message", "range"]);
InspectorBackend.registerCommand("Runtime.evaluate", null, [{"name": "expression", "type": "string"}, {"name": "objectGroup", "type": "string", "optional": true}, {"name": "includeCommandLineAPI", "type": "boolean", "optional": true}, {"name": "doNotPauseOnExceptionsAndMuteConsole", "type": "boolean", "optional": true}, {"name": "contextId", "type": "number", "optional": true}, {"name": "returnByValue", "type": "boolean", "optional": true}, {"name": "generatePreview", "type": "boolean", "optional": true}, {"name": "saveResult", "type": "boolean", "optional": true}, {"name": "emulateUserGesture", "type": "boolean", "optional": true}], ["result", "wasThrown", "savedResultIndex"]);
InspectorBackend.registerCommand("Runtime.awaitPromise", null, [{"name": "promiseObjectId", "type": "string"}, {"name": "returnByValue", "type": "boolean", "optional": true}, {"name": "generatePreview", "type": "boolean", "optional": true}, {"name": "saveResult", "type": "boolean", "optional": true}], ["result", "wasThrown", "savedResultIndex"]);
InspectorBackend.registerCommand("Runtime.callFunctionOn", null, [{"name": "objectId", "type": "string"}, {"name": "functionDeclaration", "type": "string"}, {"name": "arguments", "type": "object", "optional": true}, {"name": "doNotPauseOnExceptionsAndMuteConsole", "type": "boolean", "optional": true}, {"name": "returnByValue", "type": "boolean", "optional": true}, {"name": "generatePreview", "type": "boolean", "optional": true}, {"name": "emulateUserGesture", "type": "boolean", "optional": true}], ["result", "wasThrown"]);
InspectorBackend.registerCommand("Runtime.getPreview", null, [{"name": "objectId", "type": "string"}], ["preview"]);
InspectorBackend.registerCommand("Runtime.getProperties", null, [{"name": "objectId", "type": "string"}, {"name": "ownProperties", "type": "boolean", "optional": true}, {"name": "fetchStart", "type": "number", "optional": true}, {"name": "fetchCount", "type": "number", "optional": true}, {"name": "generatePreview", "type": "boolean", "optional": true}], ["properties", "internalProperties"]);
InspectorBackend.registerCommand("Runtime.getDisplayableProperties", null, [{"name": "objectId", "type": "string"}, {"name": "fetchStart", "type": "number", "optional": true}, {"name": "fetchCount", "type": "number", "optional": true}, {"name": "generatePreview", "type": "boolean", "optional": true}], ["properties", "internalProperties"]);
InspectorBackend.registerCommand("Runtime.getCollectionEntries", null, [{"name": "objectId", "type": "string"}, {"name": "objectGroup", "type": "string", "optional": true}, {"name": "fetchStart", "type": "number", "optional": true}, {"name": "fetchCount", "type": "number", "optional": true}], ["entries"]);
InspectorBackend.registerCommand("Runtime.saveResult", null, [{"name": "value", "type": "object"}, {"name": "contextId", "type": "number", "optional": true}], ["savedResultIndex"]);
InspectorBackend.registerCommand("Runtime.setSavedResultAlias", null, [{"name": "alias", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("Runtime.releaseObject", null, [{"name": "objectId", "type": "string"}], []);
InspectorBackend.registerCommand("Runtime.releaseObjectGroup", null, [{"name": "objectGroup", "type": "string"}], []);
InspectorBackend.registerCommand("Runtime.enable", null, [], []);
InspectorBackend.registerCommand("Runtime.disable", null, [], []);
InspectorBackend.registerCommand("Runtime.getRuntimeTypesForVariablesAtOffsets", null, [{"name": "locations", "type": "object"}], ["types"]);
InspectorBackend.registerCommand("Runtime.enableTypeProfiler", null, [], []);
InspectorBackend.registerCommand("Runtime.disableTypeProfiler", null, [], []);
InspectorBackend.registerCommand("Runtime.enableControlFlowProfiler", null, [], []);
InspectorBackend.registerCommand("Runtime.disableControlFlowProfiler", null, [], []);
InspectorBackend.registerCommand("Runtime.getBasicBlocks", null, [{"name": "sourceID", "type": "string"}], ["basicBlocks"]);
InspectorBackend.registerEvent("Runtime.executionContextCreated", null, ["context"]);
InspectorBackend.registerRuntimeDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Runtime");
InspectorBackend.activateDomain("Runtime", ["itml", "javascript", "page", "service-worker", "web-page"]);
// ScriptProfiler
InspectorBackend.registerDomain("ScriptProfiler", ["itml", "javascript", "page"]);
InspectorBackend.registerEnum("ScriptProfiler.EventType", {API: "API", Microtask: "Microtask", Other: "Other"});
InspectorBackend.registerCommand("ScriptProfiler.startTracking", null, [{"name": "includeSamples", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("ScriptProfiler.stopTracking", null, [], []);
InspectorBackend.registerEvent("ScriptProfiler.trackingStart", null, ["timestamp"]);
InspectorBackend.registerEvent("ScriptProfiler.trackingUpdate", null, ["event"]);
InspectorBackend.registerEvent("ScriptProfiler.trackingComplete", null, ["timestamp", "samples"]);
InspectorBackend.registerScriptProfilerDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "ScriptProfiler");
InspectorBackend.activateDomain("ScriptProfiler", ["itml", "javascript", "page", "web-page"]);
// Target
InspectorBackend.registerDomain("Target", ["web-page"]);
InspectorBackend.registerEnum("Target.TargetInfoType", {Page: "page", ServiceWorker: "service-worker", Worker: "worker"});
InspectorBackend.registerCommand("Target.setPauseOnStart", null, [{"name": "pauseOnStart", "type": "boolean"}], []);
InspectorBackend.registerCommand("Target.resume", null, [{"name": "targetId", "type": "string"}], []);
InspectorBackend.registerCommand("Target.sendMessageToTarget", null, [{"name": "targetId", "type": "string"}, {"name": "message", "type": "string"}], []);
InspectorBackend.registerEvent("Target.targetCreated", null, ["targetInfo"]);
InspectorBackend.registerEvent("Target.targetDestroyed", null, ["targetId"]);
InspectorBackend.registerEvent("Target.didCommitProvisionalTarget", null, ["oldTargetId", "newTargetId"]);
InspectorBackend.registerEvent("Target.dispatchMessageFromTarget", null, ["targetId", "message"]);
InspectorBackend.registerTargetDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Target");
InspectorBackend.activateDomain("Target", ["web-page"]);
// Timeline
InspectorBackend.registerDomain("Timeline", ["page"]);
InspectorBackend.registerEnum("Timeline.EventType", {EventDispatch: "EventDispatch", ScheduleStyleRecalculation: "ScheduleStyleRecalculation", RecalculateStyles: "RecalculateStyles", InvalidateLayout: "InvalidateLayout", Layout: "Layout", Paint: "Paint", Composite: "Composite", RenderingFrame: "RenderingFrame", TimerInstall: "TimerInstall", TimerRemove: "TimerRemove", TimerFire: "TimerFire", EvaluateScript: "EvaluateScript", TimeStamp: "TimeStamp", Time: "Time", TimeEnd: "TimeEnd", FunctionCall: "FunctionCall", ProbeSample: "ProbeSample", ConsoleProfile: "ConsoleProfile", RequestAnimationFrame: "RequestAnimationFrame", CancelAnimationFrame: "CancelAnimationFrame", FireAnimationFrame: "FireAnimationFrame", ObserverCallback: "ObserverCallback"});
InspectorBackend.registerEnum("Timeline.Instrument", {ScriptProfiler: "ScriptProfiler", Timeline: "Timeline", CPU: "CPU", Memory: "Memory", Heap: "Heap", Animation: "Animation"});
InspectorBackend.registerCommand("Timeline.enable", null, [], []);
InspectorBackend.registerCommand("Timeline.disable", null, [], []);
InspectorBackend.registerCommand("Timeline.start", null, [{"name": "maxCallStackDepth", "type": "number", "optional": true}], []);
InspectorBackend.registerCommand("Timeline.stop", null, [], []);
InspectorBackend.registerCommand("Timeline.setAutoCaptureEnabled", null, [{"name": "enabled", "type": "boolean"}], []);
InspectorBackend.registerCommand("Timeline.setInstruments", null, [{"name": "instruments", "type": "object"}], []);
InspectorBackend.registerEvent("Timeline.eventRecorded", null, ["record"]);
InspectorBackend.registerEvent("Timeline.recordingStarted", null, ["startTime"]);
InspectorBackend.registerEvent("Timeline.recordingStopped", null, ["endTime"]);
InspectorBackend.registerEvent("Timeline.autoCaptureStarted", null, []);
InspectorBackend.registerTimelineDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Timeline");
InspectorBackend.activateDomain("Timeline", ["page", "web-page"]);
// Worker
InspectorBackend.registerDomain("Worker", ["page"]);
InspectorBackend.registerCommand("Worker.enable", null, [], []);
InspectorBackend.registerCommand("Worker.disable", null, [], []);
InspectorBackend.registerCommand("Worker.initialized", null, [{"name": "workerId", "type": "string"}], []);
InspectorBackend.registerCommand("Worker.sendMessageToWorker", null, [{"name": "workerId", "type": "string"}, {"name": "message", "type": "string"}], []);
InspectorBackend.registerEvent("Worker.workerCreated", null, ["workerId", "url", "name"]);
InspectorBackend.registerEvent("Worker.workerTerminated", null, ["workerId"]);
InspectorBackend.registerEvent("Worker.dispatchMessageFromWorker", null, ["workerId", "message"]);
InspectorBackend.registerWorkerDispatcher = InspectorBackend.registerDispatcher.bind(InspectorBackend, "Worker");
InspectorBackend.activateDomain("Worker", ["page", "web-page"]);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,367 @@
/*
* Copyright (C) 2013 Google Inc. All rights reserved.
* Copyright (C) 2013-2016 Apple Inc. All rights reserved.
* Copyright (C) 2014 University of Washington. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
// DO NOT EDIT THIS FILE. It is automatically generated from CombinedDomains.json by the script: Source/JavaScriptCore/inspector/scripts/generate-inspector-protocol-bindings.py
#pragma once
#include "InspectorProtocolObjects.h"
#include <wtf/JSONValues.h>
#include <wtf/Optional.h>
#include <wtf/text/WTFString.h>
namespace Inspector {
class FrontendRouter;
class JS_EXPORT_PRIVATE AnimationFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
AnimationFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void animationCreated(Ref<Protocol::Animation::Animation>&& animation);
void nameChanged(const String& animationId, const String& opt_name);
void effectChanged(const String& animationId, RefPtr<Protocol::Animation::Effect>&& opt_effect);
void targetChanged(const String& animationId);
void animationDestroyed(const String& animationId);
void trackingStart(double timestamp);
void trackingUpdate(double timestamp, Ref<Protocol::Animation::TrackingUpdate>&& event);
void trackingComplete(double timestamp);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE ApplicationCacheFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
ApplicationCacheFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void applicationCacheStatusUpdated(const String& frameId, const String& manifestURL, int status);
void networkStateUpdated(bool isNowOnline);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE BrowserFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
BrowserFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void extensionsEnabled(Ref<JSON::ArrayOf<Protocol::Browser::Extension>>&& extensions);
void extensionsDisabled(Ref<JSON::ArrayOf<String>>&& extensionIds);
private:
FrontendRouter& m_frontendRouter;
};
#if defined(ENABLE_RESOURCE_USAGE) && ENABLE_RESOURCE_USAGE
class JS_EXPORT_PRIVATE CPUProfilerFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
CPUProfilerFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void trackingStart(double timestamp);
void trackingUpdate(Ref<Protocol::CPUProfiler::Event>&& event);
void trackingComplete(double timestamp);
private:
FrontendRouter& m_frontendRouter;
};
#endif // defined(ENABLE_RESOURCE_USAGE) && ENABLE_RESOURCE_USAGE
class JS_EXPORT_PRIVATE CSSFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
CSSFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void mediaQueryResultChanged();
void styleSheetChanged(const String& styleSheetId);
void styleSheetAdded(Ref<Protocol::CSS::CSSStyleSheetHeader>&& header);
void styleSheetRemoved(const String& styleSheetId);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE CanvasFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
CanvasFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void canvasAdded(Ref<Protocol::Canvas::Canvas>&& canvas);
void canvasRemoved(const String& canvasId);
void canvasMemoryChanged(const String& canvasId, double memoryCost);
void extensionEnabled(const String& canvasId, const String& extension);
void clientNodesChanged(const String& canvasId);
void recordingStarted(const String& canvasId, Protocol::Recording::Initiator initiator);
void recordingProgress(const String& canvasId, Ref<JSON::ArrayOf<Protocol::Recording::Frame>>&& frames, int bufferUsed);
void recordingFinished(const String& canvasId, RefPtr<Protocol::Recording::Recording>&& opt_recording);
#if (defined(ENABLE_WEBGL) && ENABLE_WEBGL) || (defined(ENABLE_WEBGPU) && ENABLE_WEBGPU)
void programCreated(Ref<Protocol::Canvas::ShaderProgram>&& shaderProgram);
#endif // (defined(ENABLE_WEBGL) && ENABLE_WEBGL) || (defined(ENABLE_WEBGPU) && ENABLE_WEBGPU)
#if (defined(ENABLE_WEBGL) && ENABLE_WEBGL) || (defined(ENABLE_WEBGPU) && ENABLE_WEBGPU)
void programDeleted(const String& programId);
#endif // (defined(ENABLE_WEBGL) && ENABLE_WEBGL) || (defined(ENABLE_WEBGPU) && ENABLE_WEBGPU)
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE ConsoleFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
ConsoleFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void messageAdded(Ref<Protocol::Console::ConsoleMessage>&& message);
void messageRepeatCountUpdated(int count);
void messagesCleared();
void heapSnapshot(double timestamp, const String& snapshotData, const String& opt_title);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE DOMFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
DOMFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void documentUpdated();
void inspect(int nodeId);
void setChildNodes(int parentId, Ref<JSON::ArrayOf<Protocol::DOM::Node>>&& nodes);
void attributeModified(int nodeId, const String& name, const String& value);
void attributeRemoved(int nodeId, const String& name);
void inlineStyleInvalidated(Ref<JSON::ArrayOf<int>>&& nodeIds);
void characterDataModified(int nodeId, const String& characterData);
void childNodeCountUpdated(int nodeId, int childNodeCount);
void childNodeInserted(int parentNodeId, int previousNodeId, Ref<Protocol::DOM::Node>&& node);
void childNodeRemoved(int parentNodeId, int nodeId);
void shadowRootPushed(int hostId, Ref<Protocol::DOM::Node>&& root);
void shadowRootPopped(int hostId, int rootId);
void customElementStateChanged(int nodeId, Protocol::DOM::CustomElementState customElementState);
void pseudoElementAdded(int parentId, Ref<Protocol::DOM::Node>&& pseudoElement);
void pseudoElementRemoved(int parentId, int pseudoElementId);
void didAddEventListener(int nodeId);
void willRemoveEventListener(int nodeId);
void didFireEvent(int nodeId, const String& eventName, double timestamp, RefPtr<JSON::Object>&& opt_data);
#if defined(ENABLE_VIDEO) && ENABLE_VIDEO
void powerEfficientPlaybackStateChanged(int nodeId, double timestamp, bool isPowerEfficient);
#endif // defined(ENABLE_VIDEO) && ENABLE_VIDEO
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE DOMStorageFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
DOMStorageFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void domStorageItemsCleared(Ref<Protocol::DOMStorage::StorageId>&& storageId);
void domStorageItemRemoved(Ref<Protocol::DOMStorage::StorageId>&& storageId, const String& key);
void domStorageItemAdded(Ref<Protocol::DOMStorage::StorageId>&& storageId, const String& key, const String& newValue);
void domStorageItemUpdated(Ref<Protocol::DOMStorage::StorageId>&& storageId, const String& key, const String& oldValue, const String& newValue);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE DatabaseFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
DatabaseFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void addDatabase(Ref<Protocol::Database::Database>&& database);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE DebuggerFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
DebuggerFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void globalObjectCleared();
void scriptParsed(const String& scriptId, const String& url, int startLine, int startColumn, int endLine, int endColumn, Optional<bool>&& opt_isContentScript, const String& opt_sourceURL, const String& opt_sourceMapURL, Optional<bool>&& opt_module);
void scriptFailedToParse(const String& url, const String& scriptSource, int startLine, int errorLine, const String& errorMessage);
void breakpointResolved(const String& breakpointId, Ref<Protocol::Debugger::Location>&& location);
// Named after parameter 'reason' while generating command/event paused.
enum class Reason {
XHR = 148,
Fetch = 149,
DOM = 239,
AnimationFrame = 240,
Interval = 241,
Listener = 242,
Timeout = 161,
Exception = 243,
Assert = 83,
CSPViolation = 244,
DebuggerStatement = 245,
Breakpoint = 246,
PauseOnNextStatement = 247,
Microtask = 209,
BlackboxedScript = 248,
Other = 66,
}; // enum class Reason
void paused(Ref<JSON::ArrayOf<Protocol::Debugger::CallFrame>>&& callFrames, const String& reason, RefPtr<JSON::Object>&& opt_data, RefPtr<Protocol::Console::StackTrace>&& opt_asyncStackTrace);
void resumed();
void didSampleProbe(Ref<Protocol::Debugger::ProbeSample>&& sample);
void playBreakpointActionSound(int breakpointActionId);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE HeapFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
HeapFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void garbageCollected(Ref<Protocol::Heap::GarbageCollection>&& collection);
void trackingStart(double timestamp, const String& snapshotData);
void trackingComplete(double timestamp, const String& snapshotData);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE InspectorFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
InspectorFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void evaluateForTestInFrontend(const String& script);
void inspect(Ref<Protocol::Runtime::RemoteObject>&& object, Ref<JSON::Object>&& hints);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE LayerTreeFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
LayerTreeFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void layerTreeDidChange();
private:
FrontendRouter& m_frontendRouter;
};
#if defined(ENABLE_RESOURCE_USAGE) && ENABLE_RESOURCE_USAGE
class JS_EXPORT_PRIVATE MemoryFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
MemoryFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
// Named after parameter 'severity' while generating command/event memoryPressure.
enum class Severity {
Critical = 249,
NonCritical = 250,
}; // enum class Severity
void memoryPressure(double timestamp, const String& severity);
void trackingStart(double timestamp);
void trackingUpdate(Ref<Protocol::Memory::Event>&& event);
void trackingComplete(double timestamp);
private:
FrontendRouter& m_frontendRouter;
};
#endif // defined(ENABLE_RESOURCE_USAGE) && ENABLE_RESOURCE_USAGE
class JS_EXPORT_PRIVATE NetworkFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
NetworkFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void requestWillBeSent(const String& requestId, const String& frameId, const String& loaderId, const String& documentURL, Ref<Protocol::Network::Request>&& request, double timestamp, double walltime, Ref<Protocol::Network::Initiator>&& initiator, RefPtr<Protocol::Network::Response>&& opt_redirectResponse, Optional<Protocol::Page::ResourceType>&& opt_type, const String& opt_targetId);
void responseReceived(const String& requestId, const String& frameId, const String& loaderId, double timestamp, Protocol::Page::ResourceType type, Ref<Protocol::Network::Response>&& response);
void dataReceived(const String& requestId, double timestamp, int dataLength, int encodedDataLength);
void loadingFinished(const String& requestId, double timestamp, const String& opt_sourceMapURL, RefPtr<Protocol::Network::Metrics>&& opt_metrics);
void loadingFailed(const String& requestId, double timestamp, const String& errorText, Optional<bool>&& opt_canceled);
void requestServedFromMemoryCache(const String& requestId, const String& frameId, const String& loaderId, const String& documentURL, double timestamp, Ref<Protocol::Network::Initiator>&& initiator, Ref<Protocol::Network::CachedResource>&& resource);
void requestIntercepted(const String& requestId, Ref<Protocol::Network::Request>&& request);
void responseIntercepted(const String& requestId, Ref<Protocol::Network::Response>&& response);
void webSocketWillSendHandshakeRequest(const String& requestId, double timestamp, double walltime, Ref<Protocol::Network::WebSocketRequest>&& request);
void webSocketHandshakeResponseReceived(const String& requestId, double timestamp, Ref<Protocol::Network::WebSocketResponse>&& response);
void webSocketCreated(const String& requestId, const String& url);
void webSocketClosed(const String& requestId, double timestamp);
void webSocketFrameReceived(const String& requestId, double timestamp, Ref<Protocol::Network::WebSocketFrame>&& response);
void webSocketFrameError(const String& requestId, double timestamp, const String& errorMessage);
void webSocketFrameSent(const String& requestId, double timestamp, Ref<Protocol::Network::WebSocketFrame>&& response);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE PageFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
PageFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void domContentEventFired(double timestamp);
void loadEventFired(double timestamp);
void frameNavigated(Ref<Protocol::Page::Frame>&& frame);
void frameDetached(const String& frameId);
void frameStartedLoading(const String& frameId);
void frameStoppedLoading(const String& frameId);
void frameScheduledNavigation(const String& frameId, double delay);
void frameClearedScheduledNavigation(const String& frameId);
#if (defined(ENABLE_DARK_MODE_CSS) && ENABLE_DARK_MODE_CSS) || (defined(HAVE_OS_DARK_MODE_SUPPORT) && HAVE_OS_DARK_MODE_SUPPORT)
void defaultAppearanceDidChange(Protocol::Page::Appearance appearance);
#endif // (defined(ENABLE_DARK_MODE_CSS) && ENABLE_DARK_MODE_CSS) || (defined(HAVE_OS_DARK_MODE_SUPPORT) && HAVE_OS_DARK_MODE_SUPPORT)
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE RuntimeFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
RuntimeFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void executionContextCreated(Ref<Protocol::Runtime::ExecutionContextDescription>&& context);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE ScriptProfilerFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
ScriptProfilerFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void trackingStart(double timestamp);
void trackingUpdate(Ref<Protocol::ScriptProfiler::Event>&& event);
void trackingComplete(double timestamp, RefPtr<Protocol::ScriptProfiler::Samples>&& opt_samples);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE TargetFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
TargetFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void targetCreated(Ref<Protocol::Target::TargetInfo>&& targetInfo);
void targetDestroyed(const String& targetId);
void didCommitProvisionalTarget(const String& oldTargetId, const String& newTargetId);
void dispatchMessageFromTarget(const String& targetId, const String& message);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE TimelineFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
TimelineFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void eventRecorded(Ref<Protocol::Timeline::TimelineEvent>&& record);
void recordingStarted(double startTime);
void recordingStopped(double endTime);
void autoCaptureStarted();
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE WorkerFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
WorkerFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void workerCreated(const String& workerId, const String& url, const String& name);
void workerTerminated(const String& workerId);
void dispatchMessageFromWorker(const String& workerId, const String& message);
private:
FrontendRouter& m_frontendRouter;
};
} // namespace Inspector

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More