webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Protected Member Functions | Friends | List of all members
JSC::UnlinkedCodeBlock Class Reference

#include <UnlinkedCodeBlock.h>

Inheritance diagram for JSC::UnlinkedCodeBlock:
JSC::JSCell JSC::JSCell JSC::HeapCell JSC::HeapCell JSC::HeapCell JSC::HeapCell JSC::UnlinkedFunctionCodeBlock JSC::UnlinkedFunctionCodeBlock JSC::UnlinkedGlobalCodeBlock JSC::UnlinkedGlobalCodeBlock JSC::UnlinkedEvalCodeBlock JSC::UnlinkedEvalCodeBlock JSC::UnlinkedModuleProgramCodeBlock JSC::UnlinkedModuleProgramCodeBlock JSC::UnlinkedProgramCodeBlock JSC::UnlinkedProgramCodeBlock JSC::UnlinkedEvalCodeBlock JSC::UnlinkedEvalCodeBlock JSC::UnlinkedModuleProgramCodeBlock JSC::UnlinkedModuleProgramCodeBlock JSC::UnlinkedProgramCodeBlock JSC::UnlinkedProgramCodeBlock

Classes

struct  RareData
 

Public Types

enum  { CallFunction, ApplyFunction }
 
enum  { CallFunction, ApplyFunction }
 
typedef JSCell Base
 
typedef UnlinkedInstruction Instruction
 
typedef Vector< UnlinkedInstruction, 0, UnsafeVectorOverflow > UnpackedInstructions
 
typedef Vector< JSValueConstantBuffer
 
typedef JSCell Base
 
typedef UnlinkedInstruction Instruction
 
typedef Vector< UnlinkedInstruction, 0, UnsafeVectorOverflow > UnpackedInstructions
 
typedef Vector< JSValueConstantBuffer
 
- Public Types inherited from JSC::JSCell
enum  CreatingEarlyCellTag { CreatingEarlyCell, CreatingEarlyCell }
 
enum  CreatingEarlyCellTag { CreatingEarlyCell, CreatingEarlyCell }
 
- Public Types inherited from JSC::HeapCell
enum  Kind : int8_t { JSCell, Auxiliary, JSCell, Auxiliary }
 
enum  Kind : int8_t { JSCell, Auxiliary, JSCell, Auxiliary }
 

Public Member Functions

bool isConstructor () const
 
bool isStrictMode () const
 
bool usesEval () const
 
SourceParseMode parseMode () const
 
bool isArrowFunction () const
 
DerivedContextType derivedContextType () const
 
EvalContextType evalContextType () const
 
bool isArrowFunctionContext () const
 
bool isClassContext () const
 
void addExpressionInfo (unsigned instructionOffset, int divot, int startOffset, int endOffset, unsigned line, unsigned column)
 
void addTypeProfilerExpressionInfo (unsigned instructionOffset, unsigned startDivot, unsigned endDivot)
 
bool hasExpressionInfo ()
 
const Vector< ExpressionRangeInfo > & expressionInfo ()
 
void setThisRegister (VirtualRegister thisRegister)
 
void setScopeRegister (VirtualRegister scopeRegister)
 
bool usesGlobalObject () const
 
void setGlobalObjectRegister (VirtualRegister globalObjectRegister)
 
VirtualRegister globalObjectRegister () const
 
void setNumParameters (int newValue)
 
void addParameter ()
 
unsigned numParameters () const
 
unsigned addRegExp (RegExp *r)
 
unsigned numberOfRegExps () const
 
RegExpregexp (int index) const
 
size_t numberOfIdentifiers () const
 
void addIdentifier (const Identifier &i)
 
const Identifieridentifier (int index) const
 
const Vector< Identifier > & identifiers () const
 
const Vector< BitVector > & bitVectors () const
 
BitVector & bitVector (size_t i)
 
unsigned addBitVector (BitVector &&bitVector)
 
unsigned addConstant (JSValue v, SourceCodeRepresentation sourceCodeRepresentation=SourceCodeRepresentation::Other)
 
unsigned addConstant (LinkTimeConstant type)
 
unsigned registerIndexForLinkTimeConstant (LinkTimeConstant type)
 
const Vector< WriteBarrier< Unknown > > & constantRegisters ()
 
const WriteBarrier< Unknown > & constantRegister (int index) const
 
ALWAYS_INLINE bool isConstantRegisterIndex (int index) const
 
ALWAYS_INLINE JSValue getConstant (int index) const
 
const Vector< SourceCodeRepresentation > & constantsSourceCodeRepresentation ()
 
size_t numberOfJumpTargets () const
 
void addJumpTarget (unsigned jumpTarget)
 
unsigned jumpTarget (int index) const
 
unsigned lastJumpTarget () const
 
UnlinkedHandlerInfohandlerForBytecodeOffset (unsigned bytecodeOffset, RequiredHandler=RequiredHandler::AnyHandler)
 
UnlinkedHandlerInfohandlerForIndex (unsigned, RequiredHandler=RequiredHandler::AnyHandler)
 
bool isBuiltinFunction () const
 
ConstructorKind constructorKind () const
 
SuperBinding superBinding () const
 
JSParserScriptMode scriptMode () const
 
void shrinkToFit ()
 
void setInstructions (std::unique_ptr< UnlinkedInstructionStream >)
 
const UnlinkedInstructionStreaminstructions () const
 
int numCalleeLocals () const
 
size_t numberOfSwitchJumpTables () const
 
UnlinkedSimpleJumpTableaddSwitchJumpTable ()
 
UnlinkedSimpleJumpTableswitchJumpTable (int tableIndex)
 
size_t numberOfStringSwitchJumpTables () const
 
UnlinkedStringJumpTableaddStringSwitchJumpTable ()
 
UnlinkedStringJumpTablestringSwitchJumpTable (int tableIndex)
 
unsigned addFunctionDecl (UnlinkedFunctionExecutable *n)
 
UnlinkedFunctionExecutablefunctionDecl (int index)
 
size_t numberOfFunctionDecls ()
 
unsigned addFunctionExpr (UnlinkedFunctionExecutable *n)
 
UnlinkedFunctionExecutablefunctionExpr (int index)
 
size_t numberOfFunctionExprs ()
 
size_t numberOfExceptionHandlers () const
 
void addExceptionHandler (const UnlinkedHandlerInfo &handler)
 
UnlinkedHandlerInfoexceptionHandler (int index)
 
UnlinkedArrayProfile addArrayProfile ()
 
unsigned numberOfArrayProfiles ()
 
UnlinkedArrayAllocationProfile addArrayAllocationProfile ()
 
unsigned numberOfArrayAllocationProfiles ()
 
UnlinkedObjectAllocationProfile addObjectAllocationProfile ()
 
unsigned numberOfObjectAllocationProfiles ()
 
UnlinkedValueProfile addValueProfile ()
 
unsigned numberOfValueProfiles ()
 
UnlinkedLLIntCallLinkInfo addLLIntCallLinkInfo ()
 
unsigned numberOfLLintCallLinkInfos ()
 
CodeType codeType () const
 
VirtualRegister thisRegister () const
 
VirtualRegister scopeRegister () const
 
void addPropertyAccessInstruction (unsigned propertyAccessInstruction)
 
size_t numberOfPropertyAccessInstructions () const
 
const Vector< unsigned > & propertyAccessInstructions () const
 
size_t constantBufferCount ()
 
unsigned addConstantBuffer (unsigned length)
 
const ConstantBufferconstantBuffer (unsigned index) const
 
ConstantBufferconstantBuffer (unsigned index)
 
bool hasRareData () const
 
int lineNumberForBytecodeOffset (unsigned bytecodeOffset)
 
void expressionRangeForBytecodeOffset (unsigned bytecodeOffset, int &divot, int &startOffset, int &endOffset, unsigned &line, unsigned &column) const
 
bool typeProfilerExpressionInfoForBytecodeOffset (unsigned bytecodeOffset, unsigned &startDivot, unsigned &endDivot)
 
void recordParse (CodeFeatures features, bool hasCapturedVariables, unsigned lineCount, unsigned endColumn)
 
const StringsourceURLDirective () const
 
const StringsourceMappingURLDirective () const
 
void setSourceURLDirective (const String &sourceURL)
 
void setSourceMappingURLDirective (const String &sourceMappingURL)
 
CodeFeatures codeFeatures () const
 
bool hasCapturedVariables () const
 
unsigned lineCount () const
 
ALWAYS_INLINE unsigned startColumn () const
 
unsigned endColumn () const
 
void addOpProfileControlFlowBytecodeOffset (size_t offset)
 
const Vector< size_t > & opProfileControlFlowBytecodeOffsets () const
 
bool hasOpProfileControlFlowBytecodeOffsets () const
 
void dumpExpressionRangeInfo ()
 
bool wasCompiledWithDebuggingOpcodes () const
 
TriState didOptimize () const
 
void setDidOptimize (TriState didOptimize)
 
void dump (PrintStream &) const
 
bool isConstructor () const
 
bool isStrictMode () const
 
bool usesEval () const
 
SourceParseMode parseMode () const
 
bool isArrowFunction () const
 
DerivedContextType derivedContextType () const
 
EvalContextType evalContextType () const
 
bool isArrowFunctionContext () const
 
bool isClassContext () const
 
void addExpressionInfo (unsigned instructionOffset, int divot, int startOffset, int endOffset, unsigned line, unsigned column)
 
void addTypeProfilerExpressionInfo (unsigned instructionOffset, unsigned startDivot, unsigned endDivot)
 
bool hasExpressionInfo ()
 
const Vector< ExpressionRangeInfo > & expressionInfo ()
 
void setThisRegister (VirtualRegister thisRegister)
 
void setScopeRegister (VirtualRegister scopeRegister)
 
bool usesGlobalObject () const
 
void setGlobalObjectRegister (VirtualRegister globalObjectRegister)
 
VirtualRegister globalObjectRegister () const
 
void setNumParameters (int newValue)
 
void addParameter ()
 
unsigned numParameters () const
 
unsigned addRegExp (RegExp *r)
 
unsigned numberOfRegExps () const
 
RegExpregexp (int index) const
 
size_t numberOfIdentifiers () const
 
void addIdentifier (const Identifier &i)
 
const Identifieridentifier (int index) const
 
const Vector< Identifier > & identifiers () const
 
const Vector< BitVector > & bitVectors () const
 
BitVector & bitVector (size_t i)
 
unsigned addBitVector (BitVector &&bitVector)
 
unsigned addConstant (JSValue v, SourceCodeRepresentation sourceCodeRepresentation=SourceCodeRepresentation::Other)
 
unsigned addConstant (LinkTimeConstant type)
 
unsigned registerIndexForLinkTimeConstant (LinkTimeConstant type)
 
const Vector< WriteBarrier< Unknown > > & constantRegisters ()
 
const WriteBarrier< Unknown > & constantRegister (int index) const
 
ALWAYS_INLINE bool isConstantRegisterIndex (int index) const
 
ALWAYS_INLINE JSValue getConstant (int index) const
 
const Vector< SourceCodeRepresentation > & constantsSourceCodeRepresentation ()
 
size_t numberOfJumpTargets () const
 
void addJumpTarget (unsigned jumpTarget)
 
unsigned jumpTarget (int index) const
 
unsigned lastJumpTarget () const
 
UnlinkedHandlerInfohandlerForBytecodeOffset (unsigned bytecodeOffset, RequiredHandler=RequiredHandler::AnyHandler)
 
UnlinkedHandlerInfohandlerForIndex (unsigned, RequiredHandler=RequiredHandler::AnyHandler)
 
bool isBuiltinFunction () const
 
ConstructorKind constructorKind () const
 
SuperBinding superBinding () const
 
JSParserScriptMode scriptMode () const
 
void shrinkToFit ()
 
void setInstructions (std::unique_ptr< UnlinkedInstructionStream >)
 
const UnlinkedInstructionStreaminstructions () const
 
int numCalleeLocals () const
 
size_t numberOfSwitchJumpTables () const
 
UnlinkedSimpleJumpTableaddSwitchJumpTable ()
 
UnlinkedSimpleJumpTableswitchJumpTable (int tableIndex)
 
size_t numberOfStringSwitchJumpTables () const
 
UnlinkedStringJumpTableaddStringSwitchJumpTable ()
 
UnlinkedStringJumpTablestringSwitchJumpTable (int tableIndex)
 
unsigned addFunctionDecl (UnlinkedFunctionExecutable *n)
 
UnlinkedFunctionExecutablefunctionDecl (int index)
 
size_t numberOfFunctionDecls ()
 
unsigned addFunctionExpr (UnlinkedFunctionExecutable *n)
 
UnlinkedFunctionExecutablefunctionExpr (int index)
 
size_t numberOfFunctionExprs ()
 
size_t numberOfExceptionHandlers () const
 
void addExceptionHandler (const UnlinkedHandlerInfo &handler)
 
UnlinkedHandlerInfoexceptionHandler (int index)
 
UnlinkedArrayProfile addArrayProfile ()
 
unsigned numberOfArrayProfiles ()
 
UnlinkedArrayAllocationProfile addArrayAllocationProfile ()
 
unsigned numberOfArrayAllocationProfiles ()
 
UnlinkedObjectAllocationProfile addObjectAllocationProfile ()
 
unsigned numberOfObjectAllocationProfiles ()
 
UnlinkedValueProfile addValueProfile ()
 
unsigned numberOfValueProfiles ()
 
UnlinkedLLIntCallLinkInfo addLLIntCallLinkInfo ()
 
unsigned numberOfLLintCallLinkInfos ()
 
CodeType codeType () const
 
VirtualRegister thisRegister () const
 
VirtualRegister scopeRegister () const
 
void addPropertyAccessInstruction (unsigned propertyAccessInstruction)
 
size_t numberOfPropertyAccessInstructions () const
 
const Vector< unsigned > & propertyAccessInstructions () const
 
size_t constantBufferCount ()
 
unsigned addConstantBuffer (unsigned length)
 
const ConstantBufferconstantBuffer (unsigned index) const
 
ConstantBufferconstantBuffer (unsigned index)
 
bool hasRareData () const
 
int lineNumberForBytecodeOffset (unsigned bytecodeOffset)
 
void expressionRangeForBytecodeOffset (unsigned bytecodeOffset, int &divot, int &startOffset, int &endOffset, unsigned &line, unsigned &column) const
 
bool typeProfilerExpressionInfoForBytecodeOffset (unsigned bytecodeOffset, unsigned &startDivot, unsigned &endDivot)
 
void recordParse (CodeFeatures features, bool hasCapturedVariables, unsigned lineCount, unsigned endColumn)
 
const StringsourceURLDirective () const
 
const StringsourceMappingURLDirective () const
 
void setSourceURLDirective (const String &sourceURL)
 
void setSourceMappingURLDirective (const String &sourceMappingURL)
 
CodeFeatures codeFeatures () const
 
bool hasCapturedVariables () const
 
unsigned lineCount () const
 
ALWAYS_INLINE unsigned startColumn () const
 
unsigned endColumn () const
 
void addOpProfileControlFlowBytecodeOffset (size_t offset)
 
const Vector< size_t > & opProfileControlFlowBytecodeOffsets () const
 
bool hasOpProfileControlFlowBytecodeOffsets () const
 
void dumpExpressionRangeInfo ()
 
bool wasCompiledWithDebuggingOpcodes () const
 
TriState didOptimize () const
 
void setDidOptimize (TriState didOptimize)
 
void dump (PrintStream &) const
 
- Public Member Functions inherited from JSC::JSCell
 JSCell (CreatingEarlyCellTag)
 
bool isString () const
 
bool isSymbol () const
 
bool isObject () const
 
bool isAnyWasmCallee (VM &) const
 
bool isGetterSetter () const
 
bool isCustomGetterSetter () const
 
bool isProxy () const
 
bool inherits (VM &, const ClassInfo *) const
 
bool isAPIValueWrapper () const
 
void lock ()
 
bool tryLock ()
 
void unlock ()
 
bool isLocked () const
 
JSType type () const
 
IndexingType indexingTypeAndMisc () const
 
IndexingType indexingType () const
 
StructureID structureID () const
 
Structurestructure () const
 
Structurestructure (VM &) const
 
void setStructure (VM &, Structure *)
 
void setStructureIDDirectly (StructureID id)
 
void clearStructure ()
 
TypeInfo::InlineTypeFlags inlineTypeFlags () const
 
const char * className (VM &) const
 
JS_EXPORT_PRIVATE bool getString (ExecState *, String &) const
 
JS_EXPORT_PRIVATE String getString (ExecState *) const
 
JS_EXPORT_PRIVATE JSObjectgetObject ()
 
const JSObjectgetObject () const
 
JS_EXPORT_PRIVATE JSValue toPrimitive (ExecState *, PreferredPrimitiveType) const
 
bool getPrimitiveNumber (ExecState *, double &number, JSValue &) const
 
bool toBoolean (ExecState *) const
 
TriState pureToBoolean () const
 
JS_EXPORT_PRIVATE double toNumber (ExecState *) const
 
JSObjecttoObject (ExecState *, JSGlobalObject *) const
 
void dump (PrintStream &) const
 
size_t estimatedSizeInBytes () const
 
const ClassInfoclassInfo (VM &) const
 
const MethodTablemethodTable () const
 
const MethodTablemethodTable (VM &) const
 
JSValue fastGetOwnProperty (VM &, Structure &, PropertyName)
 
CellState cellState () const
 
void setCellState (CellState data) const
 
bool atomicCompareExchangeCellStateWeakRelaxed (CellState oldState, CellState newState)
 
CellState atomicCompareExchangeCellStateStrong (CellState oldState, CellState newState)
 
void callDestructor (VM &)
 
 JSCell (CreatingEarlyCellTag)
 
bool isString () const
 
bool isSymbol () const
 
bool isObject () const
 
bool isAnyWasmCallee (VM &) const
 
bool isGetterSetter () const
 
bool isCustomGetterSetter () const
 
bool isProxy () const
 
bool inherits (VM &, const ClassInfo *) const
 
bool isAPIValueWrapper () const
 
void lock ()
 
bool tryLock ()
 
void unlock ()
 
bool isLocked () const
 
JSType type () const
 
IndexingType indexingTypeAndMisc () const
 
IndexingType indexingType () const
 
StructureID structureID () const
 
Structurestructure () const
 
Structurestructure (VM &) const
 
void setStructure (VM &, Structure *)
 
void setStructureIDDirectly (StructureID id)
 
void clearStructure ()
 
TypeInfo::InlineTypeFlags inlineTypeFlags () const
 
const char * className (VM &) const
 
JS_EXPORT_PRIVATE bool getString (ExecState *, String &) const
 
JS_EXPORT_PRIVATE String getString (ExecState *) const
 
JS_EXPORT_PRIVATE JSObjectgetObject ()
 
const JSObjectgetObject () const
 
JS_EXPORT_PRIVATE JSValue toPrimitive (ExecState *, PreferredPrimitiveType) const
 
bool getPrimitiveNumber (ExecState *, double &number, JSValue &) const
 
bool toBoolean (ExecState *) const
 
TriState pureToBoolean () const
 
JS_EXPORT_PRIVATE double toNumber (ExecState *) const
 
JSObjecttoObject (ExecState *, JSGlobalObject *) const
 
void dump (PrintStream &) const
 
size_t estimatedSizeInBytes () const
 
const ClassInfoclassInfo (VM &) const
 
const MethodTablemethodTable () const
 
const MethodTablemethodTable (VM &) const
 
JSValue fastGetOwnProperty (VM &, Structure &, PropertyName)
 
CellState cellState () const
 
void setCellState (CellState data) const
 
bool atomicCompareExchangeCellStateWeakRelaxed (CellState oldState, CellState newState)
 
CellState atomicCompareExchangeCellStateStrong (CellState oldState, CellState newState)
 
void callDestructor (VM &)
 
- Public Member Functions inherited from JSC::HeapCell
 HeapCell ()
 
void zap ()
 
bool isZapped () const
 
bool isLargeAllocation () const
 
CellContainer cellContainer () const
 
MarkedBlockmarkedBlock () const
 
LargeAllocationlargeAllocation () const
 
Heapheap () const
 
VMvm () const
 
size_t cellSize () const
 
AllocatorAttributes allocatorAttributes () const
 
DestructionMode destructionMode () const
 
Kind cellKind () const
 
 HeapCell ()
 
void zap ()
 
bool isZapped () const
 
bool isLargeAllocation () const
 
CellContainer cellContainer () const
 
MarkedBlockmarkedBlock () const
 
LargeAllocationlargeAllocation () const
 
Heapheap () const
 
VMvm () const
 
size_t cellSize () const
 
AllocatorAttributes allocatorAttributes () const
 
DestructionMode destructionMode () const
 
Kind cellKind () const
 

Public Attributes

int m_numVars
 
int m_numCapturedVars
 
int m_numCalleeLocals
 
 DECLARE_INFO
 

Static Public Attributes

static const unsigned StructureFlags = Base::StructureFlags
 
static const bool needsDestruction = true
 
- Static Public Attributes inherited from JSC::JSCell
static const unsigned StructureFlags = 0
 
static const bool needsDestruction = false
 
static const TypedArrayType TypedArrayStorageType = NotTypedArray
 

Protected Member Functions

 UnlinkedCodeBlock (VM *, Structure *, CodeType, const ExecutableInfo &, DebuggerMode)
 
 ~UnlinkedCodeBlock ()
 
void finishCreation (VM &vm)
 
 UnlinkedCodeBlock (VM *, Structure *, CodeType, const ExecutableInfo &, DebuggerMode)
 
 ~UnlinkedCodeBlock ()
 
void finishCreation (VM &vm)
 
- Protected Member Functions inherited from JSC::JSCell
 JSCell (VM &, Structure *)
 
void finishCreation (VM &)
 
void finishCreation (VM &, Structure *, CreatingEarlyCellTag)
 
 JSCell (VM &, Structure *)
 
void finishCreation (VM &)
 
void finishCreation (VM &, Structure *, CreatingEarlyCellTag)
 

Static Protected Member Functions

static void visitChildren (JSCell *, SlotVisitor &)
 
static size_t estimatedSize (JSCell *)
 
static void visitChildren (JSCell *, SlotVisitor &)
 
static size_t estimatedSize (JSCell *)
 
- Static Protected Member Functions inherited from JSC::JSCell
static JS_EXPORT_PRIVATE void destroy (JSCell *)
 
static JSValue defaultValue (const JSObject *, ExecState *, PreferredPrimitiveType)
 
static NO_RETURN_DUE_TO_CRASH void getOwnPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static uint32_t getEnumerableLength (ExecState *, JSObject *)
 
static NO_RETURN_DUE_TO_CRASH void getStructurePropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getGenericPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH bool preventExtensions (JSObject *, ExecState *)
 
static NO_RETURN_DUE_TO_CRASH bool isExtensible (JSObject *, ExecState *)
 
static NO_RETURN_DUE_TO_CRASH bool setPrototype (JSObject *, ExecState *, JSValue, bool)
 
static NO_RETURN_DUE_TO_CRASH JSValue getPrototype (JSObject *, ExecState *)
 
static String className (const JSObject *)
 
static String toStringName (const JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE bool customHasInstance (JSObject *, ExecState *, JSValue)
 
static bool defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow)
 
static bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
static bool getOwnPropertySlotByIndex (JSObject *, ExecState *, unsigned propertyName, PropertySlot &)
 
static JS_EXPORT_PRIVATE ArrayBufferslowDownAndWasteMemory (JSArrayBufferView *)
 
static JS_EXPORT_PRIVATE RefPtr< ArrayBufferViewgetTypedArrayImpl (JSArrayBufferView *)
 
static JS_EXPORT_PRIVATE void destroy (JSCell *)
 
static JSValue defaultValue (const JSObject *, ExecState *, PreferredPrimitiveType)
 
static NO_RETURN_DUE_TO_CRASH void getOwnPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getOwnNonIndexPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static uint32_t getEnumerableLength (ExecState *, JSObject *)
 
static NO_RETURN_DUE_TO_CRASH void getStructurePropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH void getGenericPropertyNames (JSObject *, ExecState *, PropertyNameArray &, EnumerationMode)
 
static NO_RETURN_DUE_TO_CRASH bool preventExtensions (JSObject *, ExecState *)
 
static NO_RETURN_DUE_TO_CRASH bool isExtensible (JSObject *, ExecState *)
 
static NO_RETURN_DUE_TO_CRASH bool setPrototype (JSObject *, ExecState *, JSValue, bool)
 
static NO_RETURN_DUE_TO_CRASH JSValue getPrototype (JSObject *, ExecState *)
 
static String className (const JSObject *)
 
static String toStringName (const JSObject *, ExecState *)
 
static JS_EXPORT_PRIVATE bool customHasInstance (JSObject *, ExecState *, JSValue)
 
static bool defineOwnProperty (JSObject *, ExecState *, PropertyName, const PropertyDescriptor &, bool shouldThrow)
 
static bool getOwnPropertySlot (JSObject *, ExecState *, PropertyName, PropertySlot &)
 
static bool getOwnPropertySlotByIndex (JSObject *, ExecState *, unsigned propertyName, PropertySlot &)
 
static JS_EXPORT_PRIVATE ArrayBufferslowDownAndWasteMemory (JSArrayBufferView *)
 
static JS_EXPORT_PRIVATE RefPtr< ArrayBufferViewgetTypedArrayImpl (JSArrayBufferView *)
 

Friends

class BytecodeRewriter
 

Additional Inherited Members

- Static Public Member Functions inherited from JSC::JSCell
template<typename CellType >
static SubspacesubspaceFor (VM &)
 
static JSCellseenMultipleCalleeObjects ()
 
static JS_EXPORT_PRIVATE CallType getCallData (JSCell *, CallData &)
 
static JS_EXPORT_PRIVATE ConstructType getConstructData (JSCell *, ConstructData &)
 
static JS_EXPORT_PRIVATE void dumpToStream (const JSCell *, PrintStream &)
 
static JS_EXPORT_PRIVATE size_t estimatedSize (JSCell *)
 
static void visitChildren (JSCell *, SlotVisitor &)
 
static void visitOutputConstraints (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE void heapSnapshot (JSCell *, HeapSnapshotBuilder &)
 
static bool put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static bool putByIndex (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)
 
static bool deleteProperty (JSCell *, ExecState *, PropertyName)
 
static bool deletePropertyByIndex (JSCell *, ExecState *, unsigned propertyName)
 
static JSValue toThis (JSCell *, ExecState *, ECMAMode)
 
static bool canUseFastGetOwnProperty (const Structure &)
 
static ptrdiff_t structureIDOffset ()
 
static ptrdiff_t typeInfoFlagsOffset ()
 
static ptrdiff_t typeInfoTypeOffset ()
 
static ptrdiff_t indexingTypeAndMiscOffset ()
 
static ptrdiff_t cellStateOffset ()
 
template<typename CellType >
static SubspacesubspaceFor (VM &)
 
static JSCellseenMultipleCalleeObjects ()
 
static JS_EXPORT_PRIVATE CallType getCallData (JSCell *, CallData &)
 
static JS_EXPORT_PRIVATE ConstructType getConstructData (JSCell *, ConstructData &)
 
static JS_EXPORT_PRIVATE void dumpToStream (const JSCell *, PrintStream &)
 
static JS_EXPORT_PRIVATE size_t estimatedSize (JSCell *)
 
static void visitChildren (JSCell *, SlotVisitor &)
 
static void visitOutputConstraints (JSCell *, SlotVisitor &)
 
static JS_EXPORT_PRIVATE void heapSnapshot (JSCell *, HeapSnapshotBuilder &)
 
static bool put (JSCell *, ExecState *, PropertyName, JSValue, PutPropertySlot &)
 
static bool putByIndex (JSCell *, ExecState *, unsigned propertyName, JSValue, bool shouldThrow)
 
static bool deleteProperty (JSCell *, ExecState *, PropertyName)
 
static bool deletePropertyByIndex (JSCell *, ExecState *, unsigned propertyName)
 
static JSValue toThis (JSCell *, ExecState *, ECMAMode)
 
static bool canUseFastGetOwnProperty (const Structure &)
 
static ptrdiff_t structureIDOffset ()
 
static ptrdiff_t typeInfoFlagsOffset ()
 
static ptrdiff_t typeInfoTypeOffset ()
 
static ptrdiff_t indexingTypeAndMiscOffset ()
 
static ptrdiff_t cellStateOffset ()
 

Member Typedef Documentation

◆ Base [1/2]

◆ Base [2/2]

◆ ConstantBuffer [1/2]

◆ ConstantBuffer [2/2]

◆ Instruction [1/2]

◆ Instruction [2/2]

◆ UnpackedInstructions [1/2]

◆ UnpackedInstructions [2/2]

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
CallFunction 
ApplyFunction 

◆ anonymous enum

anonymous enum
Enumerator
CallFunction 
ApplyFunction 

Constructor & Destructor Documentation

◆ UnlinkedCodeBlock() [1/2]

JSC::UnlinkedCodeBlock::UnlinkedCodeBlock ( VM vm,
Structure structure,
CodeType  codeType,
const ExecutableInfo info,
DebuggerMode  debuggerMode 
)
protected

◆ ~UnlinkedCodeBlock() [1/2]

JSC::UnlinkedCodeBlock::~UnlinkedCodeBlock ( )
protected

◆ UnlinkedCodeBlock() [2/2]

JSC::UnlinkedCodeBlock::UnlinkedCodeBlock ( VM ,
Structure ,
CodeType  ,
const ExecutableInfo ,
DebuggerMode   
)
protected

◆ ~UnlinkedCodeBlock() [2/2]

JSC::UnlinkedCodeBlock::~UnlinkedCodeBlock ( )
protected

Member Function Documentation

◆ addArrayAllocationProfile() [1/2]

UnlinkedArrayAllocationProfile JSC::UnlinkedCodeBlock::addArrayAllocationProfile ( )
inline

◆ addArrayAllocationProfile() [2/2]

UnlinkedArrayAllocationProfile JSC::UnlinkedCodeBlock::addArrayAllocationProfile ( )
inline

◆ addArrayProfile() [1/2]

UnlinkedArrayProfile JSC::UnlinkedCodeBlock::addArrayProfile ( )
inline

◆ addArrayProfile() [2/2]

UnlinkedArrayProfile JSC::UnlinkedCodeBlock::addArrayProfile ( )
inline

◆ addBitVector() [1/2]

unsigned JSC::UnlinkedCodeBlock::addBitVector ( BitVector &&  bitVector)
inline

◆ addBitVector() [2/2]

unsigned JSC::UnlinkedCodeBlock::addBitVector ( BitVector &&  bitVector)
inline

◆ addConstant() [1/4]

unsigned JSC::UnlinkedCodeBlock::addConstant ( JSValue  v,
SourceCodeRepresentation  sourceCodeRepresentation = SourceCodeRepresentation::Other 
)
inline

◆ addConstant() [2/4]

unsigned JSC::UnlinkedCodeBlock::addConstant ( JSValue  v,
SourceCodeRepresentation  sourceCodeRepresentation = SourceCodeRepresentation::Other 
)
inline

◆ addConstant() [3/4]

unsigned JSC::UnlinkedCodeBlock::addConstant ( LinkTimeConstant  type)
inline

◆ addConstant() [4/4]

unsigned JSC::UnlinkedCodeBlock::addConstant ( LinkTimeConstant  type)
inline

◆ addConstantBuffer() [1/2]

unsigned JSC::UnlinkedCodeBlock::addConstantBuffer ( unsigned  length)
inline

◆ addConstantBuffer() [2/2]

unsigned JSC::UnlinkedCodeBlock::addConstantBuffer ( unsigned  length)
inline

◆ addExceptionHandler() [1/2]

void JSC::UnlinkedCodeBlock::addExceptionHandler ( const UnlinkedHandlerInfo handler)
inline

◆ addExceptionHandler() [2/2]

void JSC::UnlinkedCodeBlock::addExceptionHandler ( const UnlinkedHandlerInfo handler)
inline

◆ addExpressionInfo() [1/2]

void JSC::UnlinkedCodeBlock::addExpressionInfo ( unsigned  instructionOffset,
int  divot,
int  startOffset,
int  endOffset,
unsigned  line,
unsigned  column 
)

◆ addExpressionInfo() [2/2]

void JSC::UnlinkedCodeBlock::addExpressionInfo ( unsigned  instructionOffset,
int  divot,
int  startOffset,
int  endOffset,
unsigned  line,
unsigned  column 
)

◆ addFunctionDecl() [1/2]

unsigned JSC::UnlinkedCodeBlock::addFunctionDecl ( UnlinkedFunctionExecutable n)
inline

◆ addFunctionDecl() [2/2]

unsigned JSC::UnlinkedCodeBlock::addFunctionDecl ( UnlinkedFunctionExecutable n)
inline

◆ addFunctionExpr() [1/2]

unsigned JSC::UnlinkedCodeBlock::addFunctionExpr ( UnlinkedFunctionExecutable n)
inline

◆ addFunctionExpr() [2/2]

unsigned JSC::UnlinkedCodeBlock::addFunctionExpr ( UnlinkedFunctionExecutable n)
inline

◆ addIdentifier() [1/2]

void JSC::UnlinkedCodeBlock::addIdentifier ( const Identifier i)
inline

◆ addIdentifier() [2/2]

void JSC::UnlinkedCodeBlock::addIdentifier ( const Identifier i)
inline

◆ addJumpTarget() [1/2]

void JSC::UnlinkedCodeBlock::addJumpTarget ( unsigned  jumpTarget)
inline

◆ addJumpTarget() [2/2]

void JSC::UnlinkedCodeBlock::addJumpTarget ( unsigned  jumpTarget)
inline

◆ addLLIntCallLinkInfo() [1/2]

UnlinkedLLIntCallLinkInfo JSC::UnlinkedCodeBlock::addLLIntCallLinkInfo ( )
inline

◆ addLLIntCallLinkInfo() [2/2]

UnlinkedLLIntCallLinkInfo JSC::UnlinkedCodeBlock::addLLIntCallLinkInfo ( )
inline

◆ addObjectAllocationProfile() [1/2]

UnlinkedObjectAllocationProfile JSC::UnlinkedCodeBlock::addObjectAllocationProfile ( )
inline

◆ addObjectAllocationProfile() [2/2]

UnlinkedObjectAllocationProfile JSC::UnlinkedCodeBlock::addObjectAllocationProfile ( )
inline

◆ addOpProfileControlFlowBytecodeOffset() [1/2]

void JSC::UnlinkedCodeBlock::addOpProfileControlFlowBytecodeOffset ( size_t  offset)
inline

◆ addOpProfileControlFlowBytecodeOffset() [2/2]

void JSC::UnlinkedCodeBlock::addOpProfileControlFlowBytecodeOffset ( size_t  offset)
inline

◆ addParameter() [1/2]

void JSC::UnlinkedCodeBlock::addParameter ( )
inline

◆ addParameter() [2/2]

void JSC::UnlinkedCodeBlock::addParameter ( )
inline

◆ addPropertyAccessInstruction() [1/2]

void JSC::UnlinkedCodeBlock::addPropertyAccessInstruction ( unsigned  propertyAccessInstruction)
inline

◆ addPropertyAccessInstruction() [2/2]

void JSC::UnlinkedCodeBlock::addPropertyAccessInstruction ( unsigned  propertyAccessInstruction)
inline

◆ addRegExp() [1/2]

unsigned JSC::UnlinkedCodeBlock::addRegExp ( RegExp r)
inline

◆ addRegExp() [2/2]

unsigned JSC::UnlinkedCodeBlock::addRegExp ( RegExp r)
inline

◆ addStringSwitchJumpTable() [1/2]

UnlinkedStringJumpTable& JSC::UnlinkedCodeBlock::addStringSwitchJumpTable ( )
inline

◆ addStringSwitchJumpTable() [2/2]

UnlinkedStringJumpTable& JSC::UnlinkedCodeBlock::addStringSwitchJumpTable ( )
inline

◆ addSwitchJumpTable() [1/2]

UnlinkedSimpleJumpTable& JSC::UnlinkedCodeBlock::addSwitchJumpTable ( )
inline

◆ addSwitchJumpTable() [2/2]

UnlinkedSimpleJumpTable& JSC::UnlinkedCodeBlock::addSwitchJumpTable ( )
inline

◆ addTypeProfilerExpressionInfo() [1/2]

void JSC::UnlinkedCodeBlock::addTypeProfilerExpressionInfo ( unsigned  instructionOffset,
unsigned  startDivot,
unsigned  endDivot 
)

◆ addTypeProfilerExpressionInfo() [2/2]

void JSC::UnlinkedCodeBlock::addTypeProfilerExpressionInfo ( unsigned  instructionOffset,
unsigned  startDivot,
unsigned  endDivot 
)

◆ addValueProfile() [1/2]

UnlinkedValueProfile JSC::UnlinkedCodeBlock::addValueProfile ( )
inline

◆ addValueProfile() [2/2]

UnlinkedValueProfile JSC::UnlinkedCodeBlock::addValueProfile ( )
inline

◆ bitVector() [1/2]

BitVector& JSC::UnlinkedCodeBlock::bitVector ( size_t  i)
inline

◆ bitVector() [2/2]

BitVector& JSC::UnlinkedCodeBlock::bitVector ( size_t  i)
inline

◆ bitVectors() [1/2]

const Vector<BitVector>& JSC::UnlinkedCodeBlock::bitVectors ( ) const
inline

◆ bitVectors() [2/2]

const Vector<BitVector>& JSC::UnlinkedCodeBlock::bitVectors ( ) const
inline

◆ codeFeatures() [1/2]

CodeFeatures JSC::UnlinkedCodeBlock::codeFeatures ( ) const
inline

◆ codeFeatures() [2/2]

CodeFeatures JSC::UnlinkedCodeBlock::codeFeatures ( ) const
inline

◆ codeType() [1/2]

CodeType JSC::UnlinkedCodeBlock::codeType ( ) const
inline

◆ codeType() [2/2]

CodeType JSC::UnlinkedCodeBlock::codeType ( ) const
inline

◆ constantBuffer() [1/4]

const ConstantBuffer& JSC::UnlinkedCodeBlock::constantBuffer ( unsigned  index) const
inline

◆ constantBuffer() [2/4]

const ConstantBuffer& JSC::UnlinkedCodeBlock::constantBuffer ( unsigned  index) const
inline

◆ constantBuffer() [3/4]

ConstantBuffer& JSC::UnlinkedCodeBlock::constantBuffer ( unsigned  index)
inline

◆ constantBuffer() [4/4]

ConstantBuffer& JSC::UnlinkedCodeBlock::constantBuffer ( unsigned  index)
inline

◆ constantBufferCount() [1/2]

size_t JSC::UnlinkedCodeBlock::constantBufferCount ( )
inline

◆ constantBufferCount() [2/2]

size_t JSC::UnlinkedCodeBlock::constantBufferCount ( )
inline

◆ constantRegister() [1/2]

const WriteBarrier<Unknown>& JSC::UnlinkedCodeBlock::constantRegister ( int  index) const
inline

◆ constantRegister() [2/2]

const WriteBarrier<Unknown>& JSC::UnlinkedCodeBlock::constantRegister ( int  index) const
inline

◆ constantRegisters() [1/2]

const Vector<WriteBarrier<Unknown> >& JSC::UnlinkedCodeBlock::constantRegisters ( )
inline

◆ constantRegisters() [2/2]

const Vector<WriteBarrier<Unknown> >& JSC::UnlinkedCodeBlock::constantRegisters ( )
inline

◆ constantsSourceCodeRepresentation() [1/2]

const Vector<SourceCodeRepresentation>& JSC::UnlinkedCodeBlock::constantsSourceCodeRepresentation ( )
inline

◆ constantsSourceCodeRepresentation() [2/2]

const Vector<SourceCodeRepresentation>& JSC::UnlinkedCodeBlock::constantsSourceCodeRepresentation ( )
inline

◆ constructorKind() [1/2]

ConstructorKind JSC::UnlinkedCodeBlock::constructorKind ( ) const
inline

◆ constructorKind() [2/2]

ConstructorKind JSC::UnlinkedCodeBlock::constructorKind ( ) const
inline

◆ derivedContextType() [1/2]

DerivedContextType JSC::UnlinkedCodeBlock::derivedContextType ( ) const
inline

◆ derivedContextType() [2/2]

DerivedContextType JSC::UnlinkedCodeBlock::derivedContextType ( ) const
inline

◆ didOptimize() [1/2]

TriState JSC::UnlinkedCodeBlock::didOptimize ( ) const
inline

◆ didOptimize() [2/2]

TriState JSC::UnlinkedCodeBlock::didOptimize ( ) const
inline

◆ dump() [1/2]

void JSC::UnlinkedCodeBlock::dump ( PrintStream &  ) const

◆ dump() [2/2]

void JSC::UnlinkedCodeBlock::dump ( PrintStream &  ) const

◆ dumpExpressionRangeInfo() [1/2]

void JSC::UnlinkedCodeBlock::dumpExpressionRangeInfo ( )

◆ dumpExpressionRangeInfo() [2/2]

void JSC::UnlinkedCodeBlock::dumpExpressionRangeInfo ( )

◆ endColumn() [1/2]

unsigned JSC::UnlinkedCodeBlock::endColumn ( ) const
inline

◆ endColumn() [2/2]

unsigned JSC::UnlinkedCodeBlock::endColumn ( ) const
inline

◆ estimatedSize() [1/2]

size_t JSC::UnlinkedCodeBlock::estimatedSize ( JSCell cell)
staticprotected

◆ estimatedSize() [2/2]

static size_t JSC::UnlinkedCodeBlock::estimatedSize ( JSCell )
staticprotected

◆ evalContextType() [1/2]

EvalContextType JSC::UnlinkedCodeBlock::evalContextType ( ) const
inline

◆ evalContextType() [2/2]

EvalContextType JSC::UnlinkedCodeBlock::evalContextType ( ) const
inline

◆ exceptionHandler() [1/2]

UnlinkedHandlerInfo& JSC::UnlinkedCodeBlock::exceptionHandler ( int  index)
inline

◆ exceptionHandler() [2/2]

UnlinkedHandlerInfo& JSC::UnlinkedCodeBlock::exceptionHandler ( int  index)
inline

◆ expressionInfo() [1/2]

const Vector<ExpressionRangeInfo>& JSC::UnlinkedCodeBlock::expressionInfo ( )
inline

◆ expressionInfo() [2/2]

const Vector<ExpressionRangeInfo>& JSC::UnlinkedCodeBlock::expressionInfo ( )
inline

◆ expressionRangeForBytecodeOffset() [1/2]

void JSC::UnlinkedCodeBlock::expressionRangeForBytecodeOffset ( unsigned  bytecodeOffset,
int &  divot,
int &  startOffset,
int &  endOffset,
unsigned &  line,
unsigned &  column 
) const

◆ expressionRangeForBytecodeOffset() [2/2]

void JSC::UnlinkedCodeBlock::expressionRangeForBytecodeOffset ( unsigned  bytecodeOffset,
int &  divot,
int &  startOffset,
int &  endOffset,
unsigned &  line,
unsigned &  column 
) const

◆ finishCreation() [1/2]

void JSC::UnlinkedCodeBlock::finishCreation ( VM vm)
inlineprotected

◆ finishCreation() [2/2]

void JSC::UnlinkedCodeBlock::finishCreation ( VM vm)
inlineprotected

◆ functionDecl() [1/2]

UnlinkedFunctionExecutable* JSC::UnlinkedCodeBlock::functionDecl ( int  index)
inline

◆ functionDecl() [2/2]

UnlinkedFunctionExecutable* JSC::UnlinkedCodeBlock::functionDecl ( int  index)
inline

◆ functionExpr() [1/2]

UnlinkedFunctionExecutable* JSC::UnlinkedCodeBlock::functionExpr ( int  index)
inline

◆ functionExpr() [2/2]

UnlinkedFunctionExecutable* JSC::UnlinkedCodeBlock::functionExpr ( int  index)
inline

◆ getConstant() [1/2]

ALWAYS_INLINE JSValue JSC::UnlinkedCodeBlock::getConstant ( int  index) const
inline

◆ getConstant() [2/2]

ALWAYS_INLINE JSValue JSC::UnlinkedCodeBlock::getConstant ( int  index) const
inline

◆ globalObjectRegister() [1/2]

VirtualRegister JSC::UnlinkedCodeBlock::globalObjectRegister ( ) const
inline

◆ globalObjectRegister() [2/2]

VirtualRegister JSC::UnlinkedCodeBlock::globalObjectRegister ( ) const
inline

◆ handlerForBytecodeOffset() [1/2]

UnlinkedHandlerInfo* JSC::UnlinkedCodeBlock::handlerForBytecodeOffset ( unsigned  bytecodeOffset,
RequiredHandler  = RequiredHandler::AnyHandler 
)

◆ handlerForBytecodeOffset() [2/2]

UnlinkedHandlerInfo * JSC::UnlinkedCodeBlock::handlerForBytecodeOffset ( unsigned  bytecodeOffset,
RequiredHandler  requiredHandler = RequiredHandler::AnyHandler 
)

◆ handlerForIndex() [1/2]

UnlinkedHandlerInfo* JSC::UnlinkedCodeBlock::handlerForIndex ( unsigned  ,
RequiredHandler  = RequiredHandler::AnyHandler 
)

◆ handlerForIndex() [2/2]

UnlinkedHandlerInfo * JSC::UnlinkedCodeBlock::handlerForIndex ( unsigned  index,
RequiredHandler  requiredHandler = RequiredHandler::AnyHandler 
)

◆ hasCapturedVariables() [1/2]

bool JSC::UnlinkedCodeBlock::hasCapturedVariables ( ) const
inline

◆ hasCapturedVariables() [2/2]

bool JSC::UnlinkedCodeBlock::hasCapturedVariables ( ) const
inline

◆ hasExpressionInfo() [1/2]

bool JSC::UnlinkedCodeBlock::hasExpressionInfo ( )
inline

◆ hasExpressionInfo() [2/2]

bool JSC::UnlinkedCodeBlock::hasExpressionInfo ( )
inline

◆ hasOpProfileControlFlowBytecodeOffsets() [1/2]

bool JSC::UnlinkedCodeBlock::hasOpProfileControlFlowBytecodeOffsets ( ) const
inline

◆ hasOpProfileControlFlowBytecodeOffsets() [2/2]

bool JSC::UnlinkedCodeBlock::hasOpProfileControlFlowBytecodeOffsets ( ) const
inline

◆ hasRareData() [1/2]

bool JSC::UnlinkedCodeBlock::hasRareData ( ) const
inline

◆ hasRareData() [2/2]

bool JSC::UnlinkedCodeBlock::hasRareData ( ) const
inline

◆ identifier() [1/2]

const Identifier& JSC::UnlinkedCodeBlock::identifier ( int  index) const
inline

◆ identifier() [2/2]

const Identifier& JSC::UnlinkedCodeBlock::identifier ( int  index) const
inline

◆ identifiers() [1/2]

const Vector<Identifier>& JSC::UnlinkedCodeBlock::identifiers ( ) const
inline

◆ identifiers() [2/2]

const Vector<Identifier>& JSC::UnlinkedCodeBlock::identifiers ( ) const
inline

◆ instructions() [1/2]

const UnlinkedInstructionStream& JSC::UnlinkedCodeBlock::instructions ( ) const

◆ instructions() [2/2]

const UnlinkedInstructionStream & JSC::UnlinkedCodeBlock::instructions ( ) const

◆ isArrowFunction() [1/2]

bool JSC::UnlinkedCodeBlock::isArrowFunction ( ) const
inline

◆ isArrowFunction() [2/2]

bool JSC::UnlinkedCodeBlock::isArrowFunction ( ) const
inline

◆ isArrowFunctionContext() [1/2]

bool JSC::UnlinkedCodeBlock::isArrowFunctionContext ( ) const
inline

◆ isArrowFunctionContext() [2/2]

bool JSC::UnlinkedCodeBlock::isArrowFunctionContext ( ) const
inline

◆ isBuiltinFunction() [1/2]

bool JSC::UnlinkedCodeBlock::isBuiltinFunction ( ) const
inline

◆ isBuiltinFunction() [2/2]

bool JSC::UnlinkedCodeBlock::isBuiltinFunction ( ) const
inline

◆ isClassContext() [1/2]

bool JSC::UnlinkedCodeBlock::isClassContext ( ) const
inline

◆ isClassContext() [2/2]

bool JSC::UnlinkedCodeBlock::isClassContext ( ) const
inline

◆ isConstantRegisterIndex() [1/2]

ALWAYS_INLINE bool JSC::UnlinkedCodeBlock::isConstantRegisterIndex ( int  index) const
inline

◆ isConstantRegisterIndex() [2/2]

ALWAYS_INLINE bool JSC::UnlinkedCodeBlock::isConstantRegisterIndex ( int  index) const
inline

◆ isConstructor() [1/2]

bool JSC::UnlinkedCodeBlock::isConstructor ( ) const
inline

◆ isConstructor() [2/2]

bool JSC::UnlinkedCodeBlock::isConstructor ( ) const
inline

◆ isStrictMode() [1/2]

bool JSC::UnlinkedCodeBlock::isStrictMode ( ) const
inline

◆ isStrictMode() [2/2]

bool JSC::UnlinkedCodeBlock::isStrictMode ( ) const
inline

◆ jumpTarget() [1/2]

unsigned JSC::UnlinkedCodeBlock::jumpTarget ( int  index) const
inline

◆ jumpTarget() [2/2]

unsigned JSC::UnlinkedCodeBlock::jumpTarget ( int  index) const
inline

◆ lastJumpTarget() [1/2]

unsigned JSC::UnlinkedCodeBlock::lastJumpTarget ( ) const
inline

◆ lastJumpTarget() [2/2]

unsigned JSC::UnlinkedCodeBlock::lastJumpTarget ( ) const
inline

◆ lineCount() [1/2]

unsigned JSC::UnlinkedCodeBlock::lineCount ( ) const
inline

◆ lineCount() [2/2]

unsigned JSC::UnlinkedCodeBlock::lineCount ( ) const
inline

◆ lineNumberForBytecodeOffset() [1/2]

int JSC::UnlinkedCodeBlock::lineNumberForBytecodeOffset ( unsigned  bytecodeOffset)

◆ lineNumberForBytecodeOffset() [2/2]

int JSC::UnlinkedCodeBlock::lineNumberForBytecodeOffset ( unsigned  bytecodeOffset)

◆ numberOfArrayAllocationProfiles() [1/2]

unsigned JSC::UnlinkedCodeBlock::numberOfArrayAllocationProfiles ( )
inline

◆ numberOfArrayAllocationProfiles() [2/2]

unsigned JSC::UnlinkedCodeBlock::numberOfArrayAllocationProfiles ( )
inline

◆ numberOfArrayProfiles() [1/2]

unsigned JSC::UnlinkedCodeBlock::numberOfArrayProfiles ( )
inline

◆ numberOfArrayProfiles() [2/2]

unsigned JSC::UnlinkedCodeBlock::numberOfArrayProfiles ( )
inline

◆ numberOfExceptionHandlers() [1/2]

size_t JSC::UnlinkedCodeBlock::numberOfExceptionHandlers ( ) const
inline

◆ numberOfExceptionHandlers() [2/2]

size_t JSC::UnlinkedCodeBlock::numberOfExceptionHandlers ( ) const
inline

◆ numberOfFunctionDecls() [1/2]

size_t JSC::UnlinkedCodeBlock::numberOfFunctionDecls ( )
inline

◆ numberOfFunctionDecls() [2/2]

size_t JSC::UnlinkedCodeBlock::numberOfFunctionDecls ( )
inline

◆ numberOfFunctionExprs() [1/2]

size_t JSC::UnlinkedCodeBlock::numberOfFunctionExprs ( )
inline

◆ numberOfFunctionExprs() [2/2]

size_t JSC::UnlinkedCodeBlock::numberOfFunctionExprs ( )
inline

◆ numberOfIdentifiers() [1/2]

size_t JSC::UnlinkedCodeBlock::numberOfIdentifiers ( ) const
inline

◆ numberOfIdentifiers() [2/2]

size_t JSC::UnlinkedCodeBlock::numberOfIdentifiers ( ) const
inline

◆ numberOfJumpTargets() [1/2]

size_t JSC::UnlinkedCodeBlock::numberOfJumpTargets ( ) const
inline

◆ numberOfJumpTargets() [2/2]

size_t JSC::UnlinkedCodeBlock::numberOfJumpTargets ( ) const
inline

◆ numberOfLLintCallLinkInfos() [1/2]

unsigned JSC::UnlinkedCodeBlock::numberOfLLintCallLinkInfos ( )
inline

◆ numberOfLLintCallLinkInfos() [2/2]

unsigned JSC::UnlinkedCodeBlock::numberOfLLintCallLinkInfos ( )
inline

◆ numberOfObjectAllocationProfiles() [1/2]

unsigned JSC::UnlinkedCodeBlock::numberOfObjectAllocationProfiles ( )
inline

◆ numberOfObjectAllocationProfiles() [2/2]

unsigned JSC::UnlinkedCodeBlock::numberOfObjectAllocationProfiles ( )
inline

◆ numberOfPropertyAccessInstructions() [1/2]

size_t JSC::UnlinkedCodeBlock::numberOfPropertyAccessInstructions ( ) const
inline

◆ numberOfPropertyAccessInstructions() [2/2]

size_t JSC::UnlinkedCodeBlock::numberOfPropertyAccessInstructions ( ) const
inline

◆ numberOfRegExps() [1/2]

unsigned JSC::UnlinkedCodeBlock::numberOfRegExps ( ) const
inline

◆ numberOfRegExps() [2/2]

unsigned JSC::UnlinkedCodeBlock::numberOfRegExps ( ) const
inline

◆ numberOfStringSwitchJumpTables() [1/2]

size_t JSC::UnlinkedCodeBlock::numberOfStringSwitchJumpTables ( ) const
inline

◆ numberOfStringSwitchJumpTables() [2/2]

size_t JSC::UnlinkedCodeBlock::numberOfStringSwitchJumpTables ( ) const
inline

◆ numberOfSwitchJumpTables() [1/2]

size_t JSC::UnlinkedCodeBlock::numberOfSwitchJumpTables ( ) const
inline

◆ numberOfSwitchJumpTables() [2/2]

size_t JSC::UnlinkedCodeBlock::numberOfSwitchJumpTables ( ) const
inline

◆ numberOfValueProfiles() [1/2]

unsigned JSC::UnlinkedCodeBlock::numberOfValueProfiles ( )
inline

◆ numberOfValueProfiles() [2/2]

unsigned JSC::UnlinkedCodeBlock::numberOfValueProfiles ( )
inline

◆ numCalleeLocals() [1/2]

int JSC::UnlinkedCodeBlock::numCalleeLocals ( ) const
inline

◆ numCalleeLocals() [2/2]

int JSC::UnlinkedCodeBlock::numCalleeLocals ( ) const
inline

◆ numParameters() [1/2]

unsigned JSC::UnlinkedCodeBlock::numParameters ( ) const
inline

◆ numParameters() [2/2]

unsigned JSC::UnlinkedCodeBlock::numParameters ( ) const
inline

◆ opProfileControlFlowBytecodeOffsets() [1/2]

const Vector<size_t>& JSC::UnlinkedCodeBlock::opProfileControlFlowBytecodeOffsets ( ) const
inline

◆ opProfileControlFlowBytecodeOffsets() [2/2]

const Vector<size_t>& JSC::UnlinkedCodeBlock::opProfileControlFlowBytecodeOffsets ( ) const
inline

◆ parseMode() [1/2]

SourceParseMode JSC::UnlinkedCodeBlock::parseMode ( ) const
inline

◆ parseMode() [2/2]

SourceParseMode JSC::UnlinkedCodeBlock::parseMode ( ) const
inline

◆ propertyAccessInstructions() [1/2]

const Vector<unsigned>& JSC::UnlinkedCodeBlock::propertyAccessInstructions ( ) const
inline

◆ propertyAccessInstructions() [2/2]

const Vector<unsigned>& JSC::UnlinkedCodeBlock::propertyAccessInstructions ( ) const
inline

◆ recordParse() [1/2]

void JSC::UnlinkedCodeBlock::recordParse ( CodeFeatures  features,
bool  hasCapturedVariables,
unsigned  lineCount,
unsigned  endColumn 
)
inline

◆ recordParse() [2/2]

void JSC::UnlinkedCodeBlock::recordParse ( CodeFeatures  features,
bool  hasCapturedVariables,
unsigned  lineCount,
unsigned  endColumn 
)
inline

◆ regexp() [1/2]

RegExp* JSC::UnlinkedCodeBlock::regexp ( int  index) const
inline

◆ regexp() [2/2]

RegExp* JSC::UnlinkedCodeBlock::regexp ( int  index) const
inline

◆ registerIndexForLinkTimeConstant() [1/2]

unsigned JSC::UnlinkedCodeBlock::registerIndexForLinkTimeConstant ( LinkTimeConstant  type)
inline

◆ registerIndexForLinkTimeConstant() [2/2]

unsigned JSC::UnlinkedCodeBlock::registerIndexForLinkTimeConstant ( LinkTimeConstant  type)
inline

◆ scopeRegister() [1/2]

VirtualRegister JSC::UnlinkedCodeBlock::scopeRegister ( ) const
inline

◆ scopeRegister() [2/2]

VirtualRegister JSC::UnlinkedCodeBlock::scopeRegister ( ) const
inline

◆ scriptMode() [1/2]

JSParserScriptMode JSC::UnlinkedCodeBlock::scriptMode ( ) const
inline

◆ scriptMode() [2/2]

JSParserScriptMode JSC::UnlinkedCodeBlock::scriptMode ( ) const
inline

◆ setDidOptimize() [1/2]

void JSC::UnlinkedCodeBlock::setDidOptimize ( TriState  didOptimize)
inline

◆ setDidOptimize() [2/2]

void JSC::UnlinkedCodeBlock::setDidOptimize ( TriState  didOptimize)
inline

◆ setGlobalObjectRegister() [1/2]

void JSC::UnlinkedCodeBlock::setGlobalObjectRegister ( VirtualRegister  globalObjectRegister)
inline

◆ setGlobalObjectRegister() [2/2]

void JSC::UnlinkedCodeBlock::setGlobalObjectRegister ( VirtualRegister  globalObjectRegister)
inline

◆ setInstructions() [1/2]

void JSC::UnlinkedCodeBlock::setInstructions ( std::unique_ptr< UnlinkedInstructionStream )

◆ setInstructions() [2/2]

void JSC::UnlinkedCodeBlock::setInstructions ( std::unique_ptr< UnlinkedInstructionStream instructions)

◆ setNumParameters() [1/2]

void JSC::UnlinkedCodeBlock::setNumParameters ( int  newValue)
inline

◆ setNumParameters() [2/2]

void JSC::UnlinkedCodeBlock::setNumParameters ( int  newValue)
inline

◆ setScopeRegister() [1/2]

void JSC::UnlinkedCodeBlock::setScopeRegister ( VirtualRegister  scopeRegister)
inline

◆ setScopeRegister() [2/2]

void JSC::UnlinkedCodeBlock::setScopeRegister ( VirtualRegister  scopeRegister)
inline

◆ setSourceMappingURLDirective() [1/2]

void JSC::UnlinkedCodeBlock::setSourceMappingURLDirective ( const String sourceMappingURL)
inline

◆ setSourceMappingURLDirective() [2/2]

void JSC::UnlinkedCodeBlock::setSourceMappingURLDirective ( const String sourceMappingURL)
inline

◆ setSourceURLDirective() [1/2]

void JSC::UnlinkedCodeBlock::setSourceURLDirective ( const String sourceURL)
inline

◆ setSourceURLDirective() [2/2]

void JSC::UnlinkedCodeBlock::setSourceURLDirective ( const String sourceURL)
inline

◆ setThisRegister() [1/2]

void JSC::UnlinkedCodeBlock::setThisRegister ( VirtualRegister  thisRegister)
inline

◆ setThisRegister() [2/2]

void JSC::UnlinkedCodeBlock::setThisRegister ( VirtualRegister  thisRegister)
inline

◆ shrinkToFit() [1/2]

void JSC::UnlinkedCodeBlock::shrinkToFit ( )

◆ shrinkToFit() [2/2]

void JSC::UnlinkedCodeBlock::shrinkToFit ( )

◆ sourceMappingURLDirective() [1/2]

const String& JSC::UnlinkedCodeBlock::sourceMappingURLDirective ( ) const
inline

◆ sourceMappingURLDirective() [2/2]

const String& JSC::UnlinkedCodeBlock::sourceMappingURLDirective ( ) const
inline

◆ sourceURLDirective() [1/2]

const String& JSC::UnlinkedCodeBlock::sourceURLDirective ( ) const
inline

◆ sourceURLDirective() [2/2]

const String& JSC::UnlinkedCodeBlock::sourceURLDirective ( ) const
inline

◆ startColumn() [1/2]

ALWAYS_INLINE unsigned JSC::UnlinkedCodeBlock::startColumn ( ) const
inline

◆ startColumn() [2/2]

ALWAYS_INLINE unsigned JSC::UnlinkedCodeBlock::startColumn ( ) const
inline

◆ stringSwitchJumpTable() [1/2]

UnlinkedStringJumpTable& JSC::UnlinkedCodeBlock::stringSwitchJumpTable ( int  tableIndex)
inline

◆ stringSwitchJumpTable() [2/2]

UnlinkedStringJumpTable& JSC::UnlinkedCodeBlock::stringSwitchJumpTable ( int  tableIndex)
inline

◆ superBinding() [1/2]

SuperBinding JSC::UnlinkedCodeBlock::superBinding ( ) const
inline

◆ superBinding() [2/2]

SuperBinding JSC::UnlinkedCodeBlock::superBinding ( ) const
inline

◆ switchJumpTable() [1/2]

UnlinkedSimpleJumpTable& JSC::UnlinkedCodeBlock::switchJumpTable ( int  tableIndex)
inline

◆ switchJumpTable() [2/2]

UnlinkedSimpleJumpTable& JSC::UnlinkedCodeBlock::switchJumpTable ( int  tableIndex)
inline

◆ thisRegister() [1/2]

VirtualRegister JSC::UnlinkedCodeBlock::thisRegister ( ) const
inline

◆ thisRegister() [2/2]

VirtualRegister JSC::UnlinkedCodeBlock::thisRegister ( ) const
inline

◆ typeProfilerExpressionInfoForBytecodeOffset() [1/2]

bool JSC::UnlinkedCodeBlock::typeProfilerExpressionInfoForBytecodeOffset ( unsigned  bytecodeOffset,
unsigned &  startDivot,
unsigned &  endDivot 
)

◆ typeProfilerExpressionInfoForBytecodeOffset() [2/2]

bool JSC::UnlinkedCodeBlock::typeProfilerExpressionInfoForBytecodeOffset ( unsigned  bytecodeOffset,
unsigned &  startDivot,
unsigned &  endDivot 
)

◆ usesEval() [1/2]

bool JSC::UnlinkedCodeBlock::usesEval ( ) const
inline

◆ usesEval() [2/2]

bool JSC::UnlinkedCodeBlock::usesEval ( ) const
inline

◆ usesGlobalObject() [1/2]

bool JSC::UnlinkedCodeBlock::usesGlobalObject ( ) const
inline

◆ usesGlobalObject() [2/2]

bool JSC::UnlinkedCodeBlock::usesGlobalObject ( ) const
inline

◆ visitChildren() [1/2]

void JSC::UnlinkedCodeBlock::visitChildren ( JSCell cell,
SlotVisitor visitor 
)
staticprotected

◆ visitChildren() [2/2]

static void JSC::UnlinkedCodeBlock::visitChildren ( JSCell ,
SlotVisitor  
)
staticprotected

◆ wasCompiledWithDebuggingOpcodes() [1/2]

bool JSC::UnlinkedCodeBlock::wasCompiledWithDebuggingOpcodes ( ) const
inline

◆ wasCompiledWithDebuggingOpcodes() [2/2]

bool JSC::UnlinkedCodeBlock::wasCompiledWithDebuggingOpcodes ( ) const
inline

Friends And Related Function Documentation

◆ BytecodeRewriter

Member Data Documentation

◆ DECLARE_INFO

JSC::UnlinkedCodeBlock::DECLARE_INFO

◆ m_numCalleeLocals

int JSC::UnlinkedCodeBlock::m_numCalleeLocals

◆ m_numCapturedVars

int JSC::UnlinkedCodeBlock::m_numCapturedVars

◆ m_numVars

int JSC::UnlinkedCodeBlock::m_numVars

◆ needsDestruction

static const bool JSC::UnlinkedCodeBlock::needsDestruction = true
static

◆ StructureFlags

static const unsigned JSC::UnlinkedCodeBlock::StructureFlags = Base::StructureFlags
static

The documentation for this class was generated from the following files: