Darling build of JavaScriptCore-7608.4.9.1.3

Psst... use unified builds (JSC_UNIFIED_BUILDS) for faster builds!
This commit is contained in:
Ariel Abreu 2020-08-31 16:21:11 -04:00
parent ffed2428ed
commit a44c7a2ae9
No known key found for this signature in database
GPG Key ID: ECF8C2B9E8AD3E6B
269 changed files with 266067 additions and 1083 deletions

View File

@ -47,6 +47,11 @@
#import "ObjectConstructor.h"
#import "SourceOrigin.h"
#import <wtf/URL.h>
#ifdef DARLING_NONUNIFIED_BUILD
#include "IdentifierInlines.h"
#include "AuxiliaryBarrierInlines.h"
#include "StrongInlines.h"
#endif
namespace JSC {

View File

@ -41,6 +41,10 @@
#import "JavaScriptCore.h"
#import "ObjcRuntimeExtras.h"
#import "StrongInlines.h"
#ifdef DARLING_NONUNIFIED_BUILD
#include "JSScriptInternal.h"
#include "JSAPIGlobalObject.h"
#endif
#import <wtf/WeakObjCPtr.h>

View File

@ -23,6 +23,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef DARLING_NONUNIFIED_BUILD
#include <JavaScriptCore/JSBase.h>
#include <JavaScriptCore/WebKitAvailability.h>
#endif
#import <JavaScriptCore/JSValue.h>
#if JSC_OBJC_API_ENABLED

View File

@ -43,6 +43,9 @@
#import <wtf/Scope.h>
#import <wtf/WeakObjCPtr.h>
#import <wtf/spi/darwin/DataVaultSPI.h>
#ifdef DARLING_NONUNIFIED_BUILD
#include "runtime/Completion.h"
#endif
#if JSC_OBJC_API_ENABLED

View File

@ -23,6 +23,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifdef DARLING_NONUNIFIED_BUILD
#include <JavaScriptCore/JSBase.h>
#include <JavaScriptCore/WebKitAvailability.h>
#endif
#if JSC_OBJC_API_ENABLED
#import "SourceProvider.h"

View File

@ -26,6 +26,11 @@
#ifndef JSValue_h
#define JSValue_h
#ifdef DARLING_NONUNIFIED_BUILD
#include <JavaScriptCore/JSBase.h>
#include <JavaScriptCore/WebKitAvailability.h>
#endif
#if JSC_OBJC_API_ENABLED
#import <CoreGraphics/CGGeometry.h>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,243 @@
// 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,
Compare32,
Compare64,
Test32,
Test64,
CompareDouble,
CompareFloat,
Branch8,
Branch32,
Branch64,
BranchTest8,
BranchTest32,
BranchTest64,
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 = 230;
} } } // 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

View File

@ -0,0 +1 @@
#define JSC_BYTECODE_CACHE_VERSION 1598736385

View File

@ -0,0 +1,554 @@
// SHA1Hash: da39a3ee5e6b4b0d3255bfef95601890afd80709
/*
* Copyright (C) 2020 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 from JavaScriptCore/bytecode/BytecodeList.rb, do not modify.
*/
namespace JSC {
const unsigned OpNewArray_m_dst_index = 1;
const unsigned OpNewArray_m_argv_index = 2;
const unsigned OpNewArray_m_argc_index = 3;
const unsigned OpNewArray_m_recommendedIndexingType_index = 4;
const unsigned OpNewArray_m_metadataID_index = 5;
const unsigned OpTailCall_m_dst_index = 1;
const unsigned OpTailCall_m_callee_index = 2;
const unsigned OpTailCall_m_argc_index = 3;
const unsigned OpTailCall_m_argv_index = 4;
const unsigned OpTailCall_m_metadataID_index = 5;
const unsigned OpCallEval_m_dst_index = 1;
const unsigned OpCallEval_m_callee_index = 2;
const unsigned OpCallEval_m_argc_index = 3;
const unsigned OpCallEval_m_argv_index = 4;
const unsigned OpCallEval_m_metadataID_index = 5;
const unsigned OpCallVarargs_m_dst_index = 1;
const unsigned OpCallVarargs_m_callee_index = 2;
const unsigned OpCallVarargs_m_thisValue_index = 3;
const unsigned OpCallVarargs_m_arguments_index = 4;
const unsigned OpCallVarargs_m_firstFree_index = 5;
const unsigned OpCallVarargs_m_firstVarArg_index = 6;
const unsigned OpCallVarargs_m_metadataID_index = 7;
const unsigned OpTailCallVarargs_m_dst_index = 1;
const unsigned OpTailCallVarargs_m_callee_index = 2;
const unsigned OpTailCallVarargs_m_thisValue_index = 3;
const unsigned OpTailCallVarargs_m_arguments_index = 4;
const unsigned OpTailCallVarargs_m_firstFree_index = 5;
const unsigned OpTailCallVarargs_m_firstVarArg_index = 6;
const unsigned OpTailCallVarargs_m_metadataID_index = 7;
const unsigned OpTailCallForwardArguments_m_dst_index = 1;
const unsigned OpTailCallForwardArguments_m_callee_index = 2;
const unsigned OpTailCallForwardArguments_m_thisValue_index = 3;
const unsigned OpTailCallForwardArguments_m_arguments_index = 4;
const unsigned OpTailCallForwardArguments_m_firstFree_index = 5;
const unsigned OpTailCallForwardArguments_m_firstVarArg_index = 6;
const unsigned OpTailCallForwardArguments_m_metadataID_index = 7;
const unsigned OpConstruct_m_dst_index = 1;
const unsigned OpConstruct_m_callee_index = 2;
const unsigned OpConstruct_m_argc_index = 3;
const unsigned OpConstruct_m_argv_index = 4;
const unsigned OpConstruct_m_metadataID_index = 5;
const unsigned OpConstructVarargs_m_dst_index = 1;
const unsigned OpConstructVarargs_m_callee_index = 2;
const unsigned OpConstructVarargs_m_thisValue_index = 3;
const unsigned OpConstructVarargs_m_arguments_index = 4;
const unsigned OpConstructVarargs_m_firstFree_index = 5;
const unsigned OpConstructVarargs_m_firstVarArg_index = 6;
const unsigned OpConstructVarargs_m_metadataID_index = 7;
const unsigned OpNewArrayWithSize_m_dst_index = 1;
const unsigned OpNewArrayWithSize_m_length_index = 2;
const unsigned OpNewArrayWithSize_m_metadataID_index = 3;
const unsigned OpNewArrayBuffer_m_dst_index = 1;
const unsigned OpNewArrayBuffer_m_immutableButterfly_index = 2;
const unsigned OpNewArrayBuffer_m_recommendedIndexingType_index = 3;
const unsigned OpNewArrayBuffer_m_metadataID_index = 4;
const unsigned OpJneqPtr_m_value_index = 1;
const unsigned OpJneqPtr_m_specialPointer_index = 2;
const unsigned OpJneqPtr_m_targetLabel_index = 3;
const unsigned OpJneqPtr_m_metadataID_index = 4;
const unsigned OpResolveScope_m_dst_index = 1;
const unsigned OpResolveScope_m_scope_index = 2;
const unsigned OpResolveScope_m_var_index = 3;
const unsigned OpResolveScope_m_resolveType_index = 4;
const unsigned OpResolveScope_m_localScopeDepth_index = 5;
const unsigned OpResolveScope_m_metadataID_index = 6;
const unsigned OpGetFromScope_m_dst_index = 1;
const unsigned OpGetFromScope_m_scope_index = 2;
const unsigned OpGetFromScope_m_var_index = 3;
const unsigned OpGetFromScope_m_getPutInfo_index = 4;
const unsigned OpGetFromScope_m_localScopeDepth_index = 5;
const unsigned OpGetFromScope_m_offset_index = 6;
const unsigned OpGetFromScope_m_metadataID_index = 7;
const unsigned OpPutToScope_m_scope_index = 1;
const unsigned OpPutToScope_m_var_index = 2;
const unsigned OpPutToScope_m_value_index = 3;
const unsigned OpPutToScope_m_getPutInfo_index = 4;
const unsigned OpPutToScope_m_symbolTableOrScopeDepth_index = 5;
const unsigned OpPutToScope_m_offset_index = 6;
const unsigned OpPutToScope_m_metadataID_index = 7;
const unsigned OpGetFromArguments_m_dst_index = 1;
const unsigned OpGetFromArguments_m_arguments_index = 2;
const unsigned OpGetFromArguments_m_index_index = 3;
const unsigned OpGetFromArguments_m_metadataID_index = 4;
const unsigned OpCreateThis_m_dst_index = 1;
const unsigned OpCreateThis_m_callee_index = 2;
const unsigned OpCreateThis_m_inlineCapacity_index = 3;
const unsigned OpCreateThis_m_metadataID_index = 4;
const unsigned OpToThis_m_srcDst_index = 1;
const unsigned OpToThis_m_metadataID_index = 2;
const unsigned OpInByVal_m_dst_index = 1;
const unsigned OpInByVal_m_base_index = 2;
const unsigned OpInByVal_m_property_index = 3;
const unsigned OpInByVal_m_metadataID_index = 4;
const unsigned OpGetArgument_m_dst_index = 1;
const unsigned OpGetArgument_m_index_index = 2;
const unsigned OpGetArgument_m_metadataID_index = 3;
const unsigned OpGetById_m_dst_index = 1;
const unsigned OpGetById_m_base_index = 2;
const unsigned OpGetById_m_property_index = 3;
const unsigned OpGetById_m_metadataID_index = 4;
const unsigned OpCatch_m_exception_index = 1;
const unsigned OpCatch_m_thrownValue_index = 2;
const unsigned OpCatch_m_metadataID_index = 3;
const unsigned OpGetByIdWithThis_m_dst_index = 1;
const unsigned OpGetByIdWithThis_m_base_index = 2;
const unsigned OpGetByIdWithThis_m_thisValue_index = 3;
const unsigned OpGetByIdWithThis_m_property_index = 4;
const unsigned OpGetByIdWithThis_m_metadataID_index = 5;
const unsigned OpGetByValWithThis_m_dst_index = 1;
const unsigned OpGetByValWithThis_m_base_index = 2;
const unsigned OpGetByValWithThis_m_thisValue_index = 3;
const unsigned OpGetByValWithThis_m_property_index = 4;
const unsigned OpGetByValWithThis_m_metadataID_index = 5;
const unsigned OpCall_m_dst_index = 1;
const unsigned OpCall_m_callee_index = 2;
const unsigned OpCall_m_argc_index = 3;
const unsigned OpCall_m_argv_index = 4;
const unsigned OpCall_m_metadataID_index = 5;
const unsigned OpTryGetById_m_dst_index = 1;
const unsigned OpTryGetById_m_base_index = 2;
const unsigned OpTryGetById_m_property_index = 3;
const unsigned OpTryGetById_m_metadataID_index = 4;
const unsigned OpProfileType_m_targetVirtualRegister_index = 1;
const unsigned OpProfileType_m_symbolTableOrScopeDepth_index = 2;
const unsigned OpProfileType_m_flag_index = 3;
const unsigned OpProfileType_m_identifier_index = 4;
const unsigned OpProfileType_m_resolveType_index = 5;
const unsigned OpProfileType_m_metadataID_index = 6;
const unsigned OpProfileControlFlow_m_textOffset_index = 1;
const unsigned OpProfileControlFlow_m_metadataID_index = 2;
const unsigned OpPutById_m_base_index = 1;
const unsigned OpPutById_m_property_index = 2;
const unsigned OpPutById_m_value_index = 3;
const unsigned OpPutById_m_flags_index = 4;
const unsigned OpPutById_m_metadataID_index = 5;
const unsigned OpHasIndexedProperty_m_dst_index = 1;
const unsigned OpHasIndexedProperty_m_base_index = 2;
const unsigned OpHasIndexedProperty_m_property_index = 3;
const unsigned OpHasIndexedProperty_m_metadataID_index = 4;
const unsigned OpNewObject_m_dst_index = 1;
const unsigned OpNewObject_m_inlineCapacity_index = 2;
const unsigned OpNewObject_m_metadataID_index = 3;
const unsigned OpAdd_m_dst_index = 1;
const unsigned OpAdd_m_lhs_index = 2;
const unsigned OpAdd_m_rhs_index = 3;
const unsigned OpAdd_m_operandTypes_index = 4;
const unsigned OpAdd_m_metadataID_index = 5;
const unsigned OpGetDirectPname_m_dst_index = 1;
const unsigned OpGetDirectPname_m_base_index = 2;
const unsigned OpGetDirectPname_m_property_index = 3;
const unsigned OpGetDirectPname_m_index_index = 4;
const unsigned OpGetDirectPname_m_enumerator_index = 5;
const unsigned OpGetDirectPname_m_metadataID_index = 6;
const unsigned OpGetByVal_m_dst_index = 1;
const unsigned OpGetByVal_m_base_index = 2;
const unsigned OpGetByVal_m_property_index = 3;
const unsigned OpGetByVal_m_metadataID_index = 4;
const unsigned OpPutByVal_m_base_index = 1;
const unsigned OpPutByVal_m_property_index = 2;
const unsigned OpPutByVal_m_value_index = 3;
const unsigned OpPutByVal_m_metadataID_index = 4;
const unsigned OpMul_m_dst_index = 1;
const unsigned OpMul_m_lhs_index = 2;
const unsigned OpMul_m_rhs_index = 3;
const unsigned OpMul_m_operandTypes_index = 4;
const unsigned OpMul_m_metadataID_index = 5;
const unsigned OpPutByValDirect_m_base_index = 1;
const unsigned OpPutByValDirect_m_property_index = 2;
const unsigned OpPutByValDirect_m_value_index = 3;
const unsigned OpPutByValDirect_m_metadataID_index = 4;
const unsigned OpDiv_m_dst_index = 1;
const unsigned OpDiv_m_lhs_index = 2;
const unsigned OpDiv_m_rhs_index = 3;
const unsigned OpDiv_m_operandTypes_index = 4;
const unsigned OpDiv_m_metadataID_index = 5;
const unsigned OpSub_m_dst_index = 1;
const unsigned OpSub_m_lhs_index = 2;
const unsigned OpSub_m_rhs_index = 3;
const unsigned OpSub_m_operandTypes_index = 4;
const unsigned OpSub_m_metadataID_index = 5;
const unsigned OpBitand_m_dst_index = 1;
const unsigned OpBitand_m_lhs_index = 2;
const unsigned OpBitand_m_rhs_index = 3;
const unsigned OpBitand_m_metadataID_index = 4;
const unsigned OpBitor_m_dst_index = 1;
const unsigned OpBitor_m_lhs_index = 2;
const unsigned OpBitor_m_rhs_index = 3;
const unsigned OpBitor_m_metadataID_index = 4;
const unsigned OpBitxor_m_dst_index = 1;
const unsigned OpBitxor_m_lhs_index = 2;
const unsigned OpBitxor_m_rhs_index = 3;
const unsigned OpBitxor_m_metadataID_index = 4;
const unsigned OpToObject_m_dst_index = 1;
const unsigned OpToObject_m_operand_index = 2;
const unsigned OpToObject_m_message_index = 3;
const unsigned OpToObject_m_metadataID_index = 4;
const unsigned OpToNumber_m_dst_index = 1;
const unsigned OpToNumber_m_operand_index = 2;
const unsigned OpToNumber_m_metadataID_index = 3;
const unsigned OpNegate_m_dst_index = 1;
const unsigned OpNegate_m_operand_index = 2;
const unsigned OpNegate_m_operandTypes_index = 3;
const unsigned OpNegate_m_metadataID_index = 4;
const unsigned OpLshift_m_dst_index = 1;
const unsigned OpLshift_m_lhs_index = 2;
const unsigned OpLshift_m_rhs_index = 3;
const unsigned OpLshift_m_metadataID_index = 4;
const unsigned OpBitnot_m_dst_index = 1;
const unsigned OpBitnot_m_operand_index = 2;
const unsigned OpBitnot_m_metadataID_index = 3;
const unsigned OpGetByIdDirect_m_dst_index = 1;
const unsigned OpGetByIdDirect_m_base_index = 2;
const unsigned OpGetByIdDirect_m_property_index = 3;
const unsigned OpGetByIdDirect_m_metadataID_index = 4;
const unsigned OpIsCellWithType_m_dst_index = 1;
const unsigned OpIsCellWithType_m_operand_index = 2;
const unsigned OpIsCellWithType_m_type_index = 3;
const unsigned OpInById_m_dst_index = 1;
const unsigned OpInById_m_base_index = 2;
const unsigned OpInById_m_property_index = 3;
const unsigned OpPutByIdWithThis_m_base_index = 1;
const unsigned OpPutByIdWithThis_m_thisValue_index = 2;
const unsigned OpPutByIdWithThis_m_property_index = 3;
const unsigned OpPutByIdWithThis_m_value_index = 4;
const unsigned OpDelById_m_dst_index = 1;
const unsigned OpDelById_m_base_index = 2;
const unsigned OpDelById_m_property_index = 3;
const unsigned OpPutByValWithThis_m_base_index = 1;
const unsigned OpPutByValWithThis_m_thisValue_index = 2;
const unsigned OpPutByValWithThis_m_property_index = 3;
const unsigned OpPutByValWithThis_m_value_index = 4;
const unsigned OpDelByVal_m_dst_index = 1;
const unsigned OpDelByVal_m_base_index = 2;
const unsigned OpDelByVal_m_property_index = 3;
const unsigned OpPutGetterById_m_base_index = 1;
const unsigned OpPutGetterById_m_property_index = 2;
const unsigned OpPutGetterById_m_attributes_index = 3;
const unsigned OpPutGetterById_m_accessor_index = 4;
const unsigned OpPutSetterById_m_base_index = 1;
const unsigned OpPutSetterById_m_property_index = 2;
const unsigned OpPutSetterById_m_attributes_index = 3;
const unsigned OpPutSetterById_m_accessor_index = 4;
const unsigned OpPutGetterSetterById_m_base_index = 1;
const unsigned OpPutGetterSetterById_m_property_index = 2;
const unsigned OpPutGetterSetterById_m_attributes_index = 3;
const unsigned OpPutGetterSetterById_m_getter_index = 4;
const unsigned OpPutGetterSetterById_m_setter_index = 5;
const unsigned OpPutGetterByVal_m_base_index = 1;
const unsigned OpPutGetterByVal_m_property_index = 2;
const unsigned OpPutGetterByVal_m_attributes_index = 3;
const unsigned OpPutGetterByVal_m_accessor_index = 4;
const unsigned OpPutSetterByVal_m_base_index = 1;
const unsigned OpPutSetterByVal_m_property_index = 2;
const unsigned OpPutSetterByVal_m_attributes_index = 3;
const unsigned OpPutSetterByVal_m_accessor_index = 4;
const unsigned OpDefineDataProperty_m_base_index = 1;
const unsigned OpDefineDataProperty_m_property_index = 2;
const unsigned OpDefineDataProperty_m_value_index = 3;
const unsigned OpDefineDataProperty_m_attributes_index = 4;
const unsigned OpDefineAccessorProperty_m_base_index = 1;
const unsigned OpDefineAccessorProperty_m_property_index = 2;
const unsigned OpDefineAccessorProperty_m_getter_index = 3;
const unsigned OpDefineAccessorProperty_m_setter_index = 4;
const unsigned OpDefineAccessorProperty_m_attributes_index = 5;
const unsigned OpJmp_m_targetLabel_index = 1;
const unsigned OpJtrue_m_condition_index = 1;
const unsigned OpJtrue_m_targetLabel_index = 2;
const unsigned OpJfalse_m_condition_index = 1;
const unsigned OpJfalse_m_targetLabel_index = 2;
const unsigned OpJeqNull_m_value_index = 1;
const unsigned OpJeqNull_m_targetLabel_index = 2;
const unsigned OpJneqNull_m_value_index = 1;
const unsigned OpJneqNull_m_targetLabel_index = 2;
const unsigned OpJeq_m_lhs_index = 1;
const unsigned OpJeq_m_rhs_index = 2;
const unsigned OpJeq_m_targetLabel_index = 3;
const unsigned OpJstricteq_m_lhs_index = 1;
const unsigned OpJstricteq_m_rhs_index = 2;
const unsigned OpJstricteq_m_targetLabel_index = 3;
const unsigned OpJneq_m_lhs_index = 1;
const unsigned OpJneq_m_rhs_index = 2;
const unsigned OpJneq_m_targetLabel_index = 3;
const unsigned OpJnstricteq_m_lhs_index = 1;
const unsigned OpJnstricteq_m_rhs_index = 2;
const unsigned OpJnstricteq_m_targetLabel_index = 3;
const unsigned OpJless_m_lhs_index = 1;
const unsigned OpJless_m_rhs_index = 2;
const unsigned OpJless_m_targetLabel_index = 3;
const unsigned OpJlesseq_m_lhs_index = 1;
const unsigned OpJlesseq_m_rhs_index = 2;
const unsigned OpJlesseq_m_targetLabel_index = 3;
const unsigned OpJgreater_m_lhs_index = 1;
const unsigned OpJgreater_m_rhs_index = 2;
const unsigned OpJgreater_m_targetLabel_index = 3;
const unsigned OpJgreatereq_m_lhs_index = 1;
const unsigned OpJgreatereq_m_rhs_index = 2;
const unsigned OpJgreatereq_m_targetLabel_index = 3;
const unsigned OpJnless_m_lhs_index = 1;
const unsigned OpJnless_m_rhs_index = 2;
const unsigned OpJnless_m_targetLabel_index = 3;
const unsigned OpJnlesseq_m_lhs_index = 1;
const unsigned OpJnlesseq_m_rhs_index = 2;
const unsigned OpJnlesseq_m_targetLabel_index = 3;
const unsigned OpJngreatereq_m_lhs_index = 1;
const unsigned OpJngreatereq_m_rhs_index = 2;
const unsigned OpJngreatereq_m_targetLabel_index = 3;
const unsigned OpJbelow_m_lhs_index = 1;
const unsigned OpJbelow_m_rhs_index = 2;
const unsigned OpJbelow_m_targetLabel_index = 3;
const unsigned OpJbeloweq_m_lhs_index = 1;
const unsigned OpJbeloweq_m_rhs_index = 2;
const unsigned OpJbeloweq_m_targetLabel_index = 3;
const unsigned OpSwitchImm_m_tableIndex_index = 1;
const unsigned OpSwitchImm_m_defaultOffset_index = 2;
const unsigned OpSwitchImm_m_scrutinee_index = 3;
const unsigned OpSwitchChar_m_tableIndex_index = 1;
const unsigned OpSwitchChar_m_defaultOffset_index = 2;
const unsigned OpSwitchChar_m_scrutinee_index = 3;
const unsigned OpSwitchString_m_tableIndex_index = 1;
const unsigned OpSwitchString_m_defaultOffset_index = 2;
const unsigned OpSwitchString_m_scrutinee_index = 3;
const unsigned OpNewFunc_m_dst_index = 1;
const unsigned OpNewFunc_m_scope_index = 2;
const unsigned OpNewFunc_m_functionDecl_index = 3;
const unsigned OpNewFuncExp_m_dst_index = 1;
const unsigned OpNewFuncExp_m_scope_index = 2;
const unsigned OpNewFuncExp_m_functionDecl_index = 3;
const unsigned OpNewGeneratorFunc_m_dst_index = 1;
const unsigned OpNewGeneratorFunc_m_scope_index = 2;
const unsigned OpNewGeneratorFunc_m_functionDecl_index = 3;
const unsigned OpNewGeneratorFuncExp_m_dst_index = 1;
const unsigned OpNewGeneratorFuncExp_m_scope_index = 2;
const unsigned OpNewGeneratorFuncExp_m_functionDecl_index = 3;
const unsigned OpNewAsyncFunc_m_dst_index = 1;
const unsigned OpNewAsyncFunc_m_scope_index = 2;
const unsigned OpNewAsyncFunc_m_functionDecl_index = 3;
const unsigned OpNewAsyncFuncExp_m_dst_index = 1;
const unsigned OpNewAsyncFuncExp_m_scope_index = 2;
const unsigned OpNewAsyncFuncExp_m_functionDecl_index = 3;
const unsigned OpNewAsyncGeneratorFunc_m_dst_index = 1;
const unsigned OpNewAsyncGeneratorFunc_m_scope_index = 2;
const unsigned OpNewAsyncGeneratorFunc_m_functionDecl_index = 3;
const unsigned OpNewAsyncGeneratorFuncExp_m_dst_index = 1;
const unsigned OpNewAsyncGeneratorFuncExp_m_scope_index = 2;
const unsigned OpNewAsyncGeneratorFuncExp_m_functionDecl_index = 3;
const unsigned OpSetFunctionName_m_function_index = 1;
const unsigned OpSetFunctionName_m_name_index = 2;
const unsigned OpRet_m_value_index = 1;
const unsigned OpStrcat_m_dst_index = 1;
const unsigned OpStrcat_m_src_index = 2;
const unsigned OpStrcat_m_count_index = 3;
const unsigned OpToPrimitive_m_dst_index = 1;
const unsigned OpToPrimitive_m_src_index = 2;
const unsigned OpPutToArguments_m_arguments_index = 1;
const unsigned OpPutToArguments_m_index_index = 2;
const unsigned OpPutToArguments_m_value_index = 3;
const unsigned OpPushWithScope_m_dst_index = 1;
const unsigned OpPushWithScope_m_currentScope_index = 2;
const unsigned OpPushWithScope_m_newScope_index = 3;
const unsigned OpCreateLexicalEnvironment_m_dst_index = 1;
const unsigned OpCreateLexicalEnvironment_m_scope_index = 2;
const unsigned OpCreateLexicalEnvironment_m_symbolTable_index = 3;
const unsigned OpCreateLexicalEnvironment_m_initialValue_index = 4;
const unsigned OpCreateGeneratorFrameEnvironment_m_dst_index = 1;
const unsigned OpCreateGeneratorFrameEnvironment_m_scope_index = 2;
const unsigned OpCreateGeneratorFrameEnvironment_m_symbolTable_index = 3;
const unsigned OpCreateGeneratorFrameEnvironment_m_initialValue_index = 4;
const unsigned OpGetParentScope_m_dst_index = 1;
const unsigned OpGetParentScope_m_scope_index = 2;
const unsigned OpThrow_m_value_index = 1;
const unsigned OpThrowStaticError_m_message_index = 1;
const unsigned OpThrowStaticError_m_errorType_index = 2;
const unsigned OpDebug_m_debugHookType_index = 1;
const unsigned OpDebug_m_hasBreakpoint_index = 2;
const unsigned OpEnd_m_value_index = 1;
const unsigned OpGetEnumerableLength_m_dst_index = 1;
const unsigned OpGetEnumerableLength_m_base_index = 2;
const unsigned OpHasStructureProperty_m_dst_index = 1;
const unsigned OpHasStructureProperty_m_base_index = 2;
const unsigned OpHasStructureProperty_m_property_index = 3;
const unsigned OpHasStructureProperty_m_enumerator_index = 4;
const unsigned OpHasGenericProperty_m_dst_index = 1;
const unsigned OpHasGenericProperty_m_base_index = 2;
const unsigned OpHasGenericProperty_m_property_index = 3;
const unsigned OpGetPropertyEnumerator_m_dst_index = 1;
const unsigned OpGetPropertyEnumerator_m_base_index = 2;
const unsigned OpEnumeratorStructurePname_m_dst_index = 1;
const unsigned OpEnumeratorStructurePname_m_enumerator_index = 2;
const unsigned OpEnumeratorStructurePname_m_index_index = 3;
const unsigned OpEnumeratorGenericPname_m_dst_index = 1;
const unsigned OpEnumeratorGenericPname_m_enumerator_index = 2;
const unsigned OpEnumeratorGenericPname_m_index_index = 3;
const unsigned OpToIndexString_m_dst_index = 1;
const unsigned OpToIndexString_m_index_index = 2;
const unsigned OpCreateRest_m_dst_index = 1;
const unsigned OpCreateRest_m_arraySize_index = 2;
const unsigned OpCreateRest_m_numParametersToSkip_index = 3;
const unsigned OpGetRestLength_m_dst_index = 1;
const unsigned OpGetRestLength_m_numParametersToSkip_index = 2;
const unsigned OpYield_m_generator_index = 1;
const unsigned OpYield_m_yieldPoint_index = 2;
const unsigned OpYield_m_argument_index = 3;
const unsigned OpLogShadowChickenPrologue_m_scope_index = 1;
const unsigned OpLogShadowChickenTail_m_thisValue_index = 1;
const unsigned OpLogShadowChickenTail_m_scope_index = 2;
const unsigned OpResolveScopeForHoistingFuncDeclInEval_m_dst_index = 1;
const unsigned OpResolveScopeForHoistingFuncDeclInEval_m_scope_index = 2;
const unsigned OpResolveScopeForHoistingFuncDeclInEval_m_property_index = 3;
const unsigned OpJngreater_m_lhs_index = 1;
const unsigned OpJngreater_m_rhs_index = 2;
const unsigned OpJngreater_m_targetLabel_index = 3;
const unsigned OpGetScope_m_dst_index = 1;
const unsigned OpCreateDirectArguments_m_dst_index = 1;
const unsigned OpCreateScopedArguments_m_dst_index = 1;
const unsigned OpCreateScopedArguments_m_scope_index = 2;
const unsigned OpCreateClonedArguments_m_dst_index = 1;
const unsigned OpArgumentCount_m_dst_index = 1;
const unsigned OpCheckTdz_m_targetVirtualRegister_index = 1;
const unsigned OpNewArrayWithSpread_m_dst_index = 1;
const unsigned OpNewArrayWithSpread_m_argv_index = 2;
const unsigned OpNewArrayWithSpread_m_argc_index = 3;
const unsigned OpNewArrayWithSpread_m_bitVector_index = 4;
const unsigned OpSpread_m_dst_index = 1;
const unsigned OpSpread_m_argument_index = 2;
const unsigned OpNewRegexp_m_dst_index = 1;
const unsigned OpNewRegexp_m_regexp_index = 2;
const unsigned OpMov_m_dst_index = 1;
const unsigned OpMov_m_src_index = 2;
const unsigned OpEq_m_dst_index = 1;
const unsigned OpEq_m_lhs_index = 2;
const unsigned OpEq_m_rhs_index = 3;
const unsigned OpNeq_m_dst_index = 1;
const unsigned OpNeq_m_lhs_index = 2;
const unsigned OpNeq_m_rhs_index = 3;
const unsigned OpStricteq_m_dst_index = 1;
const unsigned OpStricteq_m_lhs_index = 2;
const unsigned OpStricteq_m_rhs_index = 3;
const unsigned OpNstricteq_m_dst_index = 1;
const unsigned OpNstricteq_m_lhs_index = 2;
const unsigned OpNstricteq_m_rhs_index = 3;
const unsigned OpLess_m_dst_index = 1;
const unsigned OpLess_m_lhs_index = 2;
const unsigned OpLess_m_rhs_index = 3;
const unsigned OpLesseq_m_dst_index = 1;
const unsigned OpLesseq_m_lhs_index = 2;
const unsigned OpLesseq_m_rhs_index = 3;
const unsigned OpGreater_m_dst_index = 1;
const unsigned OpGreater_m_lhs_index = 2;
const unsigned OpGreater_m_rhs_index = 3;
const unsigned OpGreatereq_m_dst_index = 1;
const unsigned OpGreatereq_m_lhs_index = 2;
const unsigned OpGreatereq_m_rhs_index = 3;
const unsigned OpBelow_m_dst_index = 1;
const unsigned OpBelow_m_lhs_index = 2;
const unsigned OpBelow_m_rhs_index = 3;
const unsigned OpBeloweq_m_dst_index = 1;
const unsigned OpBeloweq_m_lhs_index = 2;
const unsigned OpBeloweq_m_rhs_index = 3;
const unsigned OpMod_m_dst_index = 1;
const unsigned OpMod_m_lhs_index = 2;
const unsigned OpMod_m_rhs_index = 3;
const unsigned OpPow_m_dst_index = 1;
const unsigned OpPow_m_lhs_index = 2;
const unsigned OpPow_m_rhs_index = 3;
const unsigned OpRshift_m_dst_index = 1;
const unsigned OpRshift_m_lhs_index = 2;
const unsigned OpRshift_m_rhs_index = 3;
const unsigned OpUrshift_m_dst_index = 1;
const unsigned OpUrshift_m_lhs_index = 2;
const unsigned OpUrshift_m_rhs_index = 3;
const unsigned OpEqNull_m_dst_index = 1;
const unsigned OpEqNull_m_operand_index = 2;
const unsigned OpNeqNull_m_dst_index = 1;
const unsigned OpNeqNull_m_operand_index = 2;
const unsigned OpToString_m_dst_index = 1;
const unsigned OpToString_m_operand_index = 2;
const unsigned OpUnsigned_m_dst_index = 1;
const unsigned OpUnsigned_m_operand_index = 2;
const unsigned OpIsEmpty_m_dst_index = 1;
const unsigned OpIsEmpty_m_operand_index = 2;
const unsigned OpIsUndefined_m_dst_index = 1;
const unsigned OpIsUndefined_m_operand_index = 2;
const unsigned OpIsUndefinedOrNull_m_dst_index = 1;
const unsigned OpIsUndefinedOrNull_m_operand_index = 2;
const unsigned OpIsBoolean_m_dst_index = 1;
const unsigned OpIsBoolean_m_operand_index = 2;
const unsigned OpIsNumber_m_dst_index = 1;
const unsigned OpIsNumber_m_operand_index = 2;
const unsigned OpIsObject_m_dst_index = 1;
const unsigned OpIsObject_m_operand_index = 2;
const unsigned OpIsObjectOrNull_m_dst_index = 1;
const unsigned OpIsObjectOrNull_m_operand_index = 2;
const unsigned OpIsFunction_m_dst_index = 1;
const unsigned OpIsFunction_m_operand_index = 2;
const unsigned OpInc_m_srcDst_index = 1;
const unsigned OpDec_m_srcDst_index = 1;
const unsigned OpNot_m_dst_index = 1;
const unsigned OpNot_m_operand_index = 2;
const unsigned OpIdentityWithProfile_m_srcDst_index = 1;
const unsigned OpIdentityWithProfile_m_topProfile_index = 2;
const unsigned OpIdentityWithProfile_m_bottomProfile_index = 3;
const unsigned OpOverridesHasInstance_m_dst_index = 1;
const unsigned OpOverridesHasInstance_m_constructor_index = 2;
const unsigned OpOverridesHasInstance_m_hasInstanceValue_index = 3;
const unsigned OpInstanceof_m_dst_index = 1;
const unsigned OpInstanceof_m_value_index = 2;
const unsigned OpInstanceof_m_prototype_index = 3;
const unsigned OpInstanceofCustom_m_dst_index = 1;
const unsigned OpInstanceofCustom_m_value_index = 2;
const unsigned OpInstanceofCustom_m_constructor_index = 3;
const unsigned OpInstanceofCustom_m_hasInstanceValue_index = 4;
const unsigned OpTypeof_m_dst_index = 1;
const unsigned OpTypeof_m_value_index = 2;
} // 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

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,193 @@
// Automatically generated from JavaScriptCore/runtime/DatePrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex dateTableIndex[133] = {
{ 40, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ 28, -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 },
{ 42, -1 },
{ -1, -1 },
{ 32, -1 },
{ -1, -1 },
{ 34, -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 },
{ 37, -1 },
{ -1, -1 },
{ -1, -1 },
{ 18, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ 27, -1 },
{ -1, -1 },
{ 31, -1 },
{ -1, -1 },
{ -1, -1 },
{ 8, -1 },
{ 41, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 35, -1 },
{ 26, -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 },
{ 38, -1 },
{ -1, -1 },
{ 39, -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 },
{ 29, -1 },
{ 30, -1 },
{ 33, -1 },
{ 36, -1 },
};
static const struct HashTableValue dateTableValues[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), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncToLocaleString), (intptr_t)(0) } },
{ "toLocaleDateString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncToLocaleDateString), (intptr_t)(0) } },
{ "toLocaleTimeString", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncToLocaleTimeString), (intptr_t)(0) } },
{ "valueOf", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetTime), (intptr_t)(0) } },
{ "getTime", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetTime), (intptr_t)(0) } },
{ "getFullYear", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetFullYear), (intptr_t)(0) } },
{ "getUTCFullYear", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCFullYear), (intptr_t)(0) } },
{ "getMonth", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetMonth), (intptr_t)(0) } },
{ "getUTCMonth", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCMonth), (intptr_t)(0) } },
{ "getDate", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetDate), (intptr_t)(0) } },
{ "getUTCDate", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCDate), (intptr_t)(0) } },
{ "getDay", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetDay), (intptr_t)(0) } },
{ "getUTCDay", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCDay), (intptr_t)(0) } },
{ "getHours", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetHours), (intptr_t)(0) } },
{ "getUTCHours", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCHours), (intptr_t)(0) } },
{ "getMinutes", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetMinutes), (intptr_t)(0) } },
{ "getUTCMinutes", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCMinutes), (intptr_t)(0) } },
{ "getSeconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetSeconds), (intptr_t)(0) } },
{ "getUTCSeconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCSeconds), (intptr_t)(0) } },
{ "getMilliseconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetMilliSeconds), (intptr_t)(0) } },
{ "getUTCMilliseconds", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetUTCMilliseconds), (intptr_t)(0) } },
{ "getTimezoneOffset", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetTimezoneOffset), (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) } },
{ "getYear", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncGetYear), (intptr_t)(0) } },
{ "toJSON", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(dateProtoFuncToJSON), (intptr_t)(1) } },
};
static const struct HashTable dateTable =
{ 44, 127, false, nullptr, dateTableValues, dateTableIndex };
} // namespace JSC

View File

@ -0,0 +1 @@
JavaScriptCore/inspector/protocol/ApplicationCache.json JavaScriptCore/inspector/protocol/Audit.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/Inspector.json JavaScriptCore/inspector/protocol/LayerTree.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/Target.json JavaScriptCore/inspector/protocol/Timeline.json JavaScriptCore/inspector/protocol/Worker.json JavaScriptCore/inspector/protocol/IndexedDB.json JavaScriptCore/inspector/protocol/CPUProfiler.json JavaScriptCore/inspector/protocol/Memory.json JavaScriptCore/inspector/protocol/ServiceWorker.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,578 @@
# SHA1Hash: da39a3ee5e6b4b0d3255bfef95601890afd80709
# Copyright (C) 2020 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 from JavaScriptCore/bytecode/BytecodeList.rb, do not modify.
setEntryAddress(0, _llint_op_new_array)
setEntryAddress(1, _llint_op_tail_call)
setEntryAddress(2, _llint_op_call_eval)
setEntryAddress(3, _llint_op_call_varargs)
setEntryAddress(4, _llint_op_tail_call_varargs)
setEntryAddress(5, _llint_op_tail_call_forward_arguments)
setEntryAddress(6, _llint_op_construct)
setEntryAddress(7, _llint_op_construct_varargs)
setEntryAddress(8, _llint_op_new_array_with_size)
setEntryAddress(9, _llint_op_new_array_buffer)
setEntryAddress(10, _llint_op_jneq_ptr)
setEntryAddress(11, _llint_op_resolve_scope)
setEntryAddress(12, _llint_op_get_from_scope)
setEntryAddress(13, _llint_op_put_to_scope)
setEntryAddress(14, _llint_op_get_from_arguments)
setEntryAddress(15, _llint_op_create_this)
setEntryAddress(16, _llint_op_to_this)
setEntryAddress(17, _llint_op_in_by_val)
setEntryAddress(18, _llint_op_get_argument)
setEntryAddress(19, _llint_op_get_by_id)
setEntryAddress(20, _llint_op_catch)
setEntryAddress(21, _llint_op_get_by_id_with_this)
setEntryAddress(22, _llint_op_get_by_val_with_this)
setEntryAddress(23, _llint_op_call)
setEntryAddress(24, _llint_op_try_get_by_id)
setEntryAddress(25, _llint_op_profile_type)
setEntryAddress(26, _llint_op_profile_control_flow)
setEntryAddress(27, _llint_op_put_by_id)
setEntryAddress(28, _llint_op_has_indexed_property)
setEntryAddress(29, _llint_op_new_object)
setEntryAddress(30, _llint_op_add)
setEntryAddress(31, _llint_op_get_direct_pname)
setEntryAddress(32, _llint_op_get_by_val)
setEntryAddress(33, _llint_op_put_by_val)
setEntryAddress(34, _llint_op_mul)
setEntryAddress(35, _llint_op_put_by_val_direct)
setEntryAddress(36, _llint_op_div)
setEntryAddress(37, _llint_op_sub)
setEntryAddress(38, _llint_op_bitand)
setEntryAddress(39, _llint_op_bitor)
setEntryAddress(40, _llint_op_bitxor)
setEntryAddress(41, _llint_op_to_object)
setEntryAddress(42, _llint_op_to_number)
setEntryAddress(43, _llint_op_negate)
setEntryAddress(44, _llint_op_lshift)
setEntryAddress(45, _llint_op_bitnot)
setEntryAddress(46, _llint_op_get_by_id_direct)
setEntryAddress(47, _llint_op_is_cell_with_type)
setEntryAddress(48, _llint_op_in_by_id)
setEntryAddress(49, _llint_op_put_by_id_with_this)
setEntryAddress(50, _llint_op_del_by_id)
setEntryAddress(51, _llint_op_put_by_val_with_this)
setEntryAddress(52, _llint_op_del_by_val)
setEntryAddress(53, _llint_op_put_getter_by_id)
setEntryAddress(54, _llint_op_put_setter_by_id)
setEntryAddress(55, _llint_op_put_getter_setter_by_id)
setEntryAddress(56, _llint_op_put_getter_by_val)
setEntryAddress(57, _llint_op_put_setter_by_val)
setEntryAddress(58, _llint_op_define_data_property)
setEntryAddress(59, _llint_op_define_accessor_property)
setEntryAddress(60, _llint_op_jmp)
setEntryAddress(61, _llint_op_jtrue)
setEntryAddress(62, _llint_op_jfalse)
setEntryAddress(63, _llint_op_jeq_null)
setEntryAddress(64, _llint_op_jneq_null)
setEntryAddress(65, _llint_op_jeq)
setEntryAddress(66, _llint_op_jstricteq)
setEntryAddress(67, _llint_op_jneq)
setEntryAddress(68, _llint_op_jnstricteq)
setEntryAddress(69, _llint_op_jless)
setEntryAddress(70, _llint_op_jlesseq)
setEntryAddress(71, _llint_op_jgreater)
setEntryAddress(72, _llint_op_jgreatereq)
setEntryAddress(73, _llint_op_jnless)
setEntryAddress(74, _llint_op_jnlesseq)
setEntryAddress(75, _llint_op_wide16)
setEntryAddress(76, _llint_op_jngreatereq)
setEntryAddress(77, _llint_op_jbelow)
setEntryAddress(78, _llint_op_jbeloweq)
setEntryAddress(79, _llint_op_loop_hint)
setEntryAddress(80, _llint_op_switch_imm)
setEntryAddress(81, _llint_op_switch_char)
setEntryAddress(82, _llint_op_switch_string)
setEntryAddress(83, _llint_op_new_func)
setEntryAddress(84, _llint_op_new_func_exp)
setEntryAddress(85, _llint_op_new_generator_func)
setEntryAddress(86, _llint_op_new_generator_func_exp)
setEntryAddress(87, _llint_op_new_async_func)
setEntryAddress(88, _llint_op_new_async_func_exp)
setEntryAddress(89, _llint_op_new_async_generator_func)
setEntryAddress(90, _llint_op_new_async_generator_func_exp)
setEntryAddress(91, _llint_op_set_function_name)
setEntryAddress(92, _llint_op_ret)
setEntryAddress(93, _llint_op_strcat)
setEntryAddress(94, _llint_op_to_primitive)
setEntryAddress(95, _llint_op_put_to_arguments)
setEntryAddress(96, _llint_op_push_with_scope)
setEntryAddress(97, _llint_op_create_lexical_environment)
setEntryAddress(98, _llint_op_create_generator_frame_environment)
setEntryAddress(99, _llint_op_get_parent_scope)
setEntryAddress(100, _llint_op_throw)
setEntryAddress(101, _llint_op_throw_static_error)
setEntryAddress(102, _llint_op_debug)
setEntryAddress(103, _llint_op_end)
setEntryAddress(104, _llint_op_get_enumerable_length)
setEntryAddress(105, _llint_op_has_structure_property)
setEntryAddress(106, _llint_op_has_generic_property)
setEntryAddress(107, _llint_op_get_property_enumerator)
setEntryAddress(108, _llint_op_enumerator_structure_pname)
setEntryAddress(109, _llint_op_enumerator_generic_pname)
setEntryAddress(110, _llint_op_to_index_string)
setEntryAddress(111, _llint_op_unreachable)
setEntryAddress(112, _llint_op_create_rest)
setEntryAddress(113, _llint_op_get_rest_length)
setEntryAddress(114, _llint_op_yield)
setEntryAddress(115, _llint_op_check_traps)
setEntryAddress(116, _llint_op_log_shadow_chicken_prologue)
setEntryAddress(117, _llint_op_log_shadow_chicken_tail)
setEntryAddress(118, _llint_op_resolve_scope_for_hoisting_func_decl_in_eval)
setEntryAddress(119, _llint_op_nop)
setEntryAddress(120, _llint_op_super_sampler_begin)
setEntryAddress(121, _llint_op_super_sampler_end)
setEntryAddress(122, _llint_op_jngreater)
setEntryAddress(123, _llint_op_wide32)
setEntryAddress(124, _llint_op_enter)
setEntryAddress(125, _llint_op_get_scope)
setEntryAddress(126, _llint_op_create_direct_arguments)
setEntryAddress(127, _llint_op_create_scoped_arguments)
setEntryAddress(128, _llint_op_create_cloned_arguments)
setEntryAddress(129, _llint_op_argument_count)
setEntryAddress(130, _llint_op_check_tdz)
setEntryAddress(131, _llint_op_new_array_with_spread)
setEntryAddress(132, _llint_op_spread)
setEntryAddress(133, _llint_op_new_regexp)
setEntryAddress(134, _llint_op_mov)
setEntryAddress(135, _llint_op_eq)
setEntryAddress(136, _llint_op_neq)
setEntryAddress(137, _llint_op_stricteq)
setEntryAddress(138, _llint_op_nstricteq)
setEntryAddress(139, _llint_op_less)
setEntryAddress(140, _llint_op_lesseq)
setEntryAddress(141, _llint_op_greater)
setEntryAddress(142, _llint_op_greatereq)
setEntryAddress(143, _llint_op_below)
setEntryAddress(144, _llint_op_beloweq)
setEntryAddress(145, _llint_op_mod)
setEntryAddress(146, _llint_op_pow)
setEntryAddress(147, _llint_op_rshift)
setEntryAddress(148, _llint_op_urshift)
setEntryAddress(149, _llint_op_eq_null)
setEntryAddress(150, _llint_op_neq_null)
setEntryAddress(151, _llint_op_to_string)
setEntryAddress(152, _llint_op_unsigned)
setEntryAddress(153, _llint_op_is_empty)
setEntryAddress(154, _llint_op_is_undefined)
setEntryAddress(155, _llint_op_is_undefined_or_null)
setEntryAddress(156, _llint_op_is_boolean)
setEntryAddress(157, _llint_op_is_number)
setEntryAddress(158, _llint_op_is_object)
setEntryAddress(159, _llint_op_is_object_or_null)
setEntryAddress(160, _llint_op_is_function)
setEntryAddress(161, _llint_op_inc)
setEntryAddress(162, _llint_op_dec)
setEntryAddress(163, _llint_op_not)
setEntryAddress(164, _llint_op_identity_with_profile)
setEntryAddress(165, _llint_op_overrides_has_instance)
setEntryAddress(166, _llint_op_instanceof)
setEntryAddress(167, _llint_op_instanceof_custom)
setEntryAddress(168, _llint_op_typeof)
setEntryAddress(169, _handleUncaughtException)
setEntryAddress(170, _llint_eval_prologue)
setEntryAddress(171, _llint_module_program_prologue)
setEntryAddress(172, _llint_function_for_call_prologue)
setEntryAddress(173, _llint_function_for_construct_prologue)
setEntryAddress(174, _llint_function_for_call_arity_check)
setEntryAddress(175, _llint_function_for_construct_arity_check)
setEntryAddress(176, _llint_generic_return_point)
setEntryAddress(177, _llint_throw_from_slow_path_trampoline)
setEntryAddress(178, _llint_throw_during_call_trampoline)
setEntryAddress(179, _llint_native_call_trampoline)
setEntryAddress(180, _llint_native_construct_trampoline)
setEntryAddress(181, _llint_internal_function_call_trampoline)
setEntryAddress(182, _llint_internal_function_construct_trampoline)
setEntryAddress(183, _llint_program_prologue)
setEntryAddressWide16(0, _llint_op_new_array_wide16)
setEntryAddressWide16(1, _llint_op_tail_call_wide16)
setEntryAddressWide16(2, _llint_op_call_eval_wide16)
setEntryAddressWide16(3, _llint_op_call_varargs_wide16)
setEntryAddressWide16(4, _llint_op_tail_call_varargs_wide16)
setEntryAddressWide16(5, _llint_op_tail_call_forward_arguments_wide16)
setEntryAddressWide16(6, _llint_op_construct_wide16)
setEntryAddressWide16(7, _llint_op_construct_varargs_wide16)
setEntryAddressWide16(8, _llint_op_new_array_with_size_wide16)
setEntryAddressWide16(9, _llint_op_new_array_buffer_wide16)
setEntryAddressWide16(10, _llint_op_jneq_ptr_wide16)
setEntryAddressWide16(11, _llint_op_resolve_scope_wide16)
setEntryAddressWide16(12, _llint_op_get_from_scope_wide16)
setEntryAddressWide16(13, _llint_op_put_to_scope_wide16)
setEntryAddressWide16(14, _llint_op_get_from_arguments_wide16)
setEntryAddressWide16(15, _llint_op_create_this_wide16)
setEntryAddressWide16(16, _llint_op_to_this_wide16)
setEntryAddressWide16(17, _llint_op_in_by_val_wide16)
setEntryAddressWide16(18, _llint_op_get_argument_wide16)
setEntryAddressWide16(19, _llint_op_get_by_id_wide16)
setEntryAddressWide16(20, _llint_op_catch_wide16)
setEntryAddressWide16(21, _llint_op_get_by_id_with_this_wide16)
setEntryAddressWide16(22, _llint_op_get_by_val_with_this_wide16)
setEntryAddressWide16(23, _llint_op_call_wide16)
setEntryAddressWide16(24, _llint_op_try_get_by_id_wide16)
setEntryAddressWide16(25, _llint_op_profile_type_wide16)
setEntryAddressWide16(26, _llint_op_profile_control_flow_wide16)
setEntryAddressWide16(27, _llint_op_put_by_id_wide16)
setEntryAddressWide16(28, _llint_op_has_indexed_property_wide16)
setEntryAddressWide16(29, _llint_op_new_object_wide16)
setEntryAddressWide16(30, _llint_op_add_wide16)
setEntryAddressWide16(31, _llint_op_get_direct_pname_wide16)
setEntryAddressWide16(32, _llint_op_get_by_val_wide16)
setEntryAddressWide16(33, _llint_op_put_by_val_wide16)
setEntryAddressWide16(34, _llint_op_mul_wide16)
setEntryAddressWide16(35, _llint_op_put_by_val_direct_wide16)
setEntryAddressWide16(36, _llint_op_div_wide16)
setEntryAddressWide16(37, _llint_op_sub_wide16)
setEntryAddressWide16(38, _llint_op_bitand_wide16)
setEntryAddressWide16(39, _llint_op_bitor_wide16)
setEntryAddressWide16(40, _llint_op_bitxor_wide16)
setEntryAddressWide16(41, _llint_op_to_object_wide16)
setEntryAddressWide16(42, _llint_op_to_number_wide16)
setEntryAddressWide16(43, _llint_op_negate_wide16)
setEntryAddressWide16(44, _llint_op_lshift_wide16)
setEntryAddressWide16(45, _llint_op_bitnot_wide16)
setEntryAddressWide16(46, _llint_op_get_by_id_direct_wide16)
setEntryAddressWide16(47, _llint_op_is_cell_with_type_wide16)
setEntryAddressWide16(48, _llint_op_in_by_id_wide16)
setEntryAddressWide16(49, _llint_op_put_by_id_with_this_wide16)
setEntryAddressWide16(50, _llint_op_del_by_id_wide16)
setEntryAddressWide16(51, _llint_op_put_by_val_with_this_wide16)
setEntryAddressWide16(52, _llint_op_del_by_val_wide16)
setEntryAddressWide16(53, _llint_op_put_getter_by_id_wide16)
setEntryAddressWide16(54, _llint_op_put_setter_by_id_wide16)
setEntryAddressWide16(55, _llint_op_put_getter_setter_by_id_wide16)
setEntryAddressWide16(56, _llint_op_put_getter_by_val_wide16)
setEntryAddressWide16(57, _llint_op_put_setter_by_val_wide16)
setEntryAddressWide16(58, _llint_op_define_data_property_wide16)
setEntryAddressWide16(59, _llint_op_define_accessor_property_wide16)
setEntryAddressWide16(60, _llint_op_jmp_wide16)
setEntryAddressWide16(61, _llint_op_jtrue_wide16)
setEntryAddressWide16(62, _llint_op_jfalse_wide16)
setEntryAddressWide16(63, _llint_op_jeq_null_wide16)
setEntryAddressWide16(64, _llint_op_jneq_null_wide16)
setEntryAddressWide16(65, _llint_op_jeq_wide16)
setEntryAddressWide16(66, _llint_op_jstricteq_wide16)
setEntryAddressWide16(67, _llint_op_jneq_wide16)
setEntryAddressWide16(68, _llint_op_jnstricteq_wide16)
setEntryAddressWide16(69, _llint_op_jless_wide16)
setEntryAddressWide16(70, _llint_op_jlesseq_wide16)
setEntryAddressWide16(71, _llint_op_jgreater_wide16)
setEntryAddressWide16(72, _llint_op_jgreatereq_wide16)
setEntryAddressWide16(73, _llint_op_jnless_wide16)
setEntryAddressWide16(74, _llint_op_jnlesseq_wide16)
setEntryAddressWide16(75, _llint_op_wide16_wide16)
setEntryAddressWide16(76, _llint_op_jngreatereq_wide16)
setEntryAddressWide16(77, _llint_op_jbelow_wide16)
setEntryAddressWide16(78, _llint_op_jbeloweq_wide16)
setEntryAddressWide16(79, _llint_op_loop_hint_wide16)
setEntryAddressWide16(80, _llint_op_switch_imm_wide16)
setEntryAddressWide16(81, _llint_op_switch_char_wide16)
setEntryAddressWide16(82, _llint_op_switch_string_wide16)
setEntryAddressWide16(83, _llint_op_new_func_wide16)
setEntryAddressWide16(84, _llint_op_new_func_exp_wide16)
setEntryAddressWide16(85, _llint_op_new_generator_func_wide16)
setEntryAddressWide16(86, _llint_op_new_generator_func_exp_wide16)
setEntryAddressWide16(87, _llint_op_new_async_func_wide16)
setEntryAddressWide16(88, _llint_op_new_async_func_exp_wide16)
setEntryAddressWide16(89, _llint_op_new_async_generator_func_wide16)
setEntryAddressWide16(90, _llint_op_new_async_generator_func_exp_wide16)
setEntryAddressWide16(91, _llint_op_set_function_name_wide16)
setEntryAddressWide16(92, _llint_op_ret_wide16)
setEntryAddressWide16(93, _llint_op_strcat_wide16)
setEntryAddressWide16(94, _llint_op_to_primitive_wide16)
setEntryAddressWide16(95, _llint_op_put_to_arguments_wide16)
setEntryAddressWide16(96, _llint_op_push_with_scope_wide16)
setEntryAddressWide16(97, _llint_op_create_lexical_environment_wide16)
setEntryAddressWide16(98, _llint_op_create_generator_frame_environment_wide16)
setEntryAddressWide16(99, _llint_op_get_parent_scope_wide16)
setEntryAddressWide16(100, _llint_op_throw_wide16)
setEntryAddressWide16(101, _llint_op_throw_static_error_wide16)
setEntryAddressWide16(102, _llint_op_debug_wide16)
setEntryAddressWide16(103, _llint_op_end_wide16)
setEntryAddressWide16(104, _llint_op_get_enumerable_length_wide16)
setEntryAddressWide16(105, _llint_op_has_structure_property_wide16)
setEntryAddressWide16(106, _llint_op_has_generic_property_wide16)
setEntryAddressWide16(107, _llint_op_get_property_enumerator_wide16)
setEntryAddressWide16(108, _llint_op_enumerator_structure_pname_wide16)
setEntryAddressWide16(109, _llint_op_enumerator_generic_pname_wide16)
setEntryAddressWide16(110, _llint_op_to_index_string_wide16)
setEntryAddressWide16(111, _llint_op_unreachable_wide16)
setEntryAddressWide16(112, _llint_op_create_rest_wide16)
setEntryAddressWide16(113, _llint_op_get_rest_length_wide16)
setEntryAddressWide16(114, _llint_op_yield_wide16)
setEntryAddressWide16(115, _llint_op_check_traps_wide16)
setEntryAddressWide16(116, _llint_op_log_shadow_chicken_prologue_wide16)
setEntryAddressWide16(117, _llint_op_log_shadow_chicken_tail_wide16)
setEntryAddressWide16(118, _llint_op_resolve_scope_for_hoisting_func_decl_in_eval_wide16)
setEntryAddressWide16(119, _llint_op_nop_wide16)
setEntryAddressWide16(120, _llint_op_super_sampler_begin_wide16)
setEntryAddressWide16(121, _llint_op_super_sampler_end_wide16)
setEntryAddressWide16(122, _llint_op_jngreater_wide16)
setEntryAddressWide16(123, _llint_op_wide32_wide16)
setEntryAddressWide16(124, _llint_op_enter_wide16)
setEntryAddressWide16(125, _llint_op_get_scope_wide16)
setEntryAddressWide16(126, _llint_op_create_direct_arguments_wide16)
setEntryAddressWide16(127, _llint_op_create_scoped_arguments_wide16)
setEntryAddressWide16(128, _llint_op_create_cloned_arguments_wide16)
setEntryAddressWide16(129, _llint_op_argument_count_wide16)
setEntryAddressWide16(130, _llint_op_check_tdz_wide16)
setEntryAddressWide16(131, _llint_op_new_array_with_spread_wide16)
setEntryAddressWide16(132, _llint_op_spread_wide16)
setEntryAddressWide16(133, _llint_op_new_regexp_wide16)
setEntryAddressWide16(134, _llint_op_mov_wide16)
setEntryAddressWide16(135, _llint_op_eq_wide16)
setEntryAddressWide16(136, _llint_op_neq_wide16)
setEntryAddressWide16(137, _llint_op_stricteq_wide16)
setEntryAddressWide16(138, _llint_op_nstricteq_wide16)
setEntryAddressWide16(139, _llint_op_less_wide16)
setEntryAddressWide16(140, _llint_op_lesseq_wide16)
setEntryAddressWide16(141, _llint_op_greater_wide16)
setEntryAddressWide16(142, _llint_op_greatereq_wide16)
setEntryAddressWide16(143, _llint_op_below_wide16)
setEntryAddressWide16(144, _llint_op_beloweq_wide16)
setEntryAddressWide16(145, _llint_op_mod_wide16)
setEntryAddressWide16(146, _llint_op_pow_wide16)
setEntryAddressWide16(147, _llint_op_rshift_wide16)
setEntryAddressWide16(148, _llint_op_urshift_wide16)
setEntryAddressWide16(149, _llint_op_eq_null_wide16)
setEntryAddressWide16(150, _llint_op_neq_null_wide16)
setEntryAddressWide16(151, _llint_op_to_string_wide16)
setEntryAddressWide16(152, _llint_op_unsigned_wide16)
setEntryAddressWide16(153, _llint_op_is_empty_wide16)
setEntryAddressWide16(154, _llint_op_is_undefined_wide16)
setEntryAddressWide16(155, _llint_op_is_undefined_or_null_wide16)
setEntryAddressWide16(156, _llint_op_is_boolean_wide16)
setEntryAddressWide16(157, _llint_op_is_number_wide16)
setEntryAddressWide16(158, _llint_op_is_object_wide16)
setEntryAddressWide16(159, _llint_op_is_object_or_null_wide16)
setEntryAddressWide16(160, _llint_op_is_function_wide16)
setEntryAddressWide16(161, _llint_op_inc_wide16)
setEntryAddressWide16(162, _llint_op_dec_wide16)
setEntryAddressWide16(163, _llint_op_not_wide16)
setEntryAddressWide16(164, _llint_op_identity_with_profile_wide16)
setEntryAddressWide16(165, _llint_op_overrides_has_instance_wide16)
setEntryAddressWide16(166, _llint_op_instanceof_wide16)
setEntryAddressWide16(167, _llint_op_instanceof_custom_wide16)
setEntryAddressWide16(168, _llint_op_typeof_wide16)
setEntryAddressWide16(169, _handleUncaughtException_wide16)
setEntryAddressWide16(170, _llint_eval_prologue_wide16)
setEntryAddressWide16(171, _llint_module_program_prologue_wide16)
setEntryAddressWide16(172, _llint_function_for_call_prologue_wide16)
setEntryAddressWide16(173, _llint_function_for_construct_prologue_wide16)
setEntryAddressWide16(174, _llint_function_for_call_arity_check_wide16)
setEntryAddressWide16(175, _llint_function_for_construct_arity_check_wide16)
setEntryAddressWide16(176, _llint_generic_return_point_wide16)
setEntryAddressWide16(177, _llint_throw_from_slow_path_trampoline_wide16)
setEntryAddressWide16(178, _llint_throw_during_call_trampoline_wide16)
setEntryAddressWide16(179, _llint_native_call_trampoline_wide16)
setEntryAddressWide16(180, _llint_native_construct_trampoline_wide16)
setEntryAddressWide16(181, _llint_internal_function_call_trampoline_wide16)
setEntryAddressWide16(182, _llint_internal_function_construct_trampoline_wide16)
setEntryAddressWide16(183, _llint_program_prologue_wide16)
setEntryAddressWide32(0, _llint_op_new_array_wide32)
setEntryAddressWide32(1, _llint_op_tail_call_wide32)
setEntryAddressWide32(2, _llint_op_call_eval_wide32)
setEntryAddressWide32(3, _llint_op_call_varargs_wide32)
setEntryAddressWide32(4, _llint_op_tail_call_varargs_wide32)
setEntryAddressWide32(5, _llint_op_tail_call_forward_arguments_wide32)
setEntryAddressWide32(6, _llint_op_construct_wide32)
setEntryAddressWide32(7, _llint_op_construct_varargs_wide32)
setEntryAddressWide32(8, _llint_op_new_array_with_size_wide32)
setEntryAddressWide32(9, _llint_op_new_array_buffer_wide32)
setEntryAddressWide32(10, _llint_op_jneq_ptr_wide32)
setEntryAddressWide32(11, _llint_op_resolve_scope_wide32)
setEntryAddressWide32(12, _llint_op_get_from_scope_wide32)
setEntryAddressWide32(13, _llint_op_put_to_scope_wide32)
setEntryAddressWide32(14, _llint_op_get_from_arguments_wide32)
setEntryAddressWide32(15, _llint_op_create_this_wide32)
setEntryAddressWide32(16, _llint_op_to_this_wide32)
setEntryAddressWide32(17, _llint_op_in_by_val_wide32)
setEntryAddressWide32(18, _llint_op_get_argument_wide32)
setEntryAddressWide32(19, _llint_op_get_by_id_wide32)
setEntryAddressWide32(20, _llint_op_catch_wide32)
setEntryAddressWide32(21, _llint_op_get_by_id_with_this_wide32)
setEntryAddressWide32(22, _llint_op_get_by_val_with_this_wide32)
setEntryAddressWide32(23, _llint_op_call_wide32)
setEntryAddressWide32(24, _llint_op_try_get_by_id_wide32)
setEntryAddressWide32(25, _llint_op_profile_type_wide32)
setEntryAddressWide32(26, _llint_op_profile_control_flow_wide32)
setEntryAddressWide32(27, _llint_op_put_by_id_wide32)
setEntryAddressWide32(28, _llint_op_has_indexed_property_wide32)
setEntryAddressWide32(29, _llint_op_new_object_wide32)
setEntryAddressWide32(30, _llint_op_add_wide32)
setEntryAddressWide32(31, _llint_op_get_direct_pname_wide32)
setEntryAddressWide32(32, _llint_op_get_by_val_wide32)
setEntryAddressWide32(33, _llint_op_put_by_val_wide32)
setEntryAddressWide32(34, _llint_op_mul_wide32)
setEntryAddressWide32(35, _llint_op_put_by_val_direct_wide32)
setEntryAddressWide32(36, _llint_op_div_wide32)
setEntryAddressWide32(37, _llint_op_sub_wide32)
setEntryAddressWide32(38, _llint_op_bitand_wide32)
setEntryAddressWide32(39, _llint_op_bitor_wide32)
setEntryAddressWide32(40, _llint_op_bitxor_wide32)
setEntryAddressWide32(41, _llint_op_to_object_wide32)
setEntryAddressWide32(42, _llint_op_to_number_wide32)
setEntryAddressWide32(43, _llint_op_negate_wide32)
setEntryAddressWide32(44, _llint_op_lshift_wide32)
setEntryAddressWide32(45, _llint_op_bitnot_wide32)
setEntryAddressWide32(46, _llint_op_get_by_id_direct_wide32)
setEntryAddressWide32(47, _llint_op_is_cell_with_type_wide32)
setEntryAddressWide32(48, _llint_op_in_by_id_wide32)
setEntryAddressWide32(49, _llint_op_put_by_id_with_this_wide32)
setEntryAddressWide32(50, _llint_op_del_by_id_wide32)
setEntryAddressWide32(51, _llint_op_put_by_val_with_this_wide32)
setEntryAddressWide32(52, _llint_op_del_by_val_wide32)
setEntryAddressWide32(53, _llint_op_put_getter_by_id_wide32)
setEntryAddressWide32(54, _llint_op_put_setter_by_id_wide32)
setEntryAddressWide32(55, _llint_op_put_getter_setter_by_id_wide32)
setEntryAddressWide32(56, _llint_op_put_getter_by_val_wide32)
setEntryAddressWide32(57, _llint_op_put_setter_by_val_wide32)
setEntryAddressWide32(58, _llint_op_define_data_property_wide32)
setEntryAddressWide32(59, _llint_op_define_accessor_property_wide32)
setEntryAddressWide32(60, _llint_op_jmp_wide32)
setEntryAddressWide32(61, _llint_op_jtrue_wide32)
setEntryAddressWide32(62, _llint_op_jfalse_wide32)
setEntryAddressWide32(63, _llint_op_jeq_null_wide32)
setEntryAddressWide32(64, _llint_op_jneq_null_wide32)
setEntryAddressWide32(65, _llint_op_jeq_wide32)
setEntryAddressWide32(66, _llint_op_jstricteq_wide32)
setEntryAddressWide32(67, _llint_op_jneq_wide32)
setEntryAddressWide32(68, _llint_op_jnstricteq_wide32)
setEntryAddressWide32(69, _llint_op_jless_wide32)
setEntryAddressWide32(70, _llint_op_jlesseq_wide32)
setEntryAddressWide32(71, _llint_op_jgreater_wide32)
setEntryAddressWide32(72, _llint_op_jgreatereq_wide32)
setEntryAddressWide32(73, _llint_op_jnless_wide32)
setEntryAddressWide32(74, _llint_op_jnlesseq_wide32)
setEntryAddressWide32(75, _llint_op_wide16_wide32)
setEntryAddressWide32(76, _llint_op_jngreatereq_wide32)
setEntryAddressWide32(77, _llint_op_jbelow_wide32)
setEntryAddressWide32(78, _llint_op_jbeloweq_wide32)
setEntryAddressWide32(79, _llint_op_loop_hint_wide32)
setEntryAddressWide32(80, _llint_op_switch_imm_wide32)
setEntryAddressWide32(81, _llint_op_switch_char_wide32)
setEntryAddressWide32(82, _llint_op_switch_string_wide32)
setEntryAddressWide32(83, _llint_op_new_func_wide32)
setEntryAddressWide32(84, _llint_op_new_func_exp_wide32)
setEntryAddressWide32(85, _llint_op_new_generator_func_wide32)
setEntryAddressWide32(86, _llint_op_new_generator_func_exp_wide32)
setEntryAddressWide32(87, _llint_op_new_async_func_wide32)
setEntryAddressWide32(88, _llint_op_new_async_func_exp_wide32)
setEntryAddressWide32(89, _llint_op_new_async_generator_func_wide32)
setEntryAddressWide32(90, _llint_op_new_async_generator_func_exp_wide32)
setEntryAddressWide32(91, _llint_op_set_function_name_wide32)
setEntryAddressWide32(92, _llint_op_ret_wide32)
setEntryAddressWide32(93, _llint_op_strcat_wide32)
setEntryAddressWide32(94, _llint_op_to_primitive_wide32)
setEntryAddressWide32(95, _llint_op_put_to_arguments_wide32)
setEntryAddressWide32(96, _llint_op_push_with_scope_wide32)
setEntryAddressWide32(97, _llint_op_create_lexical_environment_wide32)
setEntryAddressWide32(98, _llint_op_create_generator_frame_environment_wide32)
setEntryAddressWide32(99, _llint_op_get_parent_scope_wide32)
setEntryAddressWide32(100, _llint_op_throw_wide32)
setEntryAddressWide32(101, _llint_op_throw_static_error_wide32)
setEntryAddressWide32(102, _llint_op_debug_wide32)
setEntryAddressWide32(103, _llint_op_end_wide32)
setEntryAddressWide32(104, _llint_op_get_enumerable_length_wide32)
setEntryAddressWide32(105, _llint_op_has_structure_property_wide32)
setEntryAddressWide32(106, _llint_op_has_generic_property_wide32)
setEntryAddressWide32(107, _llint_op_get_property_enumerator_wide32)
setEntryAddressWide32(108, _llint_op_enumerator_structure_pname_wide32)
setEntryAddressWide32(109, _llint_op_enumerator_generic_pname_wide32)
setEntryAddressWide32(110, _llint_op_to_index_string_wide32)
setEntryAddressWide32(111, _llint_op_unreachable_wide32)
setEntryAddressWide32(112, _llint_op_create_rest_wide32)
setEntryAddressWide32(113, _llint_op_get_rest_length_wide32)
setEntryAddressWide32(114, _llint_op_yield_wide32)
setEntryAddressWide32(115, _llint_op_check_traps_wide32)
setEntryAddressWide32(116, _llint_op_log_shadow_chicken_prologue_wide32)
setEntryAddressWide32(117, _llint_op_log_shadow_chicken_tail_wide32)
setEntryAddressWide32(118, _llint_op_resolve_scope_for_hoisting_func_decl_in_eval_wide32)
setEntryAddressWide32(119, _llint_op_nop_wide32)
setEntryAddressWide32(120, _llint_op_super_sampler_begin_wide32)
setEntryAddressWide32(121, _llint_op_super_sampler_end_wide32)
setEntryAddressWide32(122, _llint_op_jngreater_wide32)
setEntryAddressWide32(123, _llint_op_wide32_wide32)
setEntryAddressWide32(124, _llint_op_enter_wide32)
setEntryAddressWide32(125, _llint_op_get_scope_wide32)
setEntryAddressWide32(126, _llint_op_create_direct_arguments_wide32)
setEntryAddressWide32(127, _llint_op_create_scoped_arguments_wide32)
setEntryAddressWide32(128, _llint_op_create_cloned_arguments_wide32)
setEntryAddressWide32(129, _llint_op_argument_count_wide32)
setEntryAddressWide32(130, _llint_op_check_tdz_wide32)
setEntryAddressWide32(131, _llint_op_new_array_with_spread_wide32)
setEntryAddressWide32(132, _llint_op_spread_wide32)
setEntryAddressWide32(133, _llint_op_new_regexp_wide32)
setEntryAddressWide32(134, _llint_op_mov_wide32)
setEntryAddressWide32(135, _llint_op_eq_wide32)
setEntryAddressWide32(136, _llint_op_neq_wide32)
setEntryAddressWide32(137, _llint_op_stricteq_wide32)
setEntryAddressWide32(138, _llint_op_nstricteq_wide32)
setEntryAddressWide32(139, _llint_op_less_wide32)
setEntryAddressWide32(140, _llint_op_lesseq_wide32)
setEntryAddressWide32(141, _llint_op_greater_wide32)
setEntryAddressWide32(142, _llint_op_greatereq_wide32)
setEntryAddressWide32(143, _llint_op_below_wide32)
setEntryAddressWide32(144, _llint_op_beloweq_wide32)
setEntryAddressWide32(145, _llint_op_mod_wide32)
setEntryAddressWide32(146, _llint_op_pow_wide32)
setEntryAddressWide32(147, _llint_op_rshift_wide32)
setEntryAddressWide32(148, _llint_op_urshift_wide32)
setEntryAddressWide32(149, _llint_op_eq_null_wide32)
setEntryAddressWide32(150, _llint_op_neq_null_wide32)
setEntryAddressWide32(151, _llint_op_to_string_wide32)
setEntryAddressWide32(152, _llint_op_unsigned_wide32)
setEntryAddressWide32(153, _llint_op_is_empty_wide32)
setEntryAddressWide32(154, _llint_op_is_undefined_wide32)
setEntryAddressWide32(155, _llint_op_is_undefined_or_null_wide32)
setEntryAddressWide32(156, _llint_op_is_boolean_wide32)
setEntryAddressWide32(157, _llint_op_is_number_wide32)
setEntryAddressWide32(158, _llint_op_is_object_wide32)
setEntryAddressWide32(159, _llint_op_is_object_or_null_wide32)
setEntryAddressWide32(160, _llint_op_is_function_wide32)
setEntryAddressWide32(161, _llint_op_inc_wide32)
setEntryAddressWide32(162, _llint_op_dec_wide32)
setEntryAddressWide32(163, _llint_op_not_wide32)
setEntryAddressWide32(164, _llint_op_identity_with_profile_wide32)
setEntryAddressWide32(165, _llint_op_overrides_has_instance_wide32)
setEntryAddressWide32(166, _llint_op_instanceof_wide32)
setEntryAddressWide32(167, _llint_op_instanceof_custom_wide32)
setEntryAddressWide32(168, _llint_op_typeof_wide32)
setEntryAddressWide32(169, _handleUncaughtException_wide32)
setEntryAddressWide32(170, _llint_eval_prologue_wide32)
setEntryAddressWide32(171, _llint_module_program_prologue_wide32)
setEntryAddressWide32(172, _llint_function_for_call_prologue_wide32)
setEntryAddressWide32(173, _llint_function_for_construct_prologue_wide32)
setEntryAddressWide32(174, _llint_function_for_call_arity_check_wide32)
setEntryAddressWide32(175, _llint_function_for_construct_arity_check_wide32)
setEntryAddressWide32(176, _llint_generic_return_point_wide32)
setEntryAddressWide32(177, _llint_throw_from_slow_path_trampoline_wide32)
setEntryAddressWide32(178, _llint_throw_during_call_trampoline_wide32)
setEntryAddressWide32(179, _llint_native_call_trampoline_wide32)
setEntryAddressWide32(180, _llint_native_construct_trampoline_wide32)
setEntryAddressWide32(181, _llint_internal_function_call_trampoline_wide32)
setEntryAddressWide32(182, _llint_internal_function_construct_trampoline_wide32)
setEntryAddressWide32(183, _llint_program_prologue_wide32)

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,781 @@
// DO NO EDIT! - This file was generated by JavaScriptCore/Scripts/generateIntlCanonicalizeLanguage.py
// language-subtag-registry file date: 2018-04-23
#pragma once
#if ENABLE(INTL)
namespace JSC {
static String intlPreferredLanguageTag(const String& tag)
{
// 78 possible replacements
if (tag == "aam")
return "aas"_s;
if (tag == "adp")
return "dz"_s;
if (tag == "aue")
return "ktz"_s;
if (tag == "ayx")
return "nun"_s;
if (tag == "bgm")
return "bcg"_s;
if (tag == "bjd")
return "drl"_s;
if (tag == "ccq")
return "rki"_s;
if (tag == "cjr")
return "mom"_s;
if (tag == "cka")
return "cmr"_s;
if (tag == "cmk")
return "xch"_s;
if (tag == "coy")
return "pij"_s;
if (tag == "cqu")
return "quh"_s;
if (tag == "drh")
return "khk"_s;
if (tag == "drw")
return "prs"_s;
if (tag == "gav")
return "dev"_s;
if (tag == "gfx")
return "vaj"_s;
if (tag == "ggn")
return "gvr"_s;
if (tag == "gti")
return "nyc"_s;
if (tag == "guv")
return "duz"_s;
if (tag == "hrr")
return "jal"_s;
if (tag == "ibi")
return "opa"_s;
if (tag == "ilw")
return "gal"_s;
if (tag == "in")
return "id"_s;
if (tag == "iw")
return "he"_s;
if (tag == "jeg")
return "oyb"_s;
if (tag == "ji")
return "yi"_s;
if (tag == "jw")
return "jv"_s;
if (tag == "kgc")
return "tdf"_s;
if (tag == "kgh")
return "kml"_s;
if (tag == "koj")
return "kwv"_s;
if (tag == "krm")
return "bmf"_s;
if (tag == "ktr")
return "dtp"_s;
if (tag == "kvs")
return "gdj"_s;
if (tag == "kwq")
return "yam"_s;
if (tag == "kxe")
return "tvd"_s;
if (tag == "kzj")
return "dtp"_s;
if (tag == "kzt")
return "dtp"_s;
if (tag == "lii")
return "raq"_s;
if (tag == "lmm")
return "rmx"_s;
if (tag == "meg")
return "cir"_s;
if (tag == "mo")
return "ro"_s;
if (tag == "mst")
return "mry"_s;
if (tag == "mwj")
return "vaj"_s;
if (tag == "myt")
return "mry"_s;
if (tag == "nad")
return "xny"_s;
if (tag == "ncp")
return "kdz"_s;
if (tag == "nnx")
return "ngv"_s;
if (tag == "nts")
return "pij"_s;
if (tag == "oun")
return "vaj"_s;
if (tag == "pcr")
return "adx"_s;
if (tag == "pmc")
return "huw"_s;
if (tag == "pmu")
return "phr"_s;
if (tag == "ppa")
return "bfy"_s;
if (tag == "ppr")
return "lcq"_s;
if (tag == "pry")
return "prt"_s;
if (tag == "puz")
return "pub"_s;
if (tag == "sca")
return "hle"_s;
if (tag == "skk")
return "oyb"_s;
if (tag == "tdu")
return "dtp"_s;
if (tag == "thc")
return "tpo"_s;
if (tag == "thx")
return "oyb"_s;
if (tag == "tie")
return "ras"_s;
if (tag == "tkk")
return "twm"_s;
if (tag == "tlw")
return "weo"_s;
if (tag == "tmp")
return "tyj"_s;
if (tag == "tne")
return "kak"_s;
if (tag == "tnf")
return "prs"_s;
if (tag == "tsf")
return "taj"_s;
if (tag == "uok")
return "ema"_s;
if (tag == "xba")
return "cax"_s;
if (tag == "xia")
return "acn"_s;
if (tag == "xkh")
return "waw"_s;
if (tag == "xsj")
return "suj"_s;
if (tag == "ybd")
return "rki"_s;
if (tag == "yma")
return "lrr"_s;
if (tag == "ymt")
return "mtm"_s;
if (tag == "yos")
return "zom"_s;
if (tag == "yuu")
return "yug"_s;
return String();
}
static String intlPreferredExtlangTag(const String& tag)
{
// 235 possible replacements
if (tag == "aao")
return "ar"_s;
if (tag == "abh")
return "ar"_s;
if (tag == "abv")
return "ar"_s;
if (tag == "acm")
return "ar"_s;
if (tag == "acq")
return "ar"_s;
if (tag == "acw")
return "ar"_s;
if (tag == "acx")
return "ar"_s;
if (tag == "acy")
return "ar"_s;
if (tag == "adf")
return "ar"_s;
if (tag == "ads")
return "sgn"_s;
if (tag == "aeb")
return "ar"_s;
if (tag == "aec")
return "ar"_s;
if (tag == "aed")
return "sgn"_s;
if (tag == "aen")
return "sgn"_s;
if (tag == "afb")
return "ar"_s;
if (tag == "afg")
return "sgn"_s;
if (tag == "ajp")
return "ar"_s;
if (tag == "apc")
return "ar"_s;
if (tag == "apd")
return "ar"_s;
if (tag == "arb")
return "ar"_s;
if (tag == "arq")
return "ar"_s;
if (tag == "ars")
return "ar"_s;
if (tag == "ary")
return "ar"_s;
if (tag == "arz")
return "ar"_s;
if (tag == "ase")
return "sgn"_s;
if (tag == "asf")
return "sgn"_s;
if (tag == "asp")
return "sgn"_s;
if (tag == "asq")
return "sgn"_s;
if (tag == "asw")
return "sgn"_s;
if (tag == "auz")
return "ar"_s;
if (tag == "avl")
return "ar"_s;
if (tag == "ayh")
return "ar"_s;
if (tag == "ayl")
return "ar"_s;
if (tag == "ayn")
return "ar"_s;
if (tag == "ayp")
return "ar"_s;
if (tag == "bbz")
return "ar"_s;
if (tag == "bfi")
return "sgn"_s;
if (tag == "bfk")
return "sgn"_s;
if (tag == "bjn")
return "ms"_s;
if (tag == "bog")
return "sgn"_s;
if (tag == "bqn")
return "sgn"_s;
if (tag == "bqy")
return "sgn"_s;
if (tag == "btj")
return "ms"_s;
if (tag == "bve")
return "ms"_s;
if (tag == "bvl")
return "sgn"_s;
if (tag == "bvu")
return "ms"_s;
if (tag == "bzs")
return "sgn"_s;
if (tag == "cdo")
return "zh"_s;
if (tag == "cds")
return "sgn"_s;
if (tag == "cjy")
return "zh"_s;
if (tag == "cmn")
return "zh"_s;
if (tag == "coa")
return "ms"_s;
if (tag == "cpx")
return "zh"_s;
if (tag == "csc")
return "sgn"_s;
if (tag == "csd")
return "sgn"_s;
if (tag == "cse")
return "sgn"_s;
if (tag == "csf")
return "sgn"_s;
if (tag == "csg")
return "sgn"_s;
if (tag == "csl")
return "sgn"_s;
if (tag == "csn")
return "sgn"_s;
if (tag == "csq")
return "sgn"_s;
if (tag == "csr")
return "sgn"_s;
if (tag == "czh")
return "zh"_s;
if (tag == "czo")
return "zh"_s;
if (tag == "doq")
return "sgn"_s;
if (tag == "dse")
return "sgn"_s;
if (tag == "dsl")
return "sgn"_s;
if (tag == "dup")
return "ms"_s;
if (tag == "ecs")
return "sgn"_s;
if (tag == "esl")
return "sgn"_s;
if (tag == "esn")
return "sgn"_s;
if (tag == "eso")
return "sgn"_s;
if (tag == "eth")
return "sgn"_s;
if (tag == "fcs")
return "sgn"_s;
if (tag == "fse")
return "sgn"_s;
if (tag == "fsl")
return "sgn"_s;
if (tag == "fss")
return "sgn"_s;
if (tag == "gan")
return "zh"_s;
if (tag == "gds")
return "sgn"_s;
if (tag == "gom")
return "kok"_s;
if (tag == "gse")
return "sgn"_s;
if (tag == "gsg")
return "sgn"_s;
if (tag == "gsm")
return "sgn"_s;
if (tag == "gss")
return "sgn"_s;
if (tag == "gus")
return "sgn"_s;
if (tag == "hab")
return "sgn"_s;
if (tag == "haf")
return "sgn"_s;
if (tag == "hak")
return "zh"_s;
if (tag == "hds")
return "sgn"_s;
if (tag == "hji")
return "ms"_s;
if (tag == "hks")
return "sgn"_s;
if (tag == "hos")
return "sgn"_s;
if (tag == "hps")
return "sgn"_s;
if (tag == "hsh")
return "sgn"_s;
if (tag == "hsl")
return "sgn"_s;
if (tag == "hsn")
return "zh"_s;
if (tag == "icl")
return "sgn"_s;
if (tag == "iks")
return "sgn"_s;
if (tag == "ils")
return "sgn"_s;
if (tag == "inl")
return "sgn"_s;
if (tag == "ins")
return "sgn"_s;
if (tag == "ise")
return "sgn"_s;
if (tag == "isg")
return "sgn"_s;
if (tag == "isr")
return "sgn"_s;
if (tag == "jak")
return "ms"_s;
if (tag == "jax")
return "ms"_s;
if (tag == "jcs")
return "sgn"_s;
if (tag == "jhs")
return "sgn"_s;
if (tag == "jls")
return "sgn"_s;
if (tag == "jos")
return "sgn"_s;
if (tag == "jsl")
return "sgn"_s;
if (tag == "jus")
return "sgn"_s;
if (tag == "kgi")
return "sgn"_s;
if (tag == "knn")
return "kok"_s;
if (tag == "kvb")
return "ms"_s;
if (tag == "kvk")
return "sgn"_s;
if (tag == "kvr")
return "ms"_s;
if (tag == "kxd")
return "ms"_s;
if (tag == "lbs")
return "sgn"_s;
if (tag == "lce")
return "ms"_s;
if (tag == "lcf")
return "ms"_s;
if (tag == "liw")
return "ms"_s;
if (tag == "lls")
return "sgn"_s;
if (tag == "lsg")
return "sgn"_s;
if (tag == "lsl")
return "sgn"_s;
if (tag == "lso")
return "sgn"_s;
if (tag == "lsp")
return "sgn"_s;
if (tag == "lst")
return "sgn"_s;
if (tag == "lsy")
return "sgn"_s;
if (tag == "ltg")
return "lv"_s;
if (tag == "lvs")
return "lv"_s;
if (tag == "lws")
return "sgn"_s;
if (tag == "lzh")
return "zh"_s;
if (tag == "max")
return "ms"_s;
if (tag == "mdl")
return "sgn"_s;
if (tag == "meo")
return "ms"_s;
if (tag == "mfa")
return "ms"_s;
if (tag == "mfb")
return "ms"_s;
if (tag == "mfs")
return "sgn"_s;
if (tag == "min")
return "ms"_s;
if (tag == "mnp")
return "zh"_s;
if (tag == "mqg")
return "ms"_s;
if (tag == "mre")
return "sgn"_s;
if (tag == "msd")
return "sgn"_s;
if (tag == "msi")
return "ms"_s;
if (tag == "msr")
return "sgn"_s;
if (tag == "mui")
return "ms"_s;
if (tag == "mzc")
return "sgn"_s;
if (tag == "mzg")
return "sgn"_s;
if (tag == "mzy")
return "sgn"_s;
if (tag == "nan")
return "zh"_s;
if (tag == "nbs")
return "sgn"_s;
if (tag == "ncs")
return "sgn"_s;
if (tag == "nsi")
return "sgn"_s;
if (tag == "nsl")
return "sgn"_s;
if (tag == "nsp")
return "sgn"_s;
if (tag == "nsr")
return "sgn"_s;
if (tag == "nzs")
return "sgn"_s;
if (tag == "okl")
return "sgn"_s;
if (tag == "orn")
return "ms"_s;
if (tag == "ors")
return "ms"_s;
if (tag == "pel")
return "ms"_s;
if (tag == "pga")
return "ar"_s;
if (tag == "pgz")
return "sgn"_s;
if (tag == "pks")
return "sgn"_s;
if (tag == "prl")
return "sgn"_s;
if (tag == "prz")
return "sgn"_s;
if (tag == "psc")
return "sgn"_s;
if (tag == "psd")
return "sgn"_s;
if (tag == "pse")
return "ms"_s;
if (tag == "psg")
return "sgn"_s;
if (tag == "psl")
return "sgn"_s;
if (tag == "pso")
return "sgn"_s;
if (tag == "psp")
return "sgn"_s;
if (tag == "psr")
return "sgn"_s;
if (tag == "pys")
return "sgn"_s;
if (tag == "rms")
return "sgn"_s;
if (tag == "rsi")
return "sgn"_s;
if (tag == "rsl")
return "sgn"_s;
if (tag == "rsm")
return "sgn"_s;
if (tag == "sdl")
return "sgn"_s;
if (tag == "sfb")
return "sgn"_s;
if (tag == "sfs")
return "sgn"_s;
if (tag == "sgg")
return "sgn"_s;
if (tag == "sgx")
return "sgn"_s;
if (tag == "shu")
return "ar"_s;
if (tag == "slf")
return "sgn"_s;
if (tag == "sls")
return "sgn"_s;
if (tag == "sqk")
return "sgn"_s;
if (tag == "sqs")
return "sgn"_s;
if (tag == "ssh")
return "ar"_s;
if (tag == "ssp")
return "sgn"_s;
if (tag == "ssr")
return "sgn"_s;
if (tag == "svk")
return "sgn"_s;
if (tag == "swc")
return "sw"_s;
if (tag == "swh")
return "sw"_s;
if (tag == "swl")
return "sgn"_s;
if (tag == "syy")
return "sgn"_s;
if (tag == "szs")
return "sgn"_s;
if (tag == "tmw")
return "ms"_s;
if (tag == "tse")
return "sgn"_s;
if (tag == "tsm")
return "sgn"_s;
if (tag == "tsq")
return "sgn"_s;
if (tag == "tss")
return "sgn"_s;
if (tag == "tsy")
return "sgn"_s;
if (tag == "tza")
return "sgn"_s;
if (tag == "ugn")
return "sgn"_s;
if (tag == "ugy")
return "sgn"_s;
if (tag == "ukl")
return "sgn"_s;
if (tag == "uks")
return "sgn"_s;
if (tag == "urk")
return "ms"_s;
if (tag == "uzn")
return "uz"_s;
if (tag == "uzs")
return "uz"_s;
if (tag == "vgt")
return "sgn"_s;
if (tag == "vkk")
return "ms"_s;
if (tag == "vkt")
return "ms"_s;
if (tag == "vsi")
return "sgn"_s;
if (tag == "vsl")
return "sgn"_s;
if (tag == "vsv")
return "sgn"_s;
if (tag == "wbs")
return "sgn"_s;
if (tag == "wuu")
return "zh"_s;
if (tag == "xki")
return "sgn"_s;
if (tag == "xml")
return "sgn"_s;
if (tag == "xmm")
return "ms"_s;
if (tag == "xms")
return "sgn"_s;
if (tag == "yds")
return "sgn"_s;
if (tag == "ygs")
return "sgn"_s;
if (tag == "yhs")
return "sgn"_s;
if (tag == "ysl")
return "sgn"_s;
if (tag == "yue")
return "zh"_s;
if (tag == "zib")
return "sgn"_s;
if (tag == "zlm")
return "ms"_s;
if (tag == "zmi")
return "ms"_s;
if (tag == "zsl")
return "sgn"_s;
if (tag == "zsm")
return "ms"_s;
return String();
}
static String intlPreferredRegionTag(const String& tag)
{
// 6 possible replacements
if (tag == "BU")
return "MM"_s;
if (tag == "DD")
return "DE"_s;
if (tag == "FX")
return "FR"_s;
if (tag == "TP")
return "TL"_s;
if (tag == "YD")
return "YE"_s;
if (tag == "ZR")
return "CD"_s;
return String();
}
static String intlRedundantLanguageTag(const String& tag)
{
// 24 possible replacements
if (tag == "hy-arevela")
return "hy"_s;
if (tag == "hy-arevmda")
return "hyw"_s;
if (tag == "ja-Latn-hepburn-heploc")
return "ja-Latn-alalc97"_s;
if (tag == "sgn-BR")
return "bzs"_s;
if (tag == "sgn-CO")
return "csn"_s;
if (tag == "sgn-DE")
return "gsg"_s;
if (tag == "sgn-DK")
return "dsl"_s;
if (tag == "sgn-ES")
return "ssp"_s;
if (tag == "sgn-FR")
return "fsl"_s;
if (tag == "sgn-GB")
return "bfi"_s;
if (tag == "sgn-GR")
return "gss"_s;
if (tag == "sgn-IE")
return "isg"_s;
if (tag == "sgn-IT")
return "ise"_s;
if (tag == "sgn-JP")
return "jsl"_s;
if (tag == "sgn-MX")
return "mfs"_s;
if (tag == "sgn-NI")
return "ncs"_s;
if (tag == "sgn-NL")
return "dse"_s;
if (tag == "sgn-NO")
return "nsl"_s;
if (tag == "sgn-PT")
return "psr"_s;
if (tag == "sgn-SE")
return "swl"_s;
if (tag == "sgn-US")
return "ase"_s;
if (tag == "sgn-ZA")
return "sfs"_s;
if (tag == "zh-cmn-Hans")
return "cmn-Hans"_s;
if (tag == "zh-cmn-Hant")
return "cmn-Hant"_s;
return String();
}
static String intlGrandfatheredLanguageTag(const String& tag)
{
// 26 possible replacements
if (tag == "art-lojban")
return "jbo"_s;
if (tag == "cel-gaulish")
return "cel-gaulish"_s;
if (tag == "en-gb-oed")
return "en-GB-oxendict"_s;
if (tag == "i-ami")
return "ami"_s;
if (tag == "i-bnn")
return "bnn"_s;
if (tag == "i-default")
return "i-default"_s;
if (tag == "i-enochian")
return "i-enochian"_s;
if (tag == "i-hak")
return "hak"_s;
if (tag == "i-klingon")
return "tlh"_s;
if (tag == "i-lux")
return "lb"_s;
if (tag == "i-mingo")
return "i-mingo"_s;
if (tag == "i-navajo")
return "nv"_s;
if (tag == "i-pwn")
return "pwn"_s;
if (tag == "i-tao")
return "tao"_s;
if (tag == "i-tay")
return "tay"_s;
if (tag == "i-tsu")
return "tsu"_s;
if (tag == "no-bok")
return "nb"_s;
if (tag == "no-nyn")
return "nn"_s;
if (tag == "sgn-be-fr")
return "sfb"_s;
if (tag == "sgn-be-nl")
return "vgt"_s;
if (tag == "sgn-ch-de")
return "sgg"_s;
if (tag == "zh-guoyu")
return "cmn"_s;
if (tag == "zh-hakka")
return "hak"_s;
if (tag == "zh-min")
return "zh-min"_s;
if (tag == "zh-min-nan")
return "nan"_s;
if (tag == "zh-xiang")
return "hsn"_s;
return String();
}
} // namespace JSC
#endif // ENABLE(INTL)

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,22 @@
// 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[4] = {
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ 1, -1 },
};
static const struct HashTableValue dateTimeFormatPrototypeTableValues[2] = {
{ "format", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDateTimeFormatPrototypeGetterFormat), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlDateTimeFormatPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable dateTimeFormatPrototypeTable =
{ 2, 3, true, nullptr, dateTimeFormatPrototypeTableValues, dateTimeFormatPrototypeTableIndex };
} // 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,22 @@
// 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[4] = {
{ -1, -1 },
{ 0, -1 },
{ -1, -1 },
{ 1, -1 },
};
static const struct HashTableValue numberFormatPrototypeTableValues[2] = {
{ "format", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlNumberFormatPrototypeGetterFormat), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "resolvedOptions", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(IntlNumberFormatPrototypeFuncResolvedOptions), (intptr_t)(0) } },
};
static const struct HashTable numberFormatPrototypeTable =
{ 2, 3, true, nullptr, numberFormatPrototypeTableValues, numberFormatPrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,37 @@
// 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[16] = {
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, -1 },
{ 2, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue intlObjectTableValues[5] = {
{ "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) } },
{ "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) } },
};
static const struct HashTable intlObjectTable =
{ 5, 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

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,193 @@
// 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[135] = {
{ -1, -1 },
{ 7, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 36, -1 },
{ -1, -1 },
{ 27, -1 },
{ -1, -1 },
{ -1, -1 },
{ 11, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 13, 129 },
{ 0, -1 },
{ 24, -1 },
{ -1, -1 },
{ 28, -1 },
{ -1, -1 },
{ -1, -1 },
{ 12, -1 },
{ 26, -1 },
{ -1, -1 },
{ -1, -1 },
{ 37, 134 },
{ -1, -1 },
{ 34, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, 128 },
{ 9, -1 },
{ -1, -1 },
{ -1, -1 },
{ 40, -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 },
{ 31, -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 },
{ 22, -1 },
{ 39, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ -1, -1 },
{ 33, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 35, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 19, 132 },
{ 14, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, 131 },
{ -1, -1 },
{ 29, -1 },
{ -1, -1 },
{ 17, -1 },
{ -1, -1 },
{ -1, -1 },
{ 16, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 10, 133 },
{ 21, -1 },
{ 32, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ 18, -1 },
{ 20, -1 },
{ 23, -1 },
{ 25, -1 },
{ 30, -1 },
{ 38, -1 },
};
static const struct HashTableValue globalObjectTableValues[41] = {
{ "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) } },
{ "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) } },
{ "Number", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::ClassStructure), NoIntrinsic, { (intptr_t)(OBJECT_OFFSETOF(JSGlobalObject, m_numberObjectStructure)), (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 =
{ 41, 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,39 @@
// 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[17] = {
{ 2, -1 },
{ -1, -1 },
{ 0, 16 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 4, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 3, -1 },
};
static const struct HashTableValue promiseConstructorTableValues[5] = {
{ "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 } },
};
static const struct HashTable promiseConstructorTable =
{ 5, 15, false, nullptr, promiseConstructorTableValues, promiseConstructorTableIndex };
} // namespace JSC

View File

@ -0,0 +1,28 @@
// 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[8] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, -1 },
{ 0, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
};
static const struct HashTableValue promisePrototypeTableValues[3] = {
{ "then", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(promisePrototypeThenCodeGenerator), (intptr_t)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 =
{ 3, 7, false, nullptr, promisePrototypeTableValues, promisePrototypeTableIndex };
} // namespace JSC

View File

@ -0,0 +1,41 @@
// 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 jsWebAssemblyTableIndex[18] = {
{ -1, -1 },
{ -1, -1 },
{ 0, 16 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 1, 17 },
{ -1, -1 },
{ -1, -1 },
{ 3, -1 },
{ 5, -1 },
{ -1, -1 },
{ 4, -1 },
{ -1, -1 },
{ -1, -1 },
{ 2, -1 },
{ 6, -1 },
};
static const struct HashTableValue jsWebAssemblyTableValues[7] = {
{ "CompileError", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::PropertyCallback), NoIntrinsic, { (intptr_t)static_cast<LazyPropertyCallback>(createWebAssemblyCompileError), (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) } },
};
static const struct HashTable jsWebAssemblyTable =
{ 7, 15, false, nullptr, jsWebAssemblyTableValues, jsWebAssemblyTableIndex };
} // 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/WebAssemblyPrototype.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 isIdentPartIncludingEscape(const LChar* code, const LChar* codeEnd);
static ALWAYS_INLINE bool isIdentPartIncludingEscape(const UChar* code, const UChar* codeEnd);
static const 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 (!isIdentPartIncludingEscape(code+8, m_codeEnd)) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->functionKeyword;
return FUNCTION;
}
} else if (COMPARE_2UCHARS(code + 1, 'o', 'r')) {
if (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->forKeyword;
return FOR;
}
} else if (COMPARE_4UCHARS(code + 1, 'a', 'l', 's', 'e')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->thisKeyword;
return THISTOKEN;
}
} else if (COMPARE_4UCHARS(code + 1, 'h', 'r', 'o', 'w')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->trueKeyword;
return TRUETOKEN;
}
} else if (code[2] == 'y') {
if (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->tryKeyword;
return TRY;
}
}
} else if (COMPARE_5UCHARS(code + 1, 'y', 'p', 'e', 'o', 'f')) {
if (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->typeofKeyword;
return TYPEOF;
}
}
} else if (code[0] == 'i') {
if (code[1] == 'f') {
if (!isIdentPartIncludingEscape(code+2, m_codeEnd)) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->ifKeyword;
return IF;
}
} else if (code[1] == 'n') {
if (!isIdentPartIncludingEscape(code+2, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+9, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+10, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+10, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->varKeyword;
return VAR;
}
} else if (COMPARE_4UCHARS(code, 'v', 'o', 'i', 'd')) {
if (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->voidKeyword;
return VOIDTOKEN;
}
}
} else if (COMPARE_6UCHARS(code, 'r', 'e', 't', 'u', 'r', 'n')) {
if (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->nullKeyword;
return NULLTOKEN;
}
} else if (COMPARE_2UCHARS(code + 1, 'e', 'w')) {
if (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->exportKeyword;
return EXPORT;
}
} else if (COMPARE_5UCHARS(code + 2, 't', 'e', 'n', 'd', 's')) {
if (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->extendsKeyword;
return EXTENDS;
}
}
} else if (COMPARE_4UCHARS(code, 'e', 'n', 'u', 'm')) {
if (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->catchKeyword;
return CATCH;
}
} else if (COMPARE_2UCHARS(code + 2, 's', 'e')) {
if (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+8, m_codeEnd)) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->continueKeyword;
return CONTINUE;
}
} else if (COMPARE_2UCHARS(code + 3, 's', 't')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->constKeyword;
return CONSTTOKEN;
}
}
} else if (COMPARE_4UCHARS(code + 1, 'l', 'a', 's', 's')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->classKeyword;
return CLASSTOKEN;
}
}
} else if (COMPARE_5UCHARS(code, 'b', 'r', 'e', 'a', 'k')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->whileKeyword;
return WHILE;
}
} else if (COMPARE_4UCHARS(code, 'w', 'i', 't', 'h')) {
if (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+8, m_codeEnd)) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->debuggerKeyword;
return DEBUGGER;
}
} else if (COMPARE_4UCHARS(code + 2, 'l', 'e', 't', 'e')) {
if (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->deleteKeyword;
return DELETETOKEN;
}
}
} else if (code[1] == 'o') {
if (!isIdentPartIncludingEscape(code+2, m_codeEnd)) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->doKeyword;
return DO;
}
}
} else if (COMPARE_5UCHARS(code, 'a', 'w', 'a', 'i', 't')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->awaitKeyword;
return AWAIT;
}
} else if (COMPARE_5UCHARS(code, 'y', 'i', 'e', 'l', 'd')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+9, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->switchKeyword;
return SWITCH;
}
} else if (COMPARE_5UCHARS(code + 1, 't', 'a', 't', 'i', 'c')) {
if (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->superKeyword;
return SUPER;
}
}
} else if (COMPARE_3UCHARS(code, 'l', 'e', 't')) {
if (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+8, m_codeEnd)) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->functionKeyword;
return FUNCTION;
}
} else if (COMPARE_2CHARS(code + 1, 'o', 'r')) {
if (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->forKeyword;
return FOR;
}
} else if (COMPARE_4CHARS(code + 1, 'a', 'l', 's', 'e')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->thisKeyword;
return THISTOKEN;
}
} else if (COMPARE_4CHARS(code + 1, 'h', 'r', 'o', 'w')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->trueKeyword;
return TRUETOKEN;
}
} else if (code[2] == 'y') {
if (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->tryKeyword;
return TRY;
}
}
} else if (COMPARE_5CHARS(code + 1, 'y', 'p', 'e', 'o', 'f')) {
if (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->typeofKeyword;
return TYPEOF;
}
}
} else if (code[0] == 'i') {
if (code[1] == 'f') {
if (!isIdentPartIncludingEscape(code+2, m_codeEnd)) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->ifKeyword;
return IF;
}
} else if (code[1] == 'n') {
if (!isIdentPartIncludingEscape(code+2, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+9, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+10, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+10, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
internalShift<3>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->varKeyword;
return VAR;
}
} else if (COMPARE_4CHARS(code, 'v', 'o', 'i', 'd')) {
if (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->voidKeyword;
return VOIDTOKEN;
}
}
} else if (COMPARE_6CHARS(code, 'r', 'e', 't', 'u', 'r', 'n')) {
if (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
internalShift<4>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->nullKeyword;
return NULLTOKEN;
}
} else if (COMPARE_2CHARS(code + 1, 'e', 'w')) {
if (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->exportKeyword;
return EXPORT;
}
} else if (COMPARE_5CHARS(code + 2, 't', 'e', 'n', 'd', 's')) {
if (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
internalShift<7>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->extendsKeyword;
return EXTENDS;
}
}
} else if (COMPARE_4CHARS(code, 'e', 'n', 'u', 'm')) {
if (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->catchKeyword;
return CATCH;
}
} else if (COMPARE_2CHARS(code + 2, 's', 'e')) {
if (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+8, m_codeEnd)) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->continueKeyword;
return CONTINUE;
}
} else if (COMPARE_2CHARS(code + 3, 's', 't')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->constKeyword;
return CONSTTOKEN;
}
}
} else if (COMPARE_4CHARS(code + 1, 'l', 'a', 's', 's')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->classKeyword;
return CLASSTOKEN;
}
}
} else if (COMPARE_5CHARS(code, 'b', 'r', 'e', 'a', 'k')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->whileKeyword;
return WHILE;
}
} else if (COMPARE_4CHARS(code, 'w', 'i', 't', 'h')) {
if (!isIdentPartIncludingEscape(code+4, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+8, m_codeEnd)) {
internalShift<8>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->debuggerKeyword;
return DEBUGGER;
}
} else if (COMPARE_4CHARS(code + 2, 'l', 'e', 't', 'e')) {
if (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->deleteKeyword;
return DELETETOKEN;
}
}
} else if (code[1] == 'o') {
if (!isIdentPartIncludingEscape(code+2, m_codeEnd)) {
internalShift<2>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->doKeyword;
return DO;
}
}
} else if (COMPARE_5CHARS(code, 'a', 'w', 'a', 'i', 't')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->awaitKeyword;
return AWAIT;
}
} else if (COMPARE_5CHARS(code, 'y', 'i', 'e', 'l', 'd')) {
if (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+9, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+7, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
internalShift<6>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->switchKeyword;
return SWITCH;
}
} else if (COMPARE_5CHARS(code + 1, 't', 'a', 't', 'i', 'c')) {
if (!isIdentPartIncludingEscape(code+6, m_codeEnd)) {
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 (!isIdentPartIncludingEscape(code+5, m_codeEnd)) {
internalShift<5>();
if (shouldCreateIdentifier)
data->ident = &m_vm->propertyNames->superKeyword;
return SUPER;
}
}
} else if (COMPARE_3CHARS(code, 'l', 'e', 't')) {
if (!isIdentPartIncludingEscape(code+3, m_codeEnd)) {
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,28 @@
// 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[8] = {
{ 1, -1 },
{ -1, -1 },
{ 2, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue mapPrototypeTableValues[3] = {
{ "forEach", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(mapPrototypeForEachCodeGenerator), (intptr_t)0 } },
{ "values", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(mapPrototypeValuesCodeGenerator), (intptr_t)0 } },
{ "keys", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(mapPrototypeKeysCodeGenerator), (intptr_t)0 } },
};
static const struct HashTable mapPrototypeTable =
{ 3, 7, 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), NoIntrinsic, { (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>(regExpConstructorDollar<1>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$2", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<2>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$3", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<3>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$4", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<4>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$5", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<5>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$6", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<6>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$7", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<7>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$8", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<8>), (intptr_t)static_cast<PutPropertySlot::PutValueFunc>(0) } },
{ "$9", static_cast<unsigned>(PropertyAttribute::DontDelete|PropertyAttribute::ReadOnly), NoIntrinsic, { (intptr_t)static_cast<PropertySlot::GetValueFunc>(regExpConstructorDollar<9>), (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,23 @@
// 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[4] = {
{ -1, -1 },
{ 1, -1 },
{ -1, -1 },
{ 0, -1 },
};
static const struct HashTableValue setPrototypeTableValues[2] = {
{ "forEach", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(setPrototypeForEachCodeGenerator), (intptr_t)0 } },
{ "entries", ((static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function)) & ~PropertyAttribute::Function) | PropertyAttribute::Builtin, NoIntrinsic, { (intptr_t)static_cast<BuiltinGenerator>(setPrototypeEntriesCodeGenerator), (intptr_t)0 } },
};
static const struct HashTable setPrototypeTable =
{ 2, 3, 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,107 @@
// 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 },
{ 7, -1 },
{ 10, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 14, -1 },
{ 20, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 6, -1 },
{ 18, -1 },
{ 3, -1 },
{ 15, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 16, -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 },
{ 8, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 11, 65 },
{ 5, -1 },
{ -1, -1 },
{ -1, -1 },
{ 17, -1 },
{ -1, -1 },
{ 2, -1 },
{ 9, -1 },
{ -1, -1 },
{ 12, 67 },
{ 13, -1 },
{ 19, -1 },
{ 21, -1 },
};
static const struct HashTableValue stringPrototypeTableValues[22] = {
{ "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 } },
{ "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 =
{ 22, 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,687 @@
/*
* 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::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::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::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::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::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::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::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::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::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::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::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)

View File

@ -0,0 +1,445 @@
/*
* 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(Anyref, -0x11, B3::Int64, 5) \
macro(Funcref, -0x10, B3::Int64, 6) \
macro(F64, -0x4, B3::Double, 7)
#define CREATE_ENUM_VALUE(name, id, b3type, inc) name = id,
enum Type : int8_t {
FOR_EACH_WASM_TYPE(CREATE_ENUM_VALUE)
};
#undef CREATE_ENUM_VALUE
#define CREATE_CASE(name, id, b3type, inc) 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, inc) 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, id, b3type, inc) 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(Return, 0xf, Oops, 0) \
macro(Nop, 0x1, Oops, 1) \
macro(Drop, 0x1a, Oops, 2) \
macro(BrIf, 0xd, Oops, 3) \
macro(Br, 0xc, 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(If, 0x4, Oops, 10) \
macro(End, 0xb, Oops, 11) \
macro(Block, 0x2, Oops, 12)
#define FOR_EACH_WASM_SIMPLE_UNARY_OP(macro) \
macro(F32Ceil, 0x8d, Ceil, 0) \
macro(F32DemoteF64, 0xb6, DoubleToFloat, 1) \
macro(I32Clz, 0x67, Clz, 2) \
macro(F64ConvertUI32, 0xb8, IToD(ZExt32(@0)), 3) \
macro(F32ReinterpretI32, 0xbe, BitwiseCast, 4) \
macro(F32Sqrt, 0x91, Sqrt, 5) \
macro(I64Eqz, 0x50, Equal(i64(0), @0), 6) \
macro(I64Clz, 0x79, Clz, 7) \
macro(F32Neg, 0x8c, Neg, 8) \
macro(F64Abs, 0x99, Abs, 9) \
macro(F32ConvertSI64, 0xb4, IToF, 10) \
macro(F64ConvertSI32, 0xb7, IToD, 11) \
macro(F32ConvertUI32, 0xb3, IToF(ZExt32(@0)), 12) \
macro(F64Ceil, 0x9b, Ceil, 13) \
macro(F64Floor, 0x9c, Floor, 14) \
macro(F32Abs, 0x8b, Abs, 15) \
macro(I32ReinterpretF32, 0xbc, BitwiseCast, 16) \
macro(F64ConvertSI64, 0xb9, IToD, 17) \
macro(F64PromoteF32, 0xbb, FloatToDouble, 18) \
macro(I64ExtendUI32, 0xad, ZExt32, 19) \
macro(F64ReinterpretI64, 0xbf, BitwiseCast, 20) \
macro(F32Floor, 0x8e, Floor, 21) \
macro(F32ConvertSI32, 0xb2, IToF, 22) \
macro(I32Eqz, 0x45, Equal(i32(0), @0), 23) \
macro(I64ReinterpretF64, 0xbd, BitwiseCast, 24) \
macro(F64Sqrt, 0x9f, Sqrt, 25) \
macro(I32WrapI64, 0xa7, Trunc, 26) \
macro(I64ExtendSI32, 0xac, SExt32, 27) \
macro(F64Neg, 0x9a, Neg, 28)
#define FOR_EACH_WASM_UNARY_OP(macro) \
FOR_EACH_WASM_SIMPLE_UNARY_OP(macro) \
macro(I64TruncSF32, 0xae, Oops, 0) \
macro(F32ConvertUI64, 0xb5, Oops, 1) \
macro(I32Ctz, 0x68, Oops, 2) \
macro(I32TruncSF64, 0xaa, Oops, 3) \
macro(I32TruncUF64, 0xab, Oops, 4) \
macro(I32Popcnt, 0x69, Oops, 5) \
macro(I64Popcnt, 0x7b, Oops, 6) \
macro(I64Ctz, 0x7a, Oops, 7) \
macro(I32TruncSF32, 0xa8, Oops, 8) \
macro(I64TruncUF64, 0xb1, Oops, 9) \
macro(I64TruncSF64, 0xb0, Oops, 10) \
macro(F64ConvertUI64, 0xba, Oops, 11) \
macro(F64Nearest, 0x9e, Oops, 12) \
macro(F64Trunc, 0x9d, Oops, 13) \
macro(F32Trunc, 0x8f, Oops, 14) \
macro(I32TruncUF32, 0xa9, Oops, 15) \
macro(I64TruncUF32, 0xaf, Oops, 16) \
macro(F32Nearest, 0x90, Oops, 17)
#define FOR_EACH_WASM_SIMPLE_BINARY_OP(macro) \
macro(I64ShrS, 0x87, SShr(@0, Trunc(@1)), 0) \
macro(I32Mul, 0x6c, Mul, 1) \
macro(I32Sub, 0x6b, Sub, 2) \
macro(F64Le, 0x65, LessEqual, 3) \
macro(F64Ne, 0x62, NotEqual, 4) \
macro(F64Lt, 0x63, LessThan, 5) \
macro(F32Max, 0x97, Select(Equal(@0, @1), BitAnd(@0, @1), Select(LessThan(@0, @1), @1, Select(GreaterThan(@0, @1), @0, Add(@0, @1)))), 6) \
macro(F64Mul, 0xa2, Mul, 7) \
macro(F32Div, 0x95, Div, 8) \
macro(F32Copysign, 0x98, BitwiseCast(BitOr(BitAnd(BitwiseCast(@1), i32(0x80000000)), BitAnd(BitwiseCast(@0), i32(0x7fffffff)))), 9) \
macro(I64And, 0x83, BitAnd, 10) \
macro(F32Ne, 0x5c, NotEqual, 11) \
macro(F64Gt, 0x64, GreaterThan, 12) \
macro(F64Ge, 0x66, GreaterEqual, 13) \
macro(I64GtS, 0x55, GreaterThan, 14) \
macro(I64GtU, 0x56, Above, 15) \
macro(F64Div, 0xa3, Div, 16) \
macro(F32Add, 0x92, Add, 17) \
macro(I64Or, 0x84, BitOr, 18) \
macro(I32LeU, 0x4d, BelowEqual, 19) \
macro(I32LeS, 0x4c, LessEqual, 20) \
macro(I64Ne, 0x52, NotEqual, 21) \
macro(I32And, 0x71, BitAnd, 22) \
macro(I32LtU, 0x49, Below, 23) \
macro(I64Rotr, 0x8a, RotR(@0, Trunc(@1)), 24) \
macro(I32LtS, 0x48, LessThan, 25) \
macro(I32Eq, 0x46, Equal, 26) \
macro(F64Copysign, 0xa6, BitwiseCast(BitOr(BitAnd(BitwiseCast(@1), i64(0x8000000000000000)), BitAnd(BitwiseCast(@0), i64(0x7fffffffffffffff)))), 27) \
macro(I64Rotl, 0x89, RotL(@0, Trunc(@1)), 28) \
macro(F32Lt, 0x5d, LessThan, 29) \
macro(F64Eq, 0x61, Equal, 30) \
macro(F32Le, 0x5f, LessEqual, 31) \
macro(F32Ge, 0x60, GreaterEqual, 32) \
macro(I32ShrU, 0x76, ZShr, 33) \
macro(I32ShrS, 0x75, SShr, 34) \
macro(I32GeU, 0x4f, AboveEqual, 35) \
macro(I32GeS, 0x4e, GreaterEqual, 36) \
macro(I32Shl, 0x74, Shl, 37) \
macro(I32Xor, 0x73, BitXor, 38) \
macro(F64Min, 0xa4, Select(Equal(@0, @1), BitOr(@0, @1), Select(LessThan(@0, @1), @0, Select(GreaterThan(@0, @1), @1, Add(@0, @1)))), 39) \
macro(F32Mul, 0x94, Mul, 40) \
macro(I64Sub, 0x7d, Sub, 41) \
macro(I32Add, 0x6a, Add, 42) \
macro(F64Sub, 0xa1, Sub, 43) \
macro(I32Or, 0x72, BitOr, 44) \
macro(I64LtU, 0x54, Below, 45) \
macro(I64LtS, 0x53, LessThan, 46) \
macro(I64Xor, 0x85, BitXor, 47) \
macro(I64GeU, 0x5a, AboveEqual, 48) \
macro(F32Min, 0x96, Select(Equal(@0, @1), BitOr(@0, @1), Select(LessThan(@0, @1), @0, Select(GreaterThan(@0, @1), @1, Add(@0, @1)))), 49) \
macro(I64Mul, 0x7e, Mul, 50) \
macro(F32Sub, 0x93, Sub, 51) \
macro(F64Add, 0xa0, Add, 52) \
macro(I64GeS, 0x59, GreaterEqual, 53) \
macro(I32Ne, 0x47, NotEqual, 54) \
macro(F32Eq, 0x5b, Equal, 55) \
macro(I64Eq, 0x51, Equal, 56) \
macro(I64ShrU, 0x88, ZShr(@0, Trunc(@1)), 57) \
macro(I64Shl, 0x86, Shl(@0, Trunc(@1)), 58) \
macro(F32Gt, 0x5e, GreaterThan, 59) \
macro(I32Rotl, 0x77, RotL, 60) \
macro(I32Rotr, 0x78, RotR, 61) \
macro(I32GtU, 0x4b, Above, 62) \
macro(I32GtS, 0x4a, GreaterThan, 63) \
macro(F64Max, 0xa5, Select(Equal(@0, @1), BitAnd(@0, @1), Select(LessThan(@0, @1), @1, Select(GreaterThan(@0, @1), @0, Add(@0, @1)))), 64) \
macro(I64LeU, 0x58, BelowEqual, 65) \
macro(I64LeS, 0x57, LessEqual, 66) \
macro(I64Add, 0x7c, Add, 67)
#define FOR_EACH_WASM_BINARY_OP(macro) \
FOR_EACH_WASM_SIMPLE_BINARY_OP(macro) \
macro(I32DivU, 0x6e, Oops, 0) \
macro(I32DivS, 0x6d, Oops, 1) \
macro(I32RemU, 0x70, Oops, 2) \
macro(I32RemS, 0x6f, Oops, 3) \
macro(I64RemS, 0x81, Oops, 4) \
macro(I64RemU, 0x82, Oops, 5) \
macro(I64DivU, 0x80, Oops, 6) \
macro(I64DivS, 0x7f, Oops, 7)
#define FOR_EACH_WASM_MEMORY_LOAD_OP(macro) \
macro(I64Load32U, 0x35, Oops, 0) \
macro(I64Load32S, 0x34, Oops, 1) \
macro(I32Load16S, 0x2e, Oops, 2) \
macro(I32Load16U, 0x2f, Oops, 3) \
macro(I64Load, 0x29, Oops, 4) \
macro(F64Load, 0x2b, Oops, 5) \
macro(I32Load8S, 0x2c, Oops, 6) \
macro(I32Load8U, 0x2d, Oops, 7) \
macro(I32Load, 0x28, Oops, 8) \
macro(F32Load, 0x2a, Oops, 9) \
macro(I64Load8U, 0x31, Oops, 10) \
macro(I64Load8S, 0x30, Oops, 11) \
macro(I64Load16S, 0x32, Oops, 12) \
macro(I64Load16U, 0x33, Oops, 13)
#define FOR_EACH_WASM_MEMORY_STORE_OP(macro) \
macro(I64Store16, 0x3d, Oops, 0) \
macro(I64Store8, 0x3c, Oops, 1) \
macro(I32Store, 0x36, Oops, 2) \
macro(I32Store16, 0x3b, Oops, 3) \
macro(F32Store, 0x38, Oops, 4) \
macro(I64Store, 0x37, Oops, 5) \
macro(F64Store, 0x39, Oops, 6) \
macro(I32Store8, 0x3a, Oops, 7) \
macro(I64Store32, 0x3e, Oops, 8)
#define FOR_EACH_WASM_EXT_TABLE_OP(macro) \
macro(TableFill, 0x11, Oops, 0) \
macro(TableGrow, 0x10, Oops, 1) \
macro(TableSize, 0xf, Oops, 2)
#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)
#define CREATE_ENUM_VALUE(name, id, b3op, inc) 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, 0xc, 0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0, 0x0, 0x7, 0x0, 0x0, 0x0, 0x0, 0x10 };
return 0 <= i && i <= 252 && (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)
};
#undef CREATE_ENUM_VALUE
inline bool isControlOp(OpType op)
{
switch (op) {
#define CREATE_CASE(name, id, b3op, inc) 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, id, b3op, inc) 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, id, b3op, inc) 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;
}
#define CREATE_CASE(name, id, b3type, inc) 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
#endif // ENABLE(WEBASSEMBLY)

File diff suppressed because it is too large Load Diff

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/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::DontEnum|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::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyMemoryProtoFuncGrow), (intptr_t)(1) } },
{ "buffer", static_cast<unsigned>(PropertyAttribute::DontEnum|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::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyModuleCustomSections), (intptr_t)(2) } },
{ "imports", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyModuleImports), (intptr_t)(1) } },
{ "exports", static_cast<unsigned>(PropertyAttribute::DontEnum|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,27 @@
// Automatically generated from JavaScriptCore/wasm/js/WebAssemblyPrototype.cpp using JavaScriptCore/create_hash_table. DO NOT EDIT!
#include "Lookup.h"
namespace JSC {
static const struct CompactHashIndex prototypeTableWebAssemblyIndex[8] = {
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ -1, -1 },
{ 0, -1 },
{ 2, -1 },
{ 1, -1 },
};
static const struct HashTableValue prototypeTableWebAssemblyValues[3] = {
{ "compile", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyCompileFunc), (intptr_t)(1) } },
{ "instantiate", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyInstantiateFunc), (intptr_t)(1) } },
{ "validate", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyValidateFunc), (intptr_t)(1) } },
};
static const struct HashTable prototypeTableWebAssembly =
{ 3, 7, false, nullptr, prototypeTableWebAssemblyValues, prototypeTableWebAssemblyIndex };
} // 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::DontEnum|PropertyAttribute::Accessor), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyTableProtoFuncLength), (intptr_t)static_cast<RawNativeFunction>(nullptr) } },
{ "grow", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyTableProtoFuncGrow), (intptr_t)(1) } },
{ "get", static_cast<unsigned>(PropertyAttribute::DontEnum|PropertyAttribute::Function), NoIntrinsic, { (intptr_t)static_cast<RawNativeFunction>(webAssemblyTableProtoFuncGet), (intptr_t)(1) } },
{ "set", static_cast<unsigned>(PropertyAttribute::DontEnum|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,362 @@
/*
* 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 "InspectorProtocolTypes.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 AlternateApplicationCacheBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateApplicationCacheBackendDispatcher() { }
virtual void getFramesWithManifests(long callId) = 0;
virtual void enable(long callId) = 0;
virtual void getManifestForFrame(long callId, const String& in_frameId) = 0;
virtual void getApplicationCacheForFrame(long callId, const String& in_frameId) = 0;
};
class AlternateAuditBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateAuditBackendDispatcher() { }
virtual void setup(long callId, const int* in_contextId) = 0;
virtual void run(long callId, const String& in_test, const int* in_contextId) = 0;
virtual void teardown(long callId) = 0;
};
#if ENABLE(RESOURCE_USAGE)
class AlternateCPUProfilerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateCPUProfilerBackendDispatcher() { }
virtual void startTracking(long callId) = 0;
virtual void stopTracking(long callId) = 0;
};
#endif // ENABLE(RESOURCE_USAGE)
class AlternateCSSBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateCSSBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void getMatchedStylesForNode(long callId, int in_nodeId, const bool* in_includePseudo, const bool* in_includeInherited) = 0;
virtual void getInlineStylesForNode(long callId, int in_nodeId) = 0;
virtual void getComputedStyleForNode(long callId, int in_nodeId) = 0;
virtual void getAllStyleSheets(long callId) = 0;
virtual void getStyleSheet(long callId, const String& in_styleSheetId) = 0;
virtual void getStyleSheetText(long callId, const String& in_styleSheetId) = 0;
virtual void setStyleSheetText(long callId, const String& in_styleSheetId, const String& in_text) = 0;
virtual void setStyleText(long callId, const JSON::Object& in_styleId, const String& in_text) = 0;
virtual void setRuleSelector(long callId, const JSON::Object& in_ruleId, const String& in_selector) = 0;
virtual void createStyleSheet(long callId, const String& in_frameId) = 0;
virtual void addRule(long callId, const String& in_styleSheetId, const String& in_selector) = 0;
virtual void getSupportedCSSProperties(long callId) = 0;
virtual void getSupportedSystemFontFamilyNames(long callId) = 0;
virtual void forcePseudoState(long callId, int in_nodeId, const JSON::Array& in_forcedPseudoClasses) = 0;
};
class AlternateCanvasBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateCanvasBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void requestNode(long callId, const String& in_canvasId) = 0;
virtual void requestContent(long callId, const String& in_canvasId) = 0;
virtual void requestCSSCanvasClientNodes(long callId, const String& in_canvasId) = 0;
virtual void resolveCanvasContext(long callId, const String& in_canvasId, const String* in_objectGroup) = 0;
virtual void setRecordingAutoCaptureFrameCount(long callId, int in_count) = 0;
virtual void startRecording(long callId, const String& in_canvasId, const int* in_frameCount, const int* in_memoryLimit) = 0;
virtual void stopRecording(long callId, const String& in_canvasId) = 0;
virtual void requestShaderSource(long callId, const String& in_programId, const String& in_shaderType) = 0;
virtual void updateShader(long callId, const String& in_programId, const String& in_shaderType, const String& in_source) = 0;
virtual void setShaderProgramDisabled(long callId, const String& in_programId, bool in_disabled) = 0;
virtual void setShaderProgramHighlighted(long callId, const String& in_programId, bool in_highlighted) = 0;
};
class AlternateConsoleBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateConsoleBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void clearMessages(long callId) = 0;
virtual void getLoggingChannels(long callId) = 0;
virtual void setLoggingChannelLevel(long callId, const String& in_source, const String& in_level) = 0;
};
class AlternateDOMBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDOMBackendDispatcher() { }
virtual void getDocument(long callId) = 0;
virtual void requestChildNodes(long callId, int in_nodeId, const int* in_depth) = 0;
virtual void querySelector(long callId, int in_nodeId, const String& in_selector) = 0;
virtual void querySelectorAll(long callId, int in_nodeId, const String& in_selector) = 0;
virtual void setNodeName(long callId, int in_nodeId, const String& in_name) = 0;
virtual void setNodeValue(long callId, int in_nodeId, const String& in_value) = 0;
virtual void removeNode(long callId, int in_nodeId) = 0;
virtual void setAttributeValue(long callId, int in_nodeId, const String& in_name, const String& in_value) = 0;
virtual void setAttributesAsText(long callId, int in_nodeId, const String& in_text, const String* in_name) = 0;
virtual void removeAttribute(long callId, int in_nodeId, const String& in_name) = 0;
virtual void getSupportedEventNames(long callId) = 0;
virtual void getDataBindingsForNode(long callId, int in_nodeId) = 0;
virtual void getAssociatedDataForNode(long callId, int in_nodeId) = 0;
virtual void getEventListenersForNode(long callId, int in_nodeId) = 0;
virtual void setEventListenerDisabled(long callId, int in_eventListenerId, bool in_disabled) = 0;
virtual void setBreakpointForEventListener(long callId, int in_eventListenerId) = 0;
virtual void removeBreakpointForEventListener(long callId, int in_eventListenerId) = 0;
virtual void getAccessibilityPropertiesForNode(long callId, int in_nodeId) = 0;
virtual void getOuterHTML(long callId, int in_nodeId) = 0;
virtual void setOuterHTML(long callId, int in_nodeId, const String& in_outerHTML) = 0;
virtual void insertAdjacentHTML(long callId, int in_nodeId, const String& in_position, const String& in_html) = 0;
virtual void performSearch(long callId, const String& in_query, const JSON::Array* in_nodeIds, const bool* in_caseSensitive) = 0;
virtual void getSearchResults(long callId, const String& in_searchId, int in_fromIndex, int in_toIndex) = 0;
virtual void discardSearchResults(long callId, const String& in_searchId) = 0;
virtual void requestNode(long callId, const String& in_objectId) = 0;
virtual void setInspectModeEnabled(long callId, bool in_enabled, const JSON::Object* in_highlightConfig, const bool* in_showRulers) = 0;
virtual void highlightRect(long callId, int in_x, int in_y, int in_width, int in_height, const JSON::Object* in_color, const JSON::Object* in_outlineColor, const bool* in_usePageCoordinates) = 0;
virtual void highlightQuad(long callId, const JSON::Array& in_quad, const JSON::Object* in_color, const JSON::Object* in_outlineColor, const bool* in_usePageCoordinates) = 0;
virtual void highlightSelector(long callId, const JSON::Object& in_highlightConfig, const String& in_selectorString, const String* in_frameId) = 0;
virtual void highlightNode(long callId, const JSON::Object& in_highlightConfig, const int* in_nodeId, const String* in_objectId) = 0;
virtual void highlightNodeList(long callId, const JSON::Array& in_nodeIds, const JSON::Object& in_highlightConfig) = 0;
virtual void hideHighlight(long callId) = 0;
virtual void highlightFrame(long callId, const String& in_frameId, const JSON::Object* in_contentColor, const JSON::Object* in_contentOutlineColor) = 0;
virtual void pushNodeByPathToFrontend(long callId, const String& in_path) = 0;
virtual void resolveNode(long callId, int in_nodeId, const String* in_objectGroup) = 0;
virtual void getAttributes(long callId, int in_nodeId) = 0;
virtual void moveTo(long callId, int in_nodeId, int in_targetNodeId, const int* in_insertBeforeNodeId) = 0;
virtual void undo(long callId) = 0;
virtual void redo(long callId) = 0;
virtual void markUndoableState(long callId) = 0;
virtual void focus(long callId, int in_nodeId) = 0;
virtual void setInspectedNode(long callId, int in_nodeId) = 0;
};
class AlternateDOMDebuggerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDOMDebuggerBackendDispatcher() { }
virtual void setDOMBreakpoint(long callId, int in_nodeId, const String& in_type) = 0;
virtual void removeDOMBreakpoint(long callId, int in_nodeId, const String& in_type) = 0;
virtual void setEventBreakpoint(long callId, const String& in_breakpointType, const String& in_eventName) = 0;
virtual void removeEventBreakpoint(long callId, const String& in_breakpointType, const String& in_eventName) = 0;
virtual void setURLBreakpoint(long callId, const String& in_url, const bool* in_isRegex) = 0;
virtual void removeURLBreakpoint(long callId, const String& in_url) = 0;
};
class AlternateDOMStorageBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDOMStorageBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void getDOMStorageItems(long callId, const JSON::Object& in_storageId) = 0;
virtual void setDOMStorageItem(long callId, const JSON::Object& in_storageId, const String& in_key, const String& in_value) = 0;
virtual void removeDOMStorageItem(long callId, const JSON::Object& in_storageId, const String& in_key) = 0;
};
class AlternateDatabaseBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDatabaseBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void getDatabaseTableNames(long callId, const String& in_databaseId) = 0;
virtual void executeSQL(long callId, const String& in_databaseId, const String& in_query) = 0;
};
class AlternateDebuggerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateDebuggerBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void setAsyncStackTraceDepth(long callId, int in_depth) = 0;
virtual void setBreakpointsActive(long callId, bool in_active) = 0;
virtual void setBreakpointByUrl(long callId, int in_lineNumber, const String* in_url, const String* in_urlRegex, const int* in_columnNumber, const JSON::Object* in_options) = 0;
virtual void setBreakpoint(long callId, const JSON::Object& in_location, const JSON::Object* in_options) = 0;
virtual void removeBreakpoint(long callId, const String& in_breakpointId) = 0;
virtual void continueUntilNextRunLoop(long callId) = 0;
virtual void continueToLocation(long callId, const JSON::Object& in_location) = 0;
virtual void stepOver(long callId) = 0;
virtual void stepInto(long callId) = 0;
virtual void stepOut(long callId) = 0;
virtual void pause(long callId) = 0;
virtual void resume(long callId) = 0;
virtual void searchInContent(long callId, const String& in_scriptId, const String& in_query, const bool* in_caseSensitive, const bool* in_isRegex) = 0;
virtual void getScriptSource(long callId, const String& in_scriptId) = 0;
virtual void getFunctionDetails(long callId, const String& in_functionId) = 0;
virtual void setPauseOnExceptions(long callId, const String& in_state) = 0;
virtual void setPauseOnAssertions(long callId, bool in_enabled) = 0;
virtual void setPauseForInternalScripts(long callId, bool in_shouldPause) = 0;
virtual void evaluateOnCallFrame(long callId, const String& in_callFrameId, const String& in_expression, const String* in_objectGroup, const bool* in_includeCommandLineAPI, const bool* in_doNotPauseOnExceptionsAndMuteConsole, const bool* in_returnByValue, const bool* in_generatePreview, const bool* in_saveResult) = 0;
};
class AlternateHeapBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateHeapBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void gc(long callId) = 0;
virtual void snapshot(long callId) = 0;
virtual void startTracking(long callId) = 0;
virtual void stopTracking(long callId) = 0;
virtual void getPreview(long callId, int in_heapObjectId) = 0;
virtual void getRemoteObject(long callId, int in_heapObjectId, const String* in_objectGroup) = 0;
};
#if ENABLE(INDEXED_DATABASE)
class AlternateIndexedDBBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateIndexedDBBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void requestDatabaseNames(long callId, const String& in_securityOrigin) = 0;
virtual void requestDatabase(long callId, const String& in_securityOrigin, const String& in_databaseName) = 0;
virtual void requestData(long callId, const String& in_securityOrigin, const String& in_databaseName, const String& in_objectStoreName, const String& in_indexName, int in_skipCount, int in_pageSize, const JSON::Object* in_keyRange) = 0;
virtual void clearObjectStore(long callId, const String& in_securityOrigin, const String& in_databaseName, const String& in_objectStoreName) = 0;
};
#endif // ENABLE(INDEXED_DATABASE)
class AlternateInspectorBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateInspectorBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void initialized(long callId) = 0;
};
class AlternateLayerTreeBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateLayerTreeBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void layersForNode(long callId, int in_nodeId) = 0;
virtual void reasonsForCompositingLayer(long callId, const String& in_layerId) = 0;
};
#if ENABLE(RESOURCE_USAGE)
class AlternateMemoryBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateMemoryBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void startTracking(long callId) = 0;
virtual void stopTracking(long callId) = 0;
};
#endif // ENABLE(RESOURCE_USAGE)
class AlternateNetworkBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateNetworkBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void setExtraHTTPHeaders(long callId, const JSON::Object& in_headers) = 0;
virtual void getResponseBody(long callId, const String& in_requestId) = 0;
virtual void setResourceCachingDisabled(long callId, bool in_disabled) = 0;
virtual void loadResource(long callId, const String& in_frameId, const String& in_url) = 0;
virtual void getSerializedCertificate(long callId, const String& in_requestId) = 0;
virtual void resolveWebSocket(long callId, const String& in_requestId, const String* in_objectGroup) = 0;
};
class AlternatePageBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternatePageBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void reload(long callId, const bool* in_ignoreCache, const bool* in_revalidateAllResources) = 0;
virtual void navigate(long callId, const String& in_url) = 0;
virtual void overrideUserAgent(long callId, const String* in_value) = 0;
virtual void overrideSetting(long callId, const String& in_setting, const bool* in_value) = 0;
virtual void getCookies(long callId) = 0;
virtual void deleteCookie(long callId, const String& in_cookieName, const String& in_url) = 0;
virtual void getResourceTree(long callId) = 0;
virtual void getResourceContent(long callId, const String& in_frameId, const String& in_url) = 0;
virtual void searchInResource(long callId, const String& in_frameId, const String& in_url, const String& in_query, const bool* in_caseSensitive, const bool* in_isRegex, const String* in_requestId) = 0;
virtual void searchInResources(long callId, const String& in_text, const bool* in_caseSensitive, const bool* in_isRegex) = 0;
virtual void setShowRulers(long callId, bool in_result) = 0;
virtual void setShowPaintRects(long callId, bool in_result) = 0;
virtual void setEmulatedMedia(long callId, const String& in_media) = 0;
virtual void setForcedAppearance(long callId, const String& in_appearance) = 0;
virtual void getCompositingBordersVisible(long callId) = 0;
virtual void setCompositingBordersVisible(long callId, bool in_visible) = 0;
virtual void snapshotNode(long callId, int in_nodeId) = 0;
virtual void snapshotRect(long callId, int in_x, int in_y, int in_width, int in_height, const String& in_coordinateSystem) = 0;
virtual void archive(long callId) = 0;
};
class AlternateRuntimeBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateRuntimeBackendDispatcher() { }
virtual void parse(long callId, const String& in_source) = 0;
virtual void evaluate(long callId, const String& in_expression, const String* in_objectGroup, const bool* in_includeCommandLineAPI, const bool* in_doNotPauseOnExceptionsAndMuteConsole, const int* in_contextId, const bool* in_returnByValue, const bool* in_generatePreview, const bool* in_saveResult, const bool* in_emulateUserGesture) = 0;
virtual void awaitPromise(long callId, const String& in_promiseObjectId, const bool* in_returnByValue, const bool* in_generatePreview, const bool* in_saveResult) = 0;
virtual void callFunctionOn(long callId, const String& in_objectId, const String& in_functionDeclaration, const JSON::Array* in_arguments, const bool* in_doNotPauseOnExceptionsAndMuteConsole, const bool* in_returnByValue, const bool* in_generatePreview) = 0;
virtual void getPreview(long callId, const String& in_objectId) = 0;
virtual void getProperties(long callId, const String& in_objectId, const bool* in_ownProperties, const bool* in_generatePreview) = 0;
virtual void getDisplayableProperties(long callId, const String& in_objectId, const bool* in_generatePreview) = 0;
virtual void getCollectionEntries(long callId, const String& in_objectId, const String* in_objectGroup, const int* in_startIndex, const int* in_numberToFetch) = 0;
virtual void saveResult(long callId, const JSON::Object& in_value, const int* in_contextId) = 0;
virtual void releaseObject(long callId, const String& in_objectId) = 0;
virtual void releaseObjectGroup(long callId, const String& in_objectGroup) = 0;
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void getRuntimeTypesForVariablesAtOffsets(long callId, const JSON::Array& in_locations) = 0;
virtual void enableTypeProfiler(long callId) = 0;
virtual void disableTypeProfiler(long callId) = 0;
virtual void enableControlFlowProfiler(long callId) = 0;
virtual void disableControlFlowProfiler(long callId) = 0;
virtual void getBasicBlocks(long callId, const String& in_sourceID) = 0;
};
class AlternateScriptProfilerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateScriptProfilerBackendDispatcher() { }
virtual void startTracking(long callId, const bool* in_includeSamples) = 0;
virtual void stopTracking(long callId) = 0;
};
class AlternateServiceWorkerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateServiceWorkerBackendDispatcher() { }
virtual void getInitializationInfo(long callId) = 0;
};
class AlternateTargetBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateTargetBackendDispatcher() { }
virtual void exists(long callId) = 0;
virtual void sendMessageToTarget(long callId, const String& in_targetId, const String& in_message) = 0;
};
class AlternateTimelineBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateTimelineBackendDispatcher() { }
virtual void start(long callId, const int* in_maxCallStackDepth) = 0;
virtual void stop(long callId) = 0;
virtual void setAutoCaptureEnabled(long callId, bool in_enabled) = 0;
virtual void setInstruments(long callId, const JSON::Array& in_instruments) = 0;
};
class AlternateWorkerBackendDispatcher : public AlternateBackendDispatcher {
public:
virtual ~AlternateWorkerBackendDispatcher() { }
virtual void enable(long callId) = 0;
virtual void disable(long callId) = 0;
virtual void initialized(long callId, const String& in_workerId) = 0;
virtual void sendMessageToWorker(long callId, const String& in_workerId, const String& in_message) = 0;
};
} // namespace Inspector
#endif // ENABLE(INSPECTOR_ALTERNATE_DISPATCHERS)

View File

@ -0,0 +1,486 @@
/*
* 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
// ApplicationCache.
InspectorBackend.registerApplicationCacheDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "ApplicationCache");
InspectorBackend.registerEvent("ApplicationCache.applicationCacheStatusUpdated", ["frameId", "manifestURL", "status"]);
InspectorBackend.registerEvent("ApplicationCache.networkStateUpdated", ["isNowOnline"]);
InspectorBackend.registerCommand("ApplicationCache.getFramesWithManifests", [], ["frameIds"]);
InspectorBackend.registerCommand("ApplicationCache.enable", [], []);
InspectorBackend.registerCommand("ApplicationCache.getManifestForFrame", [{"name": "frameId", "type": "string", "optional": false}], ["manifestURL"]);
InspectorBackend.registerCommand("ApplicationCache.getApplicationCacheForFrame", [{"name": "frameId", "type": "string", "optional": false}], ["applicationCache"]);
InspectorBackend.activateDomain("ApplicationCache", ["web"]);
// Audit.
InspectorBackend.registerVersion("Audit", 3);
InspectorBackend.registerCommand("Audit.setup", [{"name": "contextId", "type": "number", "optional": true}], []);
InspectorBackend.registerCommand("Audit.run", [{"name": "test", "type": "string", "optional": false}, {"name": "contextId", "type": "number", "optional": true}], ["result", "wasThrown"]);
InspectorBackend.registerCommand("Audit.teardown", [], []);
InspectorBackend.activateDomain("Audit");
// CPUProfiler.
InspectorBackend.registerCPUProfilerDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "CPUProfiler");
InspectorBackend.registerEnum("CPUProfiler.ThreadInfoType", {Main: "main", WebKit: "webkit"});
InspectorBackend.registerEvent("CPUProfiler.trackingStart", ["timestamp"]);
InspectorBackend.registerEvent("CPUProfiler.trackingUpdate", ["event"]);
InspectorBackend.registerEvent("CPUProfiler.trackingComplete", ["timestamp"]);
InspectorBackend.registerCommand("CPUProfiler.startTracking", [], []);
InspectorBackend.registerCommand("CPUProfiler.stopTracking", [], []);
InspectorBackend.activateDomain("CPUProfiler", ["web"]);
// CSS.
InspectorBackend.registerCSSDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "CSS");
InspectorBackend.registerEnum("CSS.StyleSheetOrigin", {User: "user", UserAgent: "user-agent", Inspector: "inspector", Regular: "regular"});
InspectorBackend.registerEnum("CSS.PseudoId", {FirstLine: "first-line", FirstLetter: "first-letter", 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.CSSMediaSource", {MediaRule: "mediaRule", ImportRule: "importRule", LinkedSheet: "linkedSheet", InlineSheet: "inlineSheet"});
InspectorBackend.registerEvent("CSS.mediaQueryResultChanged", []);
InspectorBackend.registerEvent("CSS.styleSheetChanged", ["styleSheetId"]);
InspectorBackend.registerEvent("CSS.styleSheetAdded", ["header"]);
InspectorBackend.registerEvent("CSS.styleSheetRemoved", ["styleSheetId"]);
InspectorBackend.registerCommand("CSS.enable", [], []);
InspectorBackend.registerCommand("CSS.disable", [], []);
InspectorBackend.registerCommand("CSS.getMatchedStylesForNode", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "includePseudo", "type": "boolean", "optional": true}, {"name": "includeInherited", "type": "boolean", "optional": true}], ["matchedCSSRules", "pseudoElements", "inherited"]);
InspectorBackend.registerCommand("CSS.getInlineStylesForNode", [{"name": "nodeId", "type": "number", "optional": false}], ["inlineStyle", "attributesStyle"]);
InspectorBackend.registerCommand("CSS.getComputedStyleForNode", [{"name": "nodeId", "type": "number", "optional": false}], ["computedStyle"]);
InspectorBackend.registerCommand("CSS.getAllStyleSheets", [], ["headers"]);
InspectorBackend.registerCommand("CSS.getStyleSheet", [{"name": "styleSheetId", "type": "string", "optional": false}], ["styleSheet"]);
InspectorBackend.registerCommand("CSS.getStyleSheetText", [{"name": "styleSheetId", "type": "string", "optional": false}], ["text"]);
InspectorBackend.registerCommand("CSS.setStyleSheetText", [{"name": "styleSheetId", "type": "string", "optional": false}, {"name": "text", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("CSS.setStyleText", [{"name": "styleId", "type": "object", "optional": false}, {"name": "text", "type": "string", "optional": false}], ["style"]);
InspectorBackend.registerCommand("CSS.setRuleSelector", [{"name": "ruleId", "type": "object", "optional": false}, {"name": "selector", "type": "string", "optional": false}], ["rule"]);
InspectorBackend.registerCommand("CSS.createStyleSheet", [{"name": "frameId", "type": "string", "optional": false}], ["styleSheetId"]);
InspectorBackend.registerCommand("CSS.addRule", [{"name": "styleSheetId", "type": "string", "optional": false}, {"name": "selector", "type": "string", "optional": false}], ["rule"]);
InspectorBackend.registerCommand("CSS.getSupportedCSSProperties", [], ["cssProperties"]);
InspectorBackend.registerCommand("CSS.getSupportedSystemFontFamilyNames", [], ["fontFamilyNames"]);
InspectorBackend.registerCommand("CSS.forcePseudoState", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "forcedPseudoClasses", "type": "object", "optional": false}], []);
InspectorBackend.activateDomain("CSS", ["web"]);
// Canvas.
InspectorBackend.registerCanvasDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Canvas");
InspectorBackend.registerEnum("Canvas.ContextType", {Canvas2D: "canvas-2d", BitmapRenderer: "bitmaprenderer", WebGL: "webgl", WebGL2: "webgl2", WebGPU: "webgpu"});
InspectorBackend.registerEnum("Canvas.ShaderType", {Fragment: "fragment", Vertex: "vertex"});
InspectorBackend.registerEvent("Canvas.canvasAdded", ["canvas"]);
InspectorBackend.registerEvent("Canvas.canvasRemoved", ["canvasId"]);
InspectorBackend.registerEvent("Canvas.canvasMemoryChanged", ["canvasId", "memoryCost"]);
InspectorBackend.registerEvent("Canvas.extensionEnabled", ["canvasId", "extension"]);
InspectorBackend.registerEvent("Canvas.cssCanvasClientNodesChanged", ["canvasId"]);
InspectorBackend.registerEvent("Canvas.recordingStarted", ["canvasId", "initiator"]);
InspectorBackend.registerEvent("Canvas.recordingProgress", ["canvasId", "frames", "bufferUsed"]);
InspectorBackend.registerEvent("Canvas.recordingFinished", ["canvasId", "recording"]);
InspectorBackend.registerEvent("Canvas.programCreated", ["canvasId", "programId"]);
InspectorBackend.registerEvent("Canvas.programDeleted", ["programId"]);
InspectorBackend.registerCommand("Canvas.enable", [], []);
InspectorBackend.registerCommand("Canvas.disable", [], []);
InspectorBackend.registerCommand("Canvas.requestNode", [{"name": "canvasId", "type": "string", "optional": false}], ["nodeId"]);
InspectorBackend.registerCommand("Canvas.requestContent", [{"name": "canvasId", "type": "string", "optional": false}], ["content"]);
InspectorBackend.registerCommand("Canvas.requestCSSCanvasClientNodes", [{"name": "canvasId", "type": "string", "optional": false}], ["clientNodeIds"]);
InspectorBackend.registerCommand("Canvas.resolveCanvasContext", [{"name": "canvasId", "type": "string", "optional": false}, {"name": "objectGroup", "type": "string", "optional": true}], ["object"]);
InspectorBackend.registerCommand("Canvas.setRecordingAutoCaptureFrameCount", [{"name": "count", "type": "number", "optional": false}], []);
InspectorBackend.registerCommand("Canvas.startRecording", [{"name": "canvasId", "type": "string", "optional": false}, {"name": "frameCount", "type": "number", "optional": true}, {"name": "memoryLimit", "type": "number", "optional": true}], []);
InspectorBackend.registerCommand("Canvas.stopRecording", [{"name": "canvasId", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Canvas.requestShaderSource", [{"name": "programId", "type": "string", "optional": false}, {"name": "shaderType", "type": "string", "optional": false}], ["content"]);
InspectorBackend.registerCommand("Canvas.updateShader", [{"name": "programId", "type": "string", "optional": false}, {"name": "shaderType", "type": "string", "optional": false}, {"name": "source", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Canvas.setShaderProgramDisabled", [{"name": "programId", "type": "string", "optional": false}, {"name": "disabled", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("Canvas.setShaderProgramHighlighted", [{"name": "programId", "type": "string", "optional": false}, {"name": "highlighted", "type": "boolean", "optional": false}], []);
InspectorBackend.activateDomain("Canvas", ["web"]);
// Console.
InspectorBackend.registerConsoleDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Console");
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", 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.registerEvent("Console.messageAdded", ["message"]);
InspectorBackend.registerEvent("Console.messageRepeatCountUpdated", ["count"]);
InspectorBackend.registerEvent("Console.messagesCleared", []);
InspectorBackend.registerEvent("Console.heapSnapshot", ["timestamp", "snapshotData", "title"]);
InspectorBackend.registerCommand("Console.enable", [], []);
InspectorBackend.registerCommand("Console.disable", [], []);
InspectorBackend.registerCommand("Console.clearMessages", [], []);
InspectorBackend.registerCommand("Console.getLoggingChannels", [], ["channels"]);
InspectorBackend.registerCommand("Console.setLoggingChannelLevel", [{"name": "source", "type": "string", "optional": false}, {"name": "level", "type": "string", "optional": false}], []);
InspectorBackend.activateDomain("Console");
// DOM.
InspectorBackend.registerDOMDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "DOM");
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.registerEvent("DOM.documentUpdated", []);
InspectorBackend.registerEvent("DOM.inspect", ["nodeId"]);
InspectorBackend.registerEvent("DOM.setChildNodes", ["parentId", "nodes"]);
InspectorBackend.registerEvent("DOM.attributeModified", ["nodeId", "name", "value"]);
InspectorBackend.registerEvent("DOM.attributeRemoved", ["nodeId", "name"]);
InspectorBackend.registerEvent("DOM.inlineStyleInvalidated", ["nodeIds"]);
InspectorBackend.registerEvent("DOM.characterDataModified", ["nodeId", "characterData"]);
InspectorBackend.registerEvent("DOM.childNodeCountUpdated", ["nodeId", "childNodeCount"]);
InspectorBackend.registerEvent("DOM.childNodeInserted", ["parentNodeId", "previousNodeId", "node"]);
InspectorBackend.registerEvent("DOM.childNodeRemoved", ["parentNodeId", "nodeId"]);
InspectorBackend.registerEvent("DOM.shadowRootPushed", ["hostId", "root"]);
InspectorBackend.registerEvent("DOM.shadowRootPopped", ["hostId", "rootId"]);
InspectorBackend.registerEvent("DOM.customElementStateChanged", ["nodeId", "customElementState"]);
InspectorBackend.registerEvent("DOM.pseudoElementAdded", ["parentId", "pseudoElement"]);
InspectorBackend.registerEvent("DOM.pseudoElementRemoved", ["parentId", "pseudoElementId"]);
InspectorBackend.registerEvent("DOM.didAddEventListener", ["nodeId"]);
InspectorBackend.registerEvent("DOM.willRemoveEventListener", ["nodeId"]);
InspectorBackend.registerEvent("DOM.didFireEvent", ["nodeId", "eventName", "timestamp", "data"]);
InspectorBackend.registerEvent("DOM.powerEfficientPlaybackStateChanged", ["nodeId", "timestamp", "isPowerEfficient"]);
InspectorBackend.registerCommand("DOM.getDocument", [], ["root"]);
InspectorBackend.registerCommand("DOM.requestChildNodes", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "depth", "type": "number", "optional": true}], []);
InspectorBackend.registerCommand("DOM.querySelector", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "selector", "type": "string", "optional": false}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.querySelectorAll", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "selector", "type": "string", "optional": false}], ["nodeIds"]);
InspectorBackend.registerCommand("DOM.setNodeName", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "name", "type": "string", "optional": false}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.setNodeValue", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "value", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOM.removeNode", [{"name": "nodeId", "type": "number", "optional": false}], []);
InspectorBackend.registerCommand("DOM.setAttributeValue", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "name", "type": "string", "optional": false}, {"name": "value", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOM.setAttributesAsText", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "text", "type": "string", "optional": false}, {"name": "name", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("DOM.removeAttribute", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "name", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOM.getSupportedEventNames", [], ["eventNames"]);
InspectorBackend.registerCommand("DOM.getDataBindingsForNode", [{"name": "nodeId", "type": "number", "optional": false}], ["dataBindings"]);
InspectorBackend.registerCommand("DOM.getAssociatedDataForNode", [{"name": "nodeId", "type": "number", "optional": false}], ["associatedData"]);
InspectorBackend.registerCommand("DOM.getEventListenersForNode", [{"name": "nodeId", "type": "number", "optional": false}], ["listeners"]);
InspectorBackend.registerCommand("DOM.setEventListenerDisabled", [{"name": "eventListenerId", "type": "number", "optional": false}, {"name": "disabled", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("DOM.setBreakpointForEventListener", [{"name": "eventListenerId", "type": "number", "optional": false}], []);
InspectorBackend.registerCommand("DOM.removeBreakpointForEventListener", [{"name": "eventListenerId", "type": "number", "optional": false}], []);
InspectorBackend.registerCommand("DOM.getAccessibilityPropertiesForNode", [{"name": "nodeId", "type": "number", "optional": false}], ["properties"]);
InspectorBackend.registerCommand("DOM.getOuterHTML", [{"name": "nodeId", "type": "number", "optional": false}], ["outerHTML"]);
InspectorBackend.registerCommand("DOM.setOuterHTML", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "outerHTML", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOM.insertAdjacentHTML", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "position", "type": "string", "optional": false}, {"name": "html", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOM.performSearch", [{"name": "query", "type": "string", "optional": false}, {"name": "nodeIds", "type": "object", "optional": true}, {"name": "caseSensitive", "type": "boolean", "optional": true}], ["searchId", "resultCount"]);
InspectorBackend.registerCommand("DOM.getSearchResults", [{"name": "searchId", "type": "string", "optional": false}, {"name": "fromIndex", "type": "number", "optional": false}, {"name": "toIndex", "type": "number", "optional": false}], ["nodeIds"]);
InspectorBackend.registerCommand("DOM.discardSearchResults", [{"name": "searchId", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOM.requestNode", [{"name": "objectId", "type": "string", "optional": false}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.setInspectModeEnabled", [{"name": "enabled", "type": "boolean", "optional": false}, {"name": "highlightConfig", "type": "object", "optional": true}, {"name": "showRulers", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightRect", [{"name": "x", "type": "number", "optional": false}, {"name": "y", "type": "number", "optional": false}, {"name": "width", "type": "number", "optional": false}, {"name": "height", "type": "number", "optional": false}, {"name": "color", "type": "object", "optional": true}, {"name": "outlineColor", "type": "object", "optional": true}, {"name": "usePageCoordinates", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightQuad", [{"name": "quad", "type": "object", "optional": false}, {"name": "color", "type": "object", "optional": true}, {"name": "outlineColor", "type": "object", "optional": true}, {"name": "usePageCoordinates", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightSelector", [{"name": "highlightConfig", "type": "object", "optional": false}, {"name": "selectorString", "type": "string", "optional": false}, {"name": "frameId", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightNode", [{"name": "highlightConfig", "type": "object", "optional": false}, {"name": "nodeId", "type": "number", "optional": true}, {"name": "objectId", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("DOM.highlightNodeList", [{"name": "nodeIds", "type": "object", "optional": false}, {"name": "highlightConfig", "type": "object", "optional": false}], []);
InspectorBackend.registerCommand("DOM.hideHighlight", [], []);
InspectorBackend.registerCommand("DOM.highlightFrame", [{"name": "frameId", "type": "string", "optional": false}, {"name": "contentColor", "type": "object", "optional": true}, {"name": "contentOutlineColor", "type": "object", "optional": true}], []);
InspectorBackend.registerCommand("DOM.pushNodeByPathToFrontend", [{"name": "path", "type": "string", "optional": false}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.resolveNode", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "objectGroup", "type": "string", "optional": true}], ["object"]);
InspectorBackend.registerCommand("DOM.getAttributes", [{"name": "nodeId", "type": "number", "optional": false}], ["attributes"]);
InspectorBackend.registerCommand("DOM.moveTo", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "targetNodeId", "type": "number", "optional": false}, {"name": "insertBeforeNodeId", "type": "number", "optional": true}], ["nodeId"]);
InspectorBackend.registerCommand("DOM.undo", [], []);
InspectorBackend.registerCommand("DOM.redo", [], []);
InspectorBackend.registerCommand("DOM.markUndoableState", [], []);
InspectorBackend.registerCommand("DOM.focus", [{"name": "nodeId", "type": "number", "optional": false}], []);
InspectorBackend.registerCommand("DOM.setInspectedNode", [{"name": "nodeId", "type": "number", "optional": false}], []);
InspectorBackend.activateDomain("DOM", ["web"]);
// DOMDebugger.
InspectorBackend.registerEnum("DOMDebugger.DOMBreakpointType", {SubtreeModified: "subtree-modified", AttributeModified: "attribute-modified", NodeRemoved: "node-removed"});
InspectorBackend.registerEnum("DOMDebugger.EventBreakpointType", {AnimationFrame: "animation-frame", Listener: "listener", Timer: "timer"});
InspectorBackend.registerCommand("DOMDebugger.setDOMBreakpoint", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "type", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOMDebugger.removeDOMBreakpoint", [{"name": "nodeId", "type": "number", "optional": false}, {"name": "type", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOMDebugger.setEventBreakpoint", [{"name": "breakpointType", "type": "string", "optional": false}, {"name": "eventName", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOMDebugger.removeEventBreakpoint", [{"name": "breakpointType", "type": "string", "optional": false}, {"name": "eventName", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOMDebugger.setURLBreakpoint", [{"name": "url", "type": "string", "optional": false}, {"name": "isRegex", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("DOMDebugger.removeURLBreakpoint", [{"name": "url", "type": "string", "optional": false}], []);
InspectorBackend.activateDomain("DOMDebugger", ["web"]);
// DOMStorage.
InspectorBackend.registerDOMStorageDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "DOMStorage");
InspectorBackend.registerEvent("DOMStorage.domStorageItemsCleared", ["storageId"]);
InspectorBackend.registerEvent("DOMStorage.domStorageItemRemoved", ["storageId", "key"]);
InspectorBackend.registerEvent("DOMStorage.domStorageItemAdded", ["storageId", "key", "newValue"]);
InspectorBackend.registerEvent("DOMStorage.domStorageItemUpdated", ["storageId", "key", "oldValue", "newValue"]);
InspectorBackend.registerCommand("DOMStorage.enable", [], []);
InspectorBackend.registerCommand("DOMStorage.disable", [], []);
InspectorBackend.registerCommand("DOMStorage.getDOMStorageItems", [{"name": "storageId", "type": "object", "optional": false}], ["entries"]);
InspectorBackend.registerCommand("DOMStorage.setDOMStorageItem", [{"name": "storageId", "type": "object", "optional": false}, {"name": "key", "type": "string", "optional": false}, {"name": "value", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("DOMStorage.removeDOMStorageItem", [{"name": "storageId", "type": "object", "optional": false}, {"name": "key", "type": "string", "optional": false}], []);
InspectorBackend.activateDomain("DOMStorage", ["web"]);
// Database.
InspectorBackend.registerDatabaseDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Database");
InspectorBackend.registerEvent("Database.addDatabase", ["database"]);
InspectorBackend.registerCommand("Database.enable", [], []);
InspectorBackend.registerCommand("Database.disable", [], []);
InspectorBackend.registerCommand("Database.getDatabaseTableNames", [{"name": "databaseId", "type": "string", "optional": false}], ["tableNames"]);
InspectorBackend.registerCommand("Database.executeSQL", [{"name": "databaseId", "type": "string", "optional": false}, {"name": "query", "type": "string", "optional": false}], ["columnNames", "values", "sqlError"]);
InspectorBackend.activateDomain("Database", ["web"]);
// Debugger.
InspectorBackend.registerDebuggerDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Debugger");
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.registerEvent("Debugger.globalObjectCleared", []);
InspectorBackend.registerEvent("Debugger.scriptParsed", ["scriptId", "url", "startLine", "startColumn", "endLine", "endColumn", "isContentScript", "sourceURL", "sourceMapURL", "module"]);
InspectorBackend.registerEvent("Debugger.scriptFailedToParse", ["url", "scriptSource", "startLine", "errorLine", "errorMessage"]);
InspectorBackend.registerEvent("Debugger.breakpointResolved", ["breakpointId", "location"]);
InspectorBackend.registerEnum("Debugger.PausedReason", {XHR: "XHR", Fetch: "Fetch", DOM: "DOM", AnimationFrame: "AnimationFrame", EventListener: "EventListener", Timer: "Timer", Exception: "exception", Assert: "assert", CSPViolation: "CSPViolation", DebuggerStatement: "DebuggerStatement", Breakpoint: "Breakpoint", PauseOnNextStatement: "PauseOnNextStatement", Other: "other"});
InspectorBackend.registerEvent("Debugger.paused", ["callFrames", "reason", "data", "asyncStackTrace"]);
InspectorBackend.registerEvent("Debugger.resumed", []);
InspectorBackend.registerEvent("Debugger.didSampleProbe", ["sample"]);
InspectorBackend.registerEvent("Debugger.playBreakpointActionSound", ["breakpointActionId"]);
InspectorBackend.registerCommand("Debugger.enable", [], []);
InspectorBackend.registerCommand("Debugger.disable", [], []);
InspectorBackend.registerCommand("Debugger.setAsyncStackTraceDepth", [{"name": "depth", "type": "number", "optional": false}], []);
InspectorBackend.registerCommand("Debugger.setBreakpointsActive", [{"name": "active", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("Debugger.setBreakpointByUrl", [{"name": "lineNumber", "type": "number", "optional": false}, {"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", [{"name": "location", "type": "object", "optional": false}, {"name": "options", "type": "object", "optional": true}], ["breakpointId", "actualLocation"]);
InspectorBackend.registerCommand("Debugger.removeBreakpoint", [{"name": "breakpointId", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Debugger.continueUntilNextRunLoop", [], []);
InspectorBackend.registerCommand("Debugger.continueToLocation", [{"name": "location", "type": "object", "optional": false}], []);
InspectorBackend.registerCommand("Debugger.stepOver", [], []);
InspectorBackend.registerCommand("Debugger.stepInto", [], []);
InspectorBackend.registerCommand("Debugger.stepOut", [], []);
InspectorBackend.registerCommand("Debugger.pause", [], []);
InspectorBackend.registerCommand("Debugger.resume", [], []);
InspectorBackend.registerCommand("Debugger.searchInContent", [{"name": "scriptId", "type": "string", "optional": false}, {"name": "query", "type": "string", "optional": false}, {"name": "caseSensitive", "type": "boolean", "optional": true}, {"name": "isRegex", "type": "boolean", "optional": true}], ["result"]);
InspectorBackend.registerCommand("Debugger.getScriptSource", [{"name": "scriptId", "type": "string", "optional": false}], ["scriptSource"]);
InspectorBackend.registerCommand("Debugger.getFunctionDetails", [{"name": "functionId", "type": "string", "optional": false}], ["details"]);
InspectorBackend.registerCommand("Debugger.setPauseOnExceptions", [{"name": "state", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Debugger.setPauseOnAssertions", [{"name": "enabled", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("Debugger.setPauseForInternalScripts", [{"name": "shouldPause", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("Debugger.evaluateOnCallFrame", [{"name": "callFrameId", "type": "string", "optional": false}, {"name": "expression", "type": "string", "optional": false}, {"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}], ["result", "wasThrown", "savedResultIndex"]);
InspectorBackend.activateDomain("Debugger");
// Heap.
InspectorBackend.registerHeapDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Heap");
InspectorBackend.registerEnum("Heap.GarbageCollectionType", {Full: "full", Partial: "partial"});
InspectorBackend.registerEvent("Heap.garbageCollected", ["collection"]);
InspectorBackend.registerEvent("Heap.trackingStart", ["timestamp", "snapshotData"]);
InspectorBackend.registerEvent("Heap.trackingComplete", ["timestamp", "snapshotData"]);
InspectorBackend.registerCommand("Heap.enable", [], []);
InspectorBackend.registerCommand("Heap.disable", [], []);
InspectorBackend.registerCommand("Heap.gc", [], []);
InspectorBackend.registerCommand("Heap.snapshot", [], ["timestamp", "snapshotData"]);
InspectorBackend.registerCommand("Heap.startTracking", [], []);
InspectorBackend.registerCommand("Heap.stopTracking", [], []);
InspectorBackend.registerCommand("Heap.getPreview", [{"name": "heapObjectId", "type": "number", "optional": false}], ["string", "functionDetails", "preview"]);
InspectorBackend.registerCommand("Heap.getRemoteObject", [{"name": "heapObjectId", "type": "number", "optional": false}, {"name": "objectGroup", "type": "string", "optional": true}], ["result"]);
InspectorBackend.activateDomain("Heap");
// IndexedDB.
InspectorBackend.registerIndexedDBDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "IndexedDB");
InspectorBackend.registerEnum("IndexedDB.KeyType", {Number: "number", String: "string", Date: "date", Array: "array"});
InspectorBackend.registerEnum("IndexedDB.KeyPathType", {Null: "null", String: "string", Array: "array"});
InspectorBackend.registerCommand("IndexedDB.enable", [], []);
InspectorBackend.registerCommand("IndexedDB.disable", [], []);
InspectorBackend.registerCommand("IndexedDB.requestDatabaseNames", [{"name": "securityOrigin", "type": "string", "optional": false}], ["databaseNames"]);
InspectorBackend.registerCommand("IndexedDB.requestDatabase", [{"name": "securityOrigin", "type": "string", "optional": false}, {"name": "databaseName", "type": "string", "optional": false}], ["databaseWithObjectStores"]);
InspectorBackend.registerCommand("IndexedDB.requestData", [{"name": "securityOrigin", "type": "string", "optional": false}, {"name": "databaseName", "type": "string", "optional": false}, {"name": "objectStoreName", "type": "string", "optional": false}, {"name": "indexName", "type": "string", "optional": false}, {"name": "skipCount", "type": "number", "optional": false}, {"name": "pageSize", "type": "number", "optional": false}, {"name": "keyRange", "type": "object", "optional": true}], ["objectStoreDataEntries", "hasMore"]);
InspectorBackend.registerCommand("IndexedDB.clearObjectStore", [{"name": "securityOrigin", "type": "string", "optional": false}, {"name": "databaseName", "type": "string", "optional": false}, {"name": "objectStoreName", "type": "string", "optional": false}], []);
InspectorBackend.activateDomain("IndexedDB", ["web"]);
// Inspector.
InspectorBackend.registerInspectorDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Inspector");
InspectorBackend.registerEvent("Inspector.evaluateForTestInFrontend", ["script"]);
InspectorBackend.registerEvent("Inspector.inspect", ["object", "hints"]);
InspectorBackend.registerEvent("Inspector.activateExtraDomains", ["domains"]);
InspectorBackend.registerCommand("Inspector.enable", [], []);
InspectorBackend.registerCommand("Inspector.disable", [], []);
InspectorBackend.registerCommand("Inspector.initialized", [], []);
InspectorBackend.activateDomain("Inspector", ["javascript", "web"]);
// LayerTree.
InspectorBackend.registerLayerTreeDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "LayerTree");
InspectorBackend.registerEvent("LayerTree.layerTreeDidChange", []);
InspectorBackend.registerCommand("LayerTree.enable", [], []);
InspectorBackend.registerCommand("LayerTree.disable", [], []);
InspectorBackend.registerCommand("LayerTree.layersForNode", [{"name": "nodeId", "type": "number", "optional": false}], ["layers"]);
InspectorBackend.registerCommand("LayerTree.reasonsForCompositingLayer", [{"name": "layerId", "type": "string", "optional": false}], ["compositingReasons"]);
InspectorBackend.activateDomain("LayerTree", ["web"]);
// Memory.
InspectorBackend.registerMemoryDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Memory");
InspectorBackend.registerEnum("Memory.CategoryDataType", {JavaScript: "javascript", JIT: "jit", Images: "images", Layers: "layers", Page: "page", Other: "other"});
InspectorBackend.registerEnum("Memory.MemoryPressureSeverity", {Critical: "critical", NonCritical: "non-critical"});
InspectorBackend.registerEvent("Memory.memoryPressure", ["timestamp", "severity"]);
InspectorBackend.registerEvent("Memory.trackingStart", ["timestamp"]);
InspectorBackend.registerEvent("Memory.trackingUpdate", ["event"]);
InspectorBackend.registerEvent("Memory.trackingComplete", ["timestamp"]);
InspectorBackend.registerCommand("Memory.enable", [], []);
InspectorBackend.registerCommand("Memory.disable", [], []);
InspectorBackend.registerCommand("Memory.startTracking", [], []);
InspectorBackend.registerCommand("Memory.stopTracking", [], []);
InspectorBackend.activateDomain("Memory", ["web"]);
// Network.
InspectorBackend.registerNetworkDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Network");
InspectorBackend.registerEnum("Network.ResponseSource", {Unknown: "unknown", Network: "network", MemoryCache: "memory-cache", DiskCache: "disk-cache", ServiceWorker: "service-worker"});
InspectorBackend.registerEnum("Network.MetricsPriority", {Low: "low", Medium: "medium", High: "high"});
InspectorBackend.registerEnum("Network.InitiatorType", {Parser: "parser", Script: "script", Other: "other"});
InspectorBackend.registerEvent("Network.requestWillBeSent", ["requestId", "frameId", "loaderId", "documentURL", "request", "timestamp", "walltime", "initiator", "redirectResponse", "type", "targetId"]);
InspectorBackend.registerEvent("Network.responseReceived", ["requestId", "frameId", "loaderId", "timestamp", "type", "response"]);
InspectorBackend.registerEvent("Network.dataReceived", ["requestId", "timestamp", "dataLength", "encodedDataLength"]);
InspectorBackend.registerEvent("Network.loadingFinished", ["requestId", "timestamp", "sourceMapURL", "metrics"]);
InspectorBackend.registerEvent("Network.loadingFailed", ["requestId", "timestamp", "errorText", "canceled"]);
InspectorBackend.registerEvent("Network.requestServedFromMemoryCache", ["requestId", "frameId", "loaderId", "documentURL", "timestamp", "initiator", "resource"]);
InspectorBackend.registerEvent("Network.webSocketWillSendHandshakeRequest", ["requestId", "timestamp", "walltime", "request"]);
InspectorBackend.registerEvent("Network.webSocketHandshakeResponseReceived", ["requestId", "timestamp", "response"]);
InspectorBackend.registerEvent("Network.webSocketCreated", ["requestId", "url"]);
InspectorBackend.registerEvent("Network.webSocketClosed", ["requestId", "timestamp"]);
InspectorBackend.registerEvent("Network.webSocketFrameReceived", ["requestId", "timestamp", "response"]);
InspectorBackend.registerEvent("Network.webSocketFrameError", ["requestId", "timestamp", "errorMessage"]);
InspectorBackend.registerEvent("Network.webSocketFrameSent", ["requestId", "timestamp", "response"]);
InspectorBackend.registerCommand("Network.enable", [], []);
InspectorBackend.registerCommand("Network.disable", [], []);
InspectorBackend.registerCommand("Network.setExtraHTTPHeaders", [{"name": "headers", "type": "object", "optional": false}], []);
InspectorBackend.registerCommand("Network.getResponseBody", [{"name": "requestId", "type": "string", "optional": false}], ["body", "base64Encoded"]);
InspectorBackend.registerCommand("Network.setResourceCachingDisabled", [{"name": "disabled", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("Network.loadResource", [{"name": "frameId", "type": "string", "optional": false}, {"name": "url", "type": "string", "optional": false}], ["content", "mimeType", "status"]);
InspectorBackend.registerCommand("Network.getSerializedCertificate", [{"name": "requestId", "type": "string", "optional": false}], ["serializedCertificate"]);
InspectorBackend.registerCommand("Network.resolveWebSocket", [{"name": "requestId", "type": "string", "optional": false}, {"name": "objectGroup", "type": "string", "optional": true}], ["object"]);
InspectorBackend.activateDomain("Network", ["web", "service-worker"]);
// Page.
InspectorBackend.registerPageDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Page");
InspectorBackend.registerEnum("Page.Setting", {AuthorAndUserStylesEnabled: "AuthorAndUserStylesEnabled", ICECandidateFilteringEnabled: "ICECandidateFilteringEnabled", ImagesEnabled: "ImagesEnabled", MediaCaptureRequiresSecureConnection: "MediaCaptureRequiresSecureConnection", MockCaptureDevicesEnabled: "MockCaptureDevicesEnabled", NeedsSiteSpecificQuirks: "NeedsSiteSpecificQuirks", ScriptEnabled: "ScriptEnabled", 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.registerEnum("Page.Appearance", {Light: "Light", Dark: "Dark"});
InspectorBackend.registerEvent("Page.domContentEventFired", ["timestamp"]);
InspectorBackend.registerEvent("Page.loadEventFired", ["timestamp"]);
InspectorBackend.registerEvent("Page.frameNavigated", ["frame"]);
InspectorBackend.registerEvent("Page.frameDetached", ["frameId"]);
InspectorBackend.registerEvent("Page.frameStartedLoading", ["frameId"]);
InspectorBackend.registerEvent("Page.frameStoppedLoading", ["frameId"]);
InspectorBackend.registerEvent("Page.frameScheduledNavigation", ["frameId", "delay"]);
InspectorBackend.registerEvent("Page.frameClearedScheduledNavigation", ["frameId"]);
InspectorBackend.registerEvent("Page.defaultAppearanceDidChange", ["appearance"]);
InspectorBackend.registerCommand("Page.enable", [], []);
InspectorBackend.registerCommand("Page.disable", [], []);
InspectorBackend.registerCommand("Page.reload", [{"name": "ignoreCache", "type": "boolean", "optional": true}, {"name": "revalidateAllResources", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("Page.navigate", [{"name": "url", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Page.overrideUserAgent", [{"name": "value", "type": "string", "optional": true}], []);
InspectorBackend.registerCommand("Page.overrideSetting", [{"name": "setting", "type": "string", "optional": false}, {"name": "value", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("Page.getCookies", [], ["cookies"]);
InspectorBackend.registerCommand("Page.deleteCookie", [{"name": "cookieName", "type": "string", "optional": false}, {"name": "url", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Page.getResourceTree", [], ["frameTree"]);
InspectorBackend.registerCommand("Page.getResourceContent", [{"name": "frameId", "type": "string", "optional": false}, {"name": "url", "type": "string", "optional": false}], ["content", "base64Encoded"]);
InspectorBackend.registerCommand("Page.searchInResource", [{"name": "frameId", "type": "string", "optional": false}, {"name": "url", "type": "string", "optional": false}, {"name": "query", "type": "string", "optional": false}, {"name": "caseSensitive", "type": "boolean", "optional": true}, {"name": "isRegex", "type": "boolean", "optional": true}, {"name": "requestId", "type": "string", "optional": true}], ["result"]);
InspectorBackend.registerCommand("Page.searchInResources", [{"name": "text", "type": "string", "optional": false}, {"name": "caseSensitive", "type": "boolean", "optional": true}, {"name": "isRegex", "type": "boolean", "optional": true}], ["result"]);
InspectorBackend.registerCommand("Page.setShowRulers", [{"name": "result", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("Page.setShowPaintRects", [{"name": "result", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("Page.setEmulatedMedia", [{"name": "media", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Page.setForcedAppearance", [{"name": "appearance", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Page.getCompositingBordersVisible", [], ["result"]);
InspectorBackend.registerCommand("Page.setCompositingBordersVisible", [{"name": "visible", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("Page.snapshotNode", [{"name": "nodeId", "type": "number", "optional": false}], ["dataURL"]);
InspectorBackend.registerCommand("Page.snapshotRect", [{"name": "x", "type": "number", "optional": false}, {"name": "y", "type": "number", "optional": false}, {"name": "width", "type": "number", "optional": false}, {"name": "height", "type": "number", "optional": false}, {"name": "coordinateSystem", "type": "string", "optional": false}], ["dataURL"]);
InspectorBackend.registerCommand("Page.archive", [], ["data"]);
InspectorBackend.activateDomain("Page", ["web"]);
// Recording.
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", ["web"]);
// Runtime.
InspectorBackend.registerRuntimeDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Runtime");
InspectorBackend.registerEnum("Runtime.RemoteObjectType", {Object: "object", Function: "function", Undefined: "undefined", String: "string", Number: "number", Boolean: "boolean", Symbol: "symbol"});
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"});
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", 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.SyntaxErrorType", {None: "none", Irrecoverable: "irrecoverable", UnterminatedLiteral: "unterminated-literal", Recoverable: "recoverable"});
InspectorBackend.registerEvent("Runtime.executionContextCreated", ["context"]);
InspectorBackend.registerCommand("Runtime.parse", [{"name": "source", "type": "string", "optional": false}], ["result", "message", "range"]);
InspectorBackend.registerCommand("Runtime.evaluate", [{"name": "expression", "type": "string", "optional": false}, {"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", [{"name": "promiseObjectId", "type": "string", "optional": false}, {"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", [{"name": "objectId", "type": "string", "optional": false}, {"name": "functionDeclaration", "type": "string", "optional": false}, {"name": "arguments", "type": "object", "optional": true}, {"name": "doNotPauseOnExceptionsAndMuteConsole", "type": "boolean", "optional": true}, {"name": "returnByValue", "type": "boolean", "optional": true}, {"name": "generatePreview", "type": "boolean", "optional": true}], ["result", "wasThrown"]);
InspectorBackend.registerCommand("Runtime.getPreview", [{"name": "objectId", "type": "string", "optional": false}], ["preview"]);
InspectorBackend.registerCommand("Runtime.getProperties", [{"name": "objectId", "type": "string", "optional": false}, {"name": "ownProperties", "type": "boolean", "optional": true}, {"name": "generatePreview", "type": "boolean", "optional": true}], ["result", "internalProperties"]);
InspectorBackend.registerCommand("Runtime.getDisplayableProperties", [{"name": "objectId", "type": "string", "optional": false}, {"name": "generatePreview", "type": "boolean", "optional": true}], ["properties", "internalProperties"]);
InspectorBackend.registerCommand("Runtime.getCollectionEntries", [{"name": "objectId", "type": "string", "optional": false}, {"name": "objectGroup", "type": "string", "optional": true}, {"name": "startIndex", "type": "number", "optional": true}, {"name": "numberToFetch", "type": "number", "optional": true}], ["entries"]);
InspectorBackend.registerCommand("Runtime.saveResult", [{"name": "value", "type": "object", "optional": false}, {"name": "contextId", "type": "number", "optional": true}], ["savedResultIndex"]);
InspectorBackend.registerCommand("Runtime.releaseObject", [{"name": "objectId", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Runtime.releaseObjectGroup", [{"name": "objectGroup", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Runtime.enable", [], []);
InspectorBackend.registerCommand("Runtime.disable", [], []);
InspectorBackend.registerCommand("Runtime.getRuntimeTypesForVariablesAtOffsets", [{"name": "locations", "type": "object", "optional": false}], ["types"]);
InspectorBackend.registerCommand("Runtime.enableTypeProfiler", [], []);
InspectorBackend.registerCommand("Runtime.disableTypeProfiler", [], []);
InspectorBackend.registerCommand("Runtime.enableControlFlowProfiler", [], []);
InspectorBackend.registerCommand("Runtime.disableControlFlowProfiler", [], []);
InspectorBackend.registerCommand("Runtime.getBasicBlocks", [{"name": "sourceID", "type": "string", "optional": false}], ["basicBlocks"]);
InspectorBackend.activateDomain("Runtime");
// ScriptProfiler.
InspectorBackend.registerScriptProfilerDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "ScriptProfiler");
InspectorBackend.registerEnum("ScriptProfiler.EventType", {API: "API", Microtask: "Microtask", Other: "Other"});
InspectorBackend.registerEvent("ScriptProfiler.trackingStart", ["timestamp"]);
InspectorBackend.registerEvent("ScriptProfiler.trackingUpdate", ["event"]);
InspectorBackend.registerEvent("ScriptProfiler.trackingComplete", ["timestamp", "samples"]);
InspectorBackend.registerCommand("ScriptProfiler.startTracking", [{"name": "includeSamples", "type": "boolean", "optional": true}], []);
InspectorBackend.registerCommand("ScriptProfiler.stopTracking", [], []);
InspectorBackend.activateDomain("ScriptProfiler", ["javascript", "web"]);
// ServiceWorker.
InspectorBackend.registerCommand("ServiceWorker.getInitializationInfo", [], ["info"]);
InspectorBackend.activateDomain("ServiceWorker", ["service-worker"]);
// Target.
InspectorBackend.registerTargetDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Target");
InspectorBackend.registerEnum("Target.TargetInfoType", {JavaScript: "javascript", Page: "page", Worker: "worker", ServiceWorker: "serviceworker"});
InspectorBackend.registerEvent("Target.targetCreated", ["targetInfo"]);
InspectorBackend.registerEvent("Target.targetDestroyed", ["targetId"]);
InspectorBackend.registerEvent("Target.dispatchMessageFromTarget", ["targetId", "message"]);
InspectorBackend.registerCommand("Target.exists", [], []);
InspectorBackend.registerCommand("Target.sendMessageToTarget", [{"name": "targetId", "type": "string", "optional": false}, {"name": "message", "type": "string", "optional": false}], []);
InspectorBackend.activateDomain("Target", ["web"]);
// Timeline.
InspectorBackend.registerTimelineDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Timeline");
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"});
InspectorBackend.registerEvent("Timeline.eventRecorded", ["record"]);
InspectorBackend.registerEvent("Timeline.recordingStarted", ["startTime"]);
InspectorBackend.registerEvent("Timeline.recordingStopped", ["endTime"]);
InspectorBackend.registerEvent("Timeline.autoCaptureStarted", []);
InspectorBackend.registerCommand("Timeline.start", [{"name": "maxCallStackDepth", "type": "number", "optional": true}], []);
InspectorBackend.registerCommand("Timeline.stop", [], []);
InspectorBackend.registerCommand("Timeline.setAutoCaptureEnabled", [{"name": "enabled", "type": "boolean", "optional": false}], []);
InspectorBackend.registerCommand("Timeline.setInstruments", [{"name": "instruments", "type": "object", "optional": false}], []);
InspectorBackend.activateDomain("Timeline", ["web"]);
// Worker.
InspectorBackend.registerWorkerDispatcher = InspectorBackend.registerDomainDispatcher.bind(InspectorBackend, "Worker");
InspectorBackend.registerEvent("Worker.workerCreated", ["workerId", "url"]);
InspectorBackend.registerEvent("Worker.workerTerminated", ["workerId"]);
InspectorBackend.registerEvent("Worker.dispatchMessageFromWorker", ["workerId", "message"]);
InspectorBackend.registerCommand("Worker.enable", [], []);
InspectorBackend.registerCommand("Worker.disable", [], []);
InspectorBackend.registerCommand("Worker.initialized", [{"name": "workerId", "type": "string", "optional": false}], []);
InspectorBackend.registerCommand("Worker.sendMessageToWorker", [{"name": "workerId", "type": "string", "optional": false}, {"name": "message", "type": "string", "optional": false}], []);
InspectorBackend.activateDomain("Worker", ["web"]);

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,360 @@
/*
* 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/text/WTFString.h>
namespace Inspector {
class 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;
};
#if 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(RefPtr<Inspector::Protocol::CPUProfiler::Event> event);
void trackingComplete(double timestamp);
private:
FrontendRouter& m_frontendRouter;
};
#endif // 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(RefPtr<Inspector::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(RefPtr<Inspector::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 cssCanvasClientNodesChanged(const String& canvasId);
// Named after parameter 'initiator' while generating command/event recordingStarted.
enum class Initiator {
Frontend = 153,
Console = 154,
AutoCapture = 155,
}; // enum class Initiator
void recordingStarted(const String& canvasId, Inspector::Protocol::Recording::Initiator initiator);
void recordingProgress(const String& canvasId, RefPtr<JSON::ArrayOf<Inspector::Protocol::Recording::Frame>> frames, int bufferUsed);
void recordingFinished(const String& canvasId, RefPtr<Inspector::Protocol::Recording::Recording> recording);
void programCreated(const String& canvasId, const String& programId);
void programDeleted(const String& programId);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE ConsoleFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
ConsoleFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void messageAdded(RefPtr<Inspector::Protocol::Console::ConsoleMessage> message);
void messageRepeatCountUpdated(int count);
void messagesCleared();
void heapSnapshot(double timestamp, const String& snapshotData, const String* 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, RefPtr<JSON::ArrayOf<Inspector::Protocol::DOM::Node>> nodes);
void attributeModified(int nodeId, const String& name, const String& value);
void attributeRemoved(int nodeId, const String& name);
void inlineStyleInvalidated(RefPtr<JSON::ArrayOf<int>> nodeIds);
void characterDataModified(int nodeId, const String& characterData);
void childNodeCountUpdated(int nodeId, int childNodeCount);
void childNodeInserted(int parentNodeId, int previousNodeId, RefPtr<Inspector::Protocol::DOM::Node> node);
void childNodeRemoved(int parentNodeId, int nodeId);
void shadowRootPushed(int hostId, RefPtr<Inspector::Protocol::DOM::Node> root);
void shadowRootPopped(int hostId, int rootId);
// Named after parameter 'customElementState' while generating command/event customElementStateChanged.
enum class CustomElementState {
Builtin = 71,
Custom = 72,
Waiting = 73,
Failed = 74,
}; // enum class CustomElementState
void customElementStateChanged(int nodeId, Inspector::Protocol::DOM::CustomElementState customElementState);
void pseudoElementAdded(int parentId, RefPtr<Inspector::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> data);
void powerEfficientPlaybackStateChanged(int nodeId, double timestamp, bool isPowerEfficient);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE DOMStorageFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
DOMStorageFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void domStorageItemsCleared(RefPtr<Inspector::Protocol::DOMStorage::StorageId> storageId);
void domStorageItemRemoved(RefPtr<Inspector::Protocol::DOMStorage::StorageId> storageId, const String& key);
void domStorageItemAdded(RefPtr<Inspector::Protocol::DOMStorage::StorageId> storageId, const String& key, const String& newValue);
void domStorageItemUpdated(RefPtr<Inspector::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(RefPtr<Inspector::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, const bool* isContentScript, const String* sourceURL, const String* sourceMapURL, const bool* module);
void scriptFailedToParse(const String& url, const String& scriptSource, int startLine, int errorLine, const String& errorMessage);
void breakpointResolved(const String& breakpointId, RefPtr<Inspector::Protocol::Debugger::Location> location);
// Named after parameter 'reason' while generating command/event paused.
enum class Reason {
XHR = 127,
Fetch = 128,
DOM = 206,
AnimationFrame = 207,
EventListener = 208,
Timer = 209,
Exception = 210,
Assert = 64,
CSPViolation = 211,
DebuggerStatement = 212,
Breakpoint = 213,
PauseOnNextStatement = 214,
Other = 47,
}; // enum class Reason
void paused(RefPtr<JSON::ArrayOf<Inspector::Protocol::Debugger::CallFrame>> callFrames, Reason reason, RefPtr<JSON::Object> data, RefPtr<Inspector::Protocol::Console::StackTrace> asyncStackTrace);
void resumed();
void didSampleProbe(RefPtr<Inspector::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(RefPtr<Inspector::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(RefPtr<Inspector::Protocol::Runtime::RemoteObject> object, RefPtr<JSON::Object> hints);
void activateExtraDomains(RefPtr<JSON::ArrayOf<String>> domains);
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 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 = 215,
NonCritical = 216,
}; // enum class Severity
void memoryPressure(double timestamp, Severity severity);
void trackingStart(double timestamp);
void trackingUpdate(RefPtr<Inspector::Protocol::Memory::Event> event);
void trackingComplete(double timestamp);
private:
FrontendRouter& m_frontendRouter;
};
#endif // ENABLE(RESOURCE_USAGE)
class JS_EXPORT_PRIVATE NetworkFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
NetworkFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
// Named after parameter 'type' while generating command/event requestWillBeSent.
enum class Type {
Document = 122,
Stylesheet = 123,
Image = 124,
Font = 125,
Script = 126,
XHR = 127,
Fetch = 128,
Ping = 129,
Beacon = 130,
WebSocket = 131,
Other = 132,
}; // enum class Type
void requestWillBeSent(const String& requestId, const String& frameId, const String& loaderId, const String& documentURL, RefPtr<Inspector::Protocol::Network::Request> request, double timestamp, double walltime, RefPtr<Inspector::Protocol::Network::Initiator> initiator, RefPtr<Inspector::Protocol::Network::Response> redirectResponse, Inspector::Protocol::Page::ResourceType* type, const String* targetId);
void responseReceived(const String& requestId, const String& frameId, const String& loaderId, double timestamp, Inspector::Protocol::Page::ResourceType type, RefPtr<Inspector::Protocol::Network::Response> response);
void dataReceived(const String& requestId, double timestamp, int dataLength, int encodedDataLength);
void loadingFinished(const String& requestId, double timestamp, const String* sourceMapURL, RefPtr<Inspector::Protocol::Network::Metrics> metrics);
void loadingFailed(const String& requestId, double timestamp, const String& errorText, const bool* canceled);
void requestServedFromMemoryCache(const String& requestId, const String& frameId, const String& loaderId, const String& documentURL, double timestamp, RefPtr<Inspector::Protocol::Network::Initiator> initiator, RefPtr<Inspector::Protocol::Network::CachedResource> resource);
void webSocketWillSendHandshakeRequest(const String& requestId, double timestamp, double walltime, RefPtr<Inspector::Protocol::Network::WebSocketRequest> request);
void webSocketHandshakeResponseReceived(const String& requestId, double timestamp, RefPtr<Inspector::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, RefPtr<Inspector::Protocol::Network::WebSocketFrame> response);
void webSocketFrameError(const String& requestId, double timestamp, const String& errorMessage);
void webSocketFrameSent(const String& requestId, double timestamp, RefPtr<Inspector::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(RefPtr<Inspector::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);
// Named after parameter 'appearance' while generating command/event defaultAppearanceDidChange.
enum class Appearance {
Light = 148,
Dark = 149,
}; // enum class Appearance
void defaultAppearanceDidChange(Inspector::Protocol::Page::Appearance appearance);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE RuntimeFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
RuntimeFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void executionContextCreated(RefPtr<Inspector::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(RefPtr<Inspector::Protocol::ScriptProfiler::Event> event);
void trackingComplete(double timestamp, RefPtr<Inspector::Protocol::ScriptProfiler::Samples> samples);
private:
FrontendRouter& m_frontendRouter;
};
class JS_EXPORT_PRIVATE TargetFrontendDispatcher {
WTF_MAKE_FAST_ALLOCATED;
public:
TargetFrontendDispatcher(FrontendRouter& frontendRouter) : m_frontendRouter(frontendRouter) { }
void targetCreated(RefPtr<Inspector::Protocol::Target::TargetInfo> targetInfo);
void targetDestroyed(const String& targetId);
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(RefPtr<Inspector::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);
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

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,939 @@
#ifndef UD_ITAB_H
#define UD_ITAB_H
/* itab.h -- generated by udis86:scripts/ud_itab.py, do no edit */
/* ud_table_type -- lookup table types (see decode.c) */
enum ud_table_type {
UD_TAB__OPC_VEX,
UD_TAB__OPC_TABLE,
UD_TAB__OPC_X87,
UD_TAB__OPC_MOD,
UD_TAB__OPC_RM,
UD_TAB__OPC_OSIZE,
UD_TAB__OPC_MODE,
UD_TAB__OPC_VEX_L,
UD_TAB__OPC_3DNOW,
UD_TAB__OPC_REG,
UD_TAB__OPC_ASIZE,
UD_TAB__OPC_VEX_W,
UD_TAB__OPC_SSE,
UD_TAB__OPC_VENDOR
};
/* ud_mnemonic -- mnemonic constants */
enum ud_mnemonic_code {
UD_Iaaa,
UD_Iaad,
UD_Iaam,
UD_Iaas,
UD_Iadc,
UD_Iadd,
UD_Iaddpd,
UD_Iaddps,
UD_Iaddsd,
UD_Iaddss,
UD_Iaddsubpd,
UD_Iaddsubps,
UD_Iaesdec,
UD_Iaesdeclast,
UD_Iaesenc,
UD_Iaesenclast,
UD_Iaesimc,
UD_Iaeskeygenassist,
UD_Iand,
UD_Iandnpd,
UD_Iandnps,
UD_Iandpd,
UD_Iandps,
UD_Iarpl,
UD_Iblendpd,
UD_Iblendps,
UD_Iblendvpd,
UD_Iblendvps,
UD_Ibound,
UD_Ibsf,
UD_Ibsr,
UD_Ibswap,
UD_Ibt,
UD_Ibtc,
UD_Ibtr,
UD_Ibts,
UD_Icall,
UD_Icbw,
UD_Icdq,
UD_Icdqe,
UD_Iclc,
UD_Icld,
UD_Iclflush,
UD_Iclgi,
UD_Icli,
UD_Iclts,
UD_Icmc,
UD_Icmova,
UD_Icmovae,
UD_Icmovb,
UD_Icmovbe,
UD_Icmovg,
UD_Icmovge,
UD_Icmovl,
UD_Icmovle,
UD_Icmovno,
UD_Icmovnp,
UD_Icmovns,
UD_Icmovnz,
UD_Icmovo,
UD_Icmovp,
UD_Icmovs,
UD_Icmovz,
UD_Icmp,
UD_Icmppd,
UD_Icmpps,
UD_Icmpsb,
UD_Icmpsd,
UD_Icmpsq,
UD_Icmpss,
UD_Icmpsw,
UD_Icmpxchg,
UD_Icmpxchg16b,
UD_Icmpxchg8b,
UD_Icomisd,
UD_Icomiss,
UD_Icpuid,
UD_Icqo,
UD_Icrc32,
UD_Icvtdq2pd,
UD_Icvtdq2ps,
UD_Icvtpd2dq,
UD_Icvtpd2pi,
UD_Icvtpd2ps,
UD_Icvtpi2pd,
UD_Icvtpi2ps,
UD_Icvtps2dq,
UD_Icvtps2pd,
UD_Icvtps2pi,
UD_Icvtsd2si,
UD_Icvtsd2ss,
UD_Icvtsi2sd,
UD_Icvtsi2ss,
UD_Icvtss2sd,
UD_Icvtss2si,
UD_Icvttpd2dq,
UD_Icvttpd2pi,
UD_Icvttps2dq,
UD_Icvttps2pi,
UD_Icvttsd2si,
UD_Icvttss2si,
UD_Icwd,
UD_Icwde,
UD_Idaa,
UD_Idas,
UD_Idec,
UD_Idiv,
UD_Idivpd,
UD_Idivps,
UD_Idivsd,
UD_Idivss,
UD_Idppd,
UD_Idpps,
UD_Iemms,
UD_Ienter,
UD_Iextractps,
UD_If2xm1,
UD_Ifabs,
UD_Ifadd,
UD_Ifaddp,
UD_Ifbld,
UD_Ifbstp,
UD_Ifchs,
UD_Ifclex,
UD_Ifcmovb,
UD_Ifcmovbe,
UD_Ifcmove,
UD_Ifcmovnb,
UD_Ifcmovnbe,
UD_Ifcmovne,
UD_Ifcmovnu,
UD_Ifcmovu,
UD_Ifcom,
UD_Ifcom2,
UD_Ifcomi,
UD_Ifcomip,
UD_Ifcomp,
UD_Ifcomp3,
UD_Ifcomp5,
UD_Ifcompp,
UD_Ifcos,
UD_Ifdecstp,
UD_Ifdiv,
UD_Ifdivp,
UD_Ifdivr,
UD_Ifdivrp,
UD_Ifemms,
UD_Iffree,
UD_Iffreep,
UD_Ifiadd,
UD_Ificom,
UD_Ificomp,
UD_Ifidiv,
UD_Ifidivr,
UD_Ifild,
UD_Ifimul,
UD_Ifincstp,
UD_Ifist,
UD_Ifistp,
UD_Ifisttp,
UD_Ifisub,
UD_Ifisubr,
UD_Ifld,
UD_Ifld1,
UD_Ifldcw,
UD_Ifldenv,
UD_Ifldl2e,
UD_Ifldl2t,
UD_Ifldlg2,
UD_Ifldln2,
UD_Ifldpi,
UD_Ifldz,
UD_Ifmul,
UD_Ifmulp,
UD_Ifndisi,
UD_Ifneni,
UD_Ifninit,
UD_Ifnop,
UD_Ifnsave,
UD_Ifnsetpm,
UD_Ifnstcw,
UD_Ifnstenv,
UD_Ifnstsw,
UD_Ifpatan,
UD_Ifprem,
UD_Ifprem1,
UD_Ifptan,
UD_Ifrndint,
UD_Ifrstor,
UD_Ifrstpm,
UD_Ifscale,
UD_Ifsin,
UD_Ifsincos,
UD_Ifsqrt,
UD_Ifst,
UD_Ifstp,
UD_Ifstp1,
UD_Ifstp8,
UD_Ifstp9,
UD_Ifsub,
UD_Ifsubp,
UD_Ifsubr,
UD_Ifsubrp,
UD_Iftst,
UD_Ifucom,
UD_Ifucomi,
UD_Ifucomip,
UD_Ifucomp,
UD_Ifucompp,
UD_Ifxam,
UD_Ifxch,
UD_Ifxch4,
UD_Ifxch7,
UD_Ifxrstor,
UD_Ifxsave,
UD_Ifxtract,
UD_Ifyl2x,
UD_Ifyl2xp1,
UD_Igetsec,
UD_Ihaddpd,
UD_Ihaddps,
UD_Ihlt,
UD_Ihsubpd,
UD_Ihsubps,
UD_Iidiv,
UD_Iimul,
UD_Iin,
UD_Iinc,
UD_Iinsb,
UD_Iinsd,
UD_Iinsertps,
UD_Iinsw,
UD_Iint,
UD_Iint1,
UD_Iint3,
UD_Iinto,
UD_Iinvd,
UD_Iinvept,
UD_Iinvlpg,
UD_Iinvlpga,
UD_Iinvvpid,
UD_Iiretd,
UD_Iiretq,
UD_Iiretw,
UD_Ija,
UD_Ijae,
UD_Ijb,
UD_Ijbe,
UD_Ijcxz,
UD_Ijecxz,
UD_Ijg,
UD_Ijge,
UD_Ijl,
UD_Ijle,
UD_Ijmp,
UD_Ijno,
UD_Ijnp,
UD_Ijns,
UD_Ijnz,
UD_Ijo,
UD_Ijp,
UD_Ijrcxz,
UD_Ijs,
UD_Ijz,
UD_Ilahf,
UD_Ilar,
UD_Ilddqu,
UD_Ildmxcsr,
UD_Ilds,
UD_Ilea,
UD_Ileave,
UD_Iles,
UD_Ilfence,
UD_Ilfs,
UD_Ilgdt,
UD_Ilgs,
UD_Ilidt,
UD_Illdt,
UD_Ilmsw,
UD_Ilock,
UD_Ilodsb,
UD_Ilodsd,
UD_Ilodsq,
UD_Ilodsw,
UD_Iloop,
UD_Iloope,
UD_Iloopne,
UD_Ilsl,
UD_Ilss,
UD_Iltr,
UD_Imaskmovdqu,
UD_Imaskmovq,
UD_Imaxpd,
UD_Imaxps,
UD_Imaxsd,
UD_Imaxss,
UD_Imfence,
UD_Iminpd,
UD_Iminps,
UD_Iminsd,
UD_Iminss,
UD_Imonitor,
UD_Imontmul,
UD_Imov,
UD_Imovapd,
UD_Imovaps,
UD_Imovbe,
UD_Imovd,
UD_Imovddup,
UD_Imovdq2q,
UD_Imovdqa,
UD_Imovdqu,
UD_Imovhlps,
UD_Imovhpd,
UD_Imovhps,
UD_Imovlhps,
UD_Imovlpd,
UD_Imovlps,
UD_Imovmskpd,
UD_Imovmskps,
UD_Imovntdq,
UD_Imovntdqa,
UD_Imovnti,
UD_Imovntpd,
UD_Imovntps,
UD_Imovntq,
UD_Imovq,
UD_Imovq2dq,
UD_Imovsb,
UD_Imovsd,
UD_Imovshdup,
UD_Imovsldup,
UD_Imovsq,
UD_Imovss,
UD_Imovsw,
UD_Imovsx,
UD_Imovsxd,
UD_Imovupd,
UD_Imovups,
UD_Imovzx,
UD_Impsadbw,
UD_Imul,
UD_Imulpd,
UD_Imulps,
UD_Imulsd,
UD_Imulss,
UD_Imwait,
UD_Ineg,
UD_Inop,
UD_Inot,
UD_Ior,
UD_Iorpd,
UD_Iorps,
UD_Iout,
UD_Ioutsb,
UD_Ioutsd,
UD_Ioutsw,
UD_Ipabsb,
UD_Ipabsd,
UD_Ipabsw,
UD_Ipackssdw,
UD_Ipacksswb,
UD_Ipackusdw,
UD_Ipackuswb,
UD_Ipaddb,
UD_Ipaddd,
UD_Ipaddq,
UD_Ipaddsb,
UD_Ipaddsw,
UD_Ipaddusb,
UD_Ipaddusw,
UD_Ipaddw,
UD_Ipalignr,
UD_Ipand,
UD_Ipandn,
UD_Ipavgb,
UD_Ipavgusb,
UD_Ipavgw,
UD_Ipblendvb,
UD_Ipblendw,
UD_Ipclmulqdq,
UD_Ipcmpeqb,
UD_Ipcmpeqd,
UD_Ipcmpeqq,
UD_Ipcmpeqw,
UD_Ipcmpestri,
UD_Ipcmpestrm,
UD_Ipcmpgtb,
UD_Ipcmpgtd,
UD_Ipcmpgtq,
UD_Ipcmpgtw,
UD_Ipcmpistri,
UD_Ipcmpistrm,
UD_Ipextrb,
UD_Ipextrd,
UD_Ipextrq,
UD_Ipextrw,
UD_Ipf2id,
UD_Ipf2iw,
UD_Ipfacc,
UD_Ipfadd,
UD_Ipfcmpeq,
UD_Ipfcmpge,
UD_Ipfcmpgt,
UD_Ipfmax,
UD_Ipfmin,
UD_Ipfmul,
UD_Ipfnacc,
UD_Ipfpnacc,
UD_Ipfrcp,
UD_Ipfrcpit1,
UD_Ipfrcpit2,
UD_Ipfrsqit1,
UD_Ipfrsqrt,
UD_Ipfsub,
UD_Ipfsubr,
UD_Iphaddd,
UD_Iphaddsw,
UD_Iphaddw,
UD_Iphminposuw,
UD_Iphsubd,
UD_Iphsubsw,
UD_Iphsubw,
UD_Ipi2fd,
UD_Ipi2fw,
UD_Ipinsrb,
UD_Ipinsrd,
UD_Ipinsrq,
UD_Ipinsrw,
UD_Ipmaddubsw,
UD_Ipmaddwd,
UD_Ipmaxsb,
UD_Ipmaxsd,
UD_Ipmaxsw,
UD_Ipmaxub,
UD_Ipmaxud,
UD_Ipmaxuw,
UD_Ipminsb,
UD_Ipminsd,
UD_Ipminsw,
UD_Ipminub,
UD_Ipminud,
UD_Ipminuw,
UD_Ipmovmskb,
UD_Ipmovsxbd,
UD_Ipmovsxbq,
UD_Ipmovsxbw,
UD_Ipmovsxdq,
UD_Ipmovsxwd,
UD_Ipmovsxwq,
UD_Ipmovzxbd,
UD_Ipmovzxbq,
UD_Ipmovzxbw,
UD_Ipmovzxdq,
UD_Ipmovzxwd,
UD_Ipmovzxwq,
UD_Ipmuldq,
UD_Ipmulhrsw,
UD_Ipmulhrw,
UD_Ipmulhuw,
UD_Ipmulhw,
UD_Ipmulld,
UD_Ipmullw,
UD_Ipmuludq,
UD_Ipop,
UD_Ipopa,
UD_Ipopad,
UD_Ipopcnt,
UD_Ipopfd,
UD_Ipopfq,
UD_Ipopfw,
UD_Ipor,
UD_Iprefetch,
UD_Iprefetchnta,
UD_Iprefetcht0,
UD_Iprefetcht1,
UD_Iprefetcht2,
UD_Ipsadbw,
UD_Ipshufb,
UD_Ipshufd,
UD_Ipshufhw,
UD_Ipshuflw,
UD_Ipshufw,
UD_Ipsignb,
UD_Ipsignd,
UD_Ipsignw,
UD_Ipslld,
UD_Ipslldq,
UD_Ipsllq,
UD_Ipsllw,
UD_Ipsrad,
UD_Ipsraw,
UD_Ipsrld,
UD_Ipsrldq,
UD_Ipsrlq,
UD_Ipsrlw,
UD_Ipsubb,
UD_Ipsubd,
UD_Ipsubq,
UD_Ipsubsb,
UD_Ipsubsw,
UD_Ipsubusb,
UD_Ipsubusw,
UD_Ipsubw,
UD_Ipswapd,
UD_Iptest,
UD_Ipunpckhbw,
UD_Ipunpckhdq,
UD_Ipunpckhqdq,
UD_Ipunpckhwd,
UD_Ipunpcklbw,
UD_Ipunpckldq,
UD_Ipunpcklqdq,
UD_Ipunpcklwd,
UD_Ipush,
UD_Ipusha,
UD_Ipushad,
UD_Ipushfd,
UD_Ipushfq,
UD_Ipushfw,
UD_Ipxor,
UD_Ircl,
UD_Ircpps,
UD_Ircpss,
UD_Ircr,
UD_Irdmsr,
UD_Irdpmc,
UD_Irdrand,
UD_Irdtsc,
UD_Irdtscp,
UD_Irep,
UD_Irepne,
UD_Iret,
UD_Iretf,
UD_Irol,
UD_Iror,
UD_Iroundpd,
UD_Iroundps,
UD_Iroundsd,
UD_Iroundss,
UD_Irsm,
UD_Irsqrtps,
UD_Irsqrtss,
UD_Isahf,
UD_Isalc,
UD_Isar,
UD_Isbb,
UD_Iscasb,
UD_Iscasd,
UD_Iscasq,
UD_Iscasw,
UD_Iseta,
UD_Isetae,
UD_Isetb,
UD_Isetbe,
UD_Isetg,
UD_Isetge,
UD_Isetl,
UD_Isetle,
UD_Isetno,
UD_Isetnp,
UD_Isetns,
UD_Isetnz,
UD_Iseto,
UD_Isetp,
UD_Isets,
UD_Isetz,
UD_Isfence,
UD_Isgdt,
UD_Ishl,
UD_Ishld,
UD_Ishr,
UD_Ishrd,
UD_Ishufpd,
UD_Ishufps,
UD_Isidt,
UD_Iskinit,
UD_Isldt,
UD_Ismsw,
UD_Isqrtpd,
UD_Isqrtps,
UD_Isqrtsd,
UD_Isqrtss,
UD_Istc,
UD_Istd,
UD_Istgi,
UD_Isti,
UD_Istmxcsr,
UD_Istosb,
UD_Istosd,
UD_Istosq,
UD_Istosw,
UD_Istr,
UD_Isub,
UD_Isubpd,
UD_Isubps,
UD_Isubsd,
UD_Isubss,
UD_Iswapgs,
UD_Isyscall,
UD_Isysenter,
UD_Isysexit,
UD_Isysret,
UD_Itest,
UD_Iucomisd,
UD_Iucomiss,
UD_Iud2,
UD_Iunpckhpd,
UD_Iunpckhps,
UD_Iunpcklpd,
UD_Iunpcklps,
UD_Ivaddpd,
UD_Ivaddps,
UD_Ivaddsd,
UD_Ivaddss,
UD_Ivaddsubpd,
UD_Ivaddsubps,
UD_Ivaesdec,
UD_Ivaesdeclast,
UD_Ivaesenc,
UD_Ivaesenclast,
UD_Ivaesimc,
UD_Ivaeskeygenassist,
UD_Ivandnpd,
UD_Ivandnps,
UD_Ivandpd,
UD_Ivandps,
UD_Ivblendpd,
UD_Ivblendps,
UD_Ivblendvpd,
UD_Ivblendvps,
UD_Ivbroadcastsd,
UD_Ivbroadcastss,
UD_Ivcmppd,
UD_Ivcmpps,
UD_Ivcmpsd,
UD_Ivcmpss,
UD_Ivcomisd,
UD_Ivcomiss,
UD_Ivcvtdq2pd,
UD_Ivcvtdq2ps,
UD_Ivcvtpd2dq,
UD_Ivcvtpd2ps,
UD_Ivcvtps2dq,
UD_Ivcvtps2pd,
UD_Ivcvtsd2si,
UD_Ivcvtsd2ss,
UD_Ivcvtsi2sd,
UD_Ivcvtsi2ss,
UD_Ivcvtss2sd,
UD_Ivcvtss2si,
UD_Ivcvttpd2dq,
UD_Ivcvttps2dq,
UD_Ivcvttsd2si,
UD_Ivcvttss2si,
UD_Ivdivpd,
UD_Ivdivps,
UD_Ivdivsd,
UD_Ivdivss,
UD_Ivdppd,
UD_Ivdpps,
UD_Iverr,
UD_Iverw,
UD_Ivextractf128,
UD_Ivextractps,
UD_Ivhaddpd,
UD_Ivhaddps,
UD_Ivhsubpd,
UD_Ivhsubps,
UD_Ivinsertf128,
UD_Ivinsertps,
UD_Ivlddqu,
UD_Ivmaskmovdqu,
UD_Ivmaskmovpd,
UD_Ivmaskmovps,
UD_Ivmaxpd,
UD_Ivmaxps,
UD_Ivmaxsd,
UD_Ivmaxss,
UD_Ivmcall,
UD_Ivmclear,
UD_Ivminpd,
UD_Ivminps,
UD_Ivminsd,
UD_Ivminss,
UD_Ivmlaunch,
UD_Ivmload,
UD_Ivmmcall,
UD_Ivmovapd,
UD_Ivmovaps,
UD_Ivmovd,
UD_Ivmovddup,
UD_Ivmovdqa,
UD_Ivmovdqu,
UD_Ivmovhlps,
UD_Ivmovhpd,
UD_Ivmovhps,
UD_Ivmovlhps,
UD_Ivmovlpd,
UD_Ivmovlps,
UD_Ivmovmskpd,
UD_Ivmovmskps,
UD_Ivmovntdq,
UD_Ivmovntdqa,
UD_Ivmovntpd,
UD_Ivmovntps,
UD_Ivmovq,
UD_Ivmovsd,
UD_Ivmovshdup,
UD_Ivmovsldup,
UD_Ivmovss,
UD_Ivmovupd,
UD_Ivmovups,
UD_Ivmpsadbw,
UD_Ivmptrld,
UD_Ivmptrst,
UD_Ivmread,
UD_Ivmresume,
UD_Ivmrun,
UD_Ivmsave,
UD_Ivmulpd,
UD_Ivmulps,
UD_Ivmulsd,
UD_Ivmulss,
UD_Ivmwrite,
UD_Ivmxoff,
UD_Ivmxon,
UD_Ivorpd,
UD_Ivorps,
UD_Ivpabsb,
UD_Ivpabsd,
UD_Ivpabsw,
UD_Ivpackssdw,
UD_Ivpacksswb,
UD_Ivpackusdw,
UD_Ivpackuswb,
UD_Ivpaddb,
UD_Ivpaddd,
UD_Ivpaddq,
UD_Ivpaddsb,
UD_Ivpaddsw,
UD_Ivpaddusb,
UD_Ivpaddusw,
UD_Ivpaddw,
UD_Ivpalignr,
UD_Ivpand,
UD_Ivpandn,
UD_Ivpavgb,
UD_Ivpavgw,
UD_Ivpblendvb,
UD_Ivpblendw,
UD_Ivpclmulqdq,
UD_Ivpcmpeqb,
UD_Ivpcmpeqd,
UD_Ivpcmpeqq,
UD_Ivpcmpeqw,
UD_Ivpcmpestri,
UD_Ivpcmpestrm,
UD_Ivpcmpgtb,
UD_Ivpcmpgtd,
UD_Ivpcmpgtq,
UD_Ivpcmpgtw,
UD_Ivpcmpistri,
UD_Ivpcmpistrm,
UD_Ivperm2f128,
UD_Ivpermilpd,
UD_Ivpermilps,
UD_Ivpextrb,
UD_Ivpextrd,
UD_Ivpextrq,
UD_Ivpextrw,
UD_Ivphaddd,
UD_Ivphaddsw,
UD_Ivphaddw,
UD_Ivphminposuw,
UD_Ivphsubd,
UD_Ivphsubsw,
UD_Ivphsubw,
UD_Ivpinsrb,
UD_Ivpinsrd,
UD_Ivpinsrq,
UD_Ivpinsrw,
UD_Ivpmaddubsw,
UD_Ivpmaddwd,
UD_Ivpmaxsb,
UD_Ivpmaxsd,
UD_Ivpmaxsw,
UD_Ivpmaxub,
UD_Ivpmaxud,
UD_Ivpmaxuw,
UD_Ivpminsb,
UD_Ivpminsd,
UD_Ivpminsw,
UD_Ivpminub,
UD_Ivpminud,
UD_Ivpminuw,
UD_Ivpmovmskb,
UD_Ivpmovsxbd,
UD_Ivpmovsxbq,
UD_Ivpmovsxbw,
UD_Ivpmovsxwd,
UD_Ivpmovsxwq,
UD_Ivpmovzxbd,
UD_Ivpmovzxbq,
UD_Ivpmovzxbw,
UD_Ivpmovzxdq,
UD_Ivpmovzxwd,
UD_Ivpmovzxwq,
UD_Ivpmuldq,
UD_Ivpmulhrsw,
UD_Ivpmulhuw,
UD_Ivpmulhw,
UD_Ivpmulld,
UD_Ivpmullw,
UD_Ivpor,
UD_Ivpsadbw,
UD_Ivpshufb,
UD_Ivpshufd,
UD_Ivpshufhw,
UD_Ivpshuflw,
UD_Ivpsignb,
UD_Ivpsignd,
UD_Ivpsignw,
UD_Ivpslld,
UD_Ivpslldq,
UD_Ivpsllq,
UD_Ivpsllw,
UD_Ivpsrad,
UD_Ivpsraw,
UD_Ivpsrld,
UD_Ivpsrldq,
UD_Ivpsrlq,
UD_Ivpsrlw,
UD_Ivpsubb,
UD_Ivpsubd,
UD_Ivpsubq,
UD_Ivpsubsb,
UD_Ivpsubsw,
UD_Ivpsubusb,
UD_Ivpsubusw,
UD_Ivpsubw,
UD_Ivptest,
UD_Ivpunpckhbw,
UD_Ivpunpckhdq,
UD_Ivpunpckhqdq,
UD_Ivpunpckhwd,
UD_Ivpunpcklbw,
UD_Ivpunpckldq,
UD_Ivpunpcklqdq,
UD_Ivpunpcklwd,
UD_Ivpxor,
UD_Ivrcpps,
UD_Ivrcpss,
UD_Ivroundpd,
UD_Ivroundps,
UD_Ivroundsd,
UD_Ivroundss,
UD_Ivrsqrtps,
UD_Ivrsqrtss,
UD_Ivshufpd,
UD_Ivshufps,
UD_Ivsqrtpd,
UD_Ivsqrtps,
UD_Ivsqrtsd,
UD_Ivsqrtss,
UD_Ivstmxcsr,
UD_Ivsubpd,
UD_Ivsubps,
UD_Ivsubsd,
UD_Ivsubss,
UD_Ivtestpd,
UD_Ivtestps,
UD_Ivucomisd,
UD_Ivucomiss,
UD_Ivunpckhpd,
UD_Ivunpckhps,
UD_Ivunpcklpd,
UD_Ivunpcklps,
UD_Ivxorpd,
UD_Ivxorps,
UD_Ivzeroall,
UD_Ivzeroupper,
UD_Iwait,
UD_Iwbinvd,
UD_Iwrmsr,
UD_Ixadd,
UD_Ixchg,
UD_Ixcryptcbc,
UD_Ixcryptcfb,
UD_Ixcryptctr,
UD_Ixcryptecb,
UD_Ixcryptofb,
UD_Ixgetbv,
UD_Ixlatb,
UD_Ixor,
UD_Ixorpd,
UD_Ixorps,
UD_Ixrstor,
UD_Ixsave,
UD_Ixsetbv,
UD_Ixsha1,
UD_Ixsha256,
UD_Ixstore,
UD_Iinvalid,
UD_I3dnow,
UD_Inone,
UD_Idb,
UD_Ipause,
UD_MAX_MNEMONIC_CODE
};
extern const char * const ud_mnemonics_str[];
#endif /* UD_ITAB_H */

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