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

#include <ScriptExecutable.h>

Inheritance diagram for JSC::ScriptExecutable:
JSC::ExecutableBase JSC::ExecutableBase JSC::JSCell JSC::JSCell JSC::JSCell JSC::JSCell JSC::HeapCell JSC::HeapCell JSC::HeapCell JSC::HeapCell JSC::HeapCell JSC::HeapCell JSC::HeapCell JSC::HeapCell JSC::EvalExecutable JSC::EvalExecutable JSC::FunctionExecutable JSC::FunctionExecutable JSC::ModuleProgramExecutable JSC::ModuleProgramExecutable JSC::ProgramExecutable JSC::ProgramExecutable

Public Types

typedef ExecutableBase Base
 
typedef ExecutableBase Base
 
- Public Types inherited from JSC::ExecutableBase
typedef JSCell Base
 
typedef JSCell Base
 
- 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

CodeBlockHash hashFor (CodeSpecializationKind) const
 
const SourceCodesource () const
 
intptr_t sourceID () const
 
const SourceOriginsourceOrigin () const
 
const StringsourceURL () const
 
int firstLine () const
 
void setOverrideLineNumber (int overrideLineNumber)
 
bool hasOverrideLineNumber () const
 
int overrideLineNumber () const
 
int lastLine () const
 
unsigned startColumn () const
 
unsigned endColumn () const
 
unsigned typeProfilingStartOffset () const
 
unsigned typeProfilingEndOffset () const
 
bool usesEval () const
 
bool usesArguments () const
 
bool isArrowFunctionContext () const
 
bool isStrictMode () const
 
DerivedContextType derivedContextType () const
 
EvalContextType evalContextType () const
 
ECMAMode ecmaMode () const
 
void setNeverInline (bool value)
 
void setNeverOptimize (bool value)
 
void setNeverFTLOptimize (bool value)
 
void setDidTryToEnterInLoop (bool value)
 
void setCanUseOSRExitFuzzing (bool value)
 
bool neverInline () const
 
bool neverOptimize () const
 
bool neverFTLOptimize () const
 
bool didTryToEnterInLoop () const
 
bool isInliningCandidate () const
 
bool isOkToOptimize () const
 
bool canUseOSRExitFuzzing () const
 
bool * addressOfDidTryToEnterInLoop ()
 
CodeFeatures features () const
 
void recordParse (CodeFeatures features, bool hasCapturedVariables, int lastLine, unsigned endColumn)
 
void installCode (CodeBlock *)
 
void installCode (VM &, CodeBlock *, CodeType, CodeSpecializationKind)
 
CodeBlocknewCodeBlockFor (CodeSpecializationKind, JSFunction *, JSScope *, JSObject *&exception)
 
CodeBlocknewReplacementCodeBlockFor (CodeSpecializationKind)
 
template<typename ExecutableType >
JSObjectprepareForExecution (VM &, JSFunction *, JSScope *, CodeSpecializationKind, CodeBlock *&resultCodeBlock)
 
CodeBlockHash hashFor (CodeSpecializationKind) const
 
const SourceCodesource () const
 
intptr_t sourceID () const
 
const SourceOriginsourceOrigin () const
 
const StringsourceURL () const
 
int firstLine () const
 
void setOverrideLineNumber (int overrideLineNumber)
 
bool hasOverrideLineNumber () const
 
int overrideLineNumber () const
 
int lastLine () const
 
unsigned startColumn () const
 
unsigned endColumn () const
 
unsigned typeProfilingStartOffset () const
 
unsigned typeProfilingEndOffset () const
 
bool usesEval () const
 
bool usesArguments () const
 
bool isArrowFunctionContext () const
 
bool isStrictMode () const
 
DerivedContextType derivedContextType () const
 
EvalContextType evalContextType () const
 
ECMAMode ecmaMode () const
 
void setNeverInline (bool value)
 
void setNeverOptimize (bool value)
 
void setNeverFTLOptimize (bool value)
 
void setDidTryToEnterInLoop (bool value)
 
void setCanUseOSRExitFuzzing (bool value)
 
bool neverInline () const
 
bool neverOptimize () const
 
bool neverFTLOptimize () const
 
bool didTryToEnterInLoop () const
 
bool isInliningCandidate () const
 
bool isOkToOptimize () const
 
bool canUseOSRExitFuzzing () const
 
bool * addressOfDidTryToEnterInLoop ()
 
CodeFeatures features () const
 
void recordParse (CodeFeatures features, bool hasCapturedVariables, int lastLine, unsigned endColumn)
 
void installCode (CodeBlock *)
 
void installCode (VM &, CodeBlock *, CodeType, CodeSpecializationKind)
 
CodeBlocknewCodeBlockFor (CodeSpecializationKind, JSFunction *, JSScope *, JSObject *&exception)
 
CodeBlocknewReplacementCodeBlockFor (CodeSpecializationKind)
 
template<typename ExecutableType >
JSObjectprepareForExecution (VM &, JSFunction *, JSScope *, CodeSpecializationKind, CodeBlock *&resultCodeBlock)
 
- Public Member Functions inherited from JSC::ExecutableBase
CodeBlockHash hashFor (CodeSpecializationKind) const
 
bool isEvalExecutable () const
 
bool isFunctionExecutable () const
 
bool isProgramExecutable () const
 
bool isModuleProgramExecutable ()
 
bool isHostFunction () const
 
void clearCode ()
 
Ref< JITCodegeneratedJITCodeForCall ()
 
Ref< JITCodegeneratedJITCodeForConstruct ()
 
Ref< JITCodegeneratedJITCodeFor (CodeSpecializationKind kind)
 
MacroAssemblerCodePtr entrypointFor (CodeSpecializationKind kind, ArityCheckMode arity)
 
bool hasJITCodeForCall () const
 
bool hasJITCodeForConstruct () const
 
bool hasJITCodeFor (CodeSpecializationKind kind) const
 
Intrinsic intrinsic () const
 
Intrinsic intrinsicFor (CodeSpecializationKind kind) const
 
void dump (PrintStream &) const
 
CodeBlockHash hashFor (CodeSpecializationKind) const
 
bool isEvalExecutable () const
 
bool isFunctionExecutable () const
 
bool isProgramExecutable () const
 
bool isModuleProgramExecutable ()
 
bool isHostFunction () const
 
void clearCode ()
 
Ref< JITCodegeneratedJITCodeForCall ()
 
Ref< JITCodegeneratedJITCodeForConstruct ()
 
Ref< JITCodegeneratedJITCodeFor (CodeSpecializationKind kind)
 
MacroAssemblerCodePtr entrypointFor (CodeSpecializationKind kind, ArityCheckMode arity)
 
bool hasJITCodeForCall () const
 
bool hasJITCodeForConstruct () const
 
bool hasJITCodeFor (CodeSpecializationKind kind) const
 
Intrinsic intrinsic () const
 
Intrinsic intrinsicFor (CodeSpecializationKind kind) const
 
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
 

Static Public Member Functions

static void destroy (JSCell *)
 
static void destroy (JSCell *)
 
- Static Public Member Functions inherited from JSC::ExecutableBase
static void destroy (JSCell *)
 
static StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue proto)
 
static ptrdiff_t offsetOfJITCodeWithArityCheckFor (CodeSpecializationKind kind)
 
static ptrdiff_t offsetOfNumParametersFor (CodeSpecializationKind kind)
 
static void destroy (JSCell *)
 
static StructurecreateStructure (VM &vm, JSGlobalObject *globalObject, JSValue proto)
 
static ptrdiff_t offsetOfJITCodeWithArityCheckFor (CodeSpecializationKind kind)
 
static ptrdiff_t offsetOfNumParametersFor (CodeSpecializationKind kind)
 
- 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 ()
 

Public Attributes

 DECLARE_EXPORT_INFO
 
- Public Attributes inherited from JSC::ExecutableBase
 DECLARE_EXPORT_INFO
 

Static Public Attributes

static const unsigned StructureFlags = Base::StructureFlags
 
- Static Public Attributes inherited from JSC::ExecutableBase
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

 ScriptExecutable (Structure *, VM &, const SourceCode &, bool isInStrictContext, DerivedContextType, bool isInArrowFunctionContext, EvalContextType, Intrinsic)
 
void finishCreation (VM &vm)
 
 ScriptExecutable (Structure *, VM &, const SourceCode &, bool isInStrictContext, DerivedContextType, bool isInArrowFunctionContext, EvalContextType, Intrinsic)
 
void finishCreation (VM &vm)
 
- Protected Member Functions inherited from JSC::ExecutableBase
 ExecutableBase (VM &vm, Structure *structure, int numParameters, Intrinsic intrinsic)
 
void finishCreation (VM &vm)
 
 ExecutableBase (VM &vm, Structure *structure, int numParameters, Intrinsic intrinsic)
 
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)
 

Protected Attributes

CodeFeatures m_features
 
bool m_didTryToEnterInLoop
 
bool m_hasCapturedVariables: 1
 
bool m_neverInline: 1
 
bool m_neverOptimize: 1
 
bool m_neverFTLOptimize: 1
 
bool m_isArrowFunctionContext: 1
 
bool m_canUseOSRExitFuzzing: 1
 
unsigned m_derivedContextType: 2
 
unsigned m_evalContextType: 2
 
int m_overrideLineNumber
 
int m_lastLine
 
unsigned m_endColumn
 
unsigned m_typeProfilingStartOffset
 
unsigned m_typeProfilingEndOffset
 
SourceCode m_source
 
- Protected Attributes inherited from JSC::ExecutableBase
int m_numParametersForCall
 
int m_numParametersForConstruct
 
Intrinsic m_intrinsic
 
RefPtr< JITCodem_jitCodeForCall
 
RefPtr< JITCodem_jitCodeForConstruct
 
MacroAssemblerCodePtr m_jitCodeForCallWithArityCheck
 
MacroAssemblerCodePtr m_jitCodeForConstructWithArityCheck
 

Friends

class ExecutableBase
 

Additional Inherited Members

- 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 *)
 
- Static Protected Attributes inherited from JSC::ExecutableBase
static const int NUM_PARAMETERS_IS_HOST = 0
 
static const int NUM_PARAMETERS_NOT_COMPILED = -1
 

Member Typedef Documentation

◆ Base [1/2]

◆ Base [2/2]

Constructor & Destructor Documentation

◆ ScriptExecutable() [1/2]

JSC::ScriptExecutable::ScriptExecutable ( Structure structure,
VM vm,
const SourceCode source,
bool  isInStrictContext,
DerivedContextType  derivedContextType,
bool  isInArrowFunctionContext,
EvalContextType  evalContextType,
Intrinsic  intrinsic 
)
protected

◆ ScriptExecutable() [2/2]

JSC::ScriptExecutable::ScriptExecutable ( Structure ,
VM ,
const SourceCode ,
bool  isInStrictContext,
DerivedContextType  ,
bool  isInArrowFunctionContext,
EvalContextType  ,
Intrinsic   
)
protected

Member Function Documentation

◆ addressOfDidTryToEnterInLoop() [1/2]

bool* JSC::ScriptExecutable::addressOfDidTryToEnterInLoop ( )
inline

◆ addressOfDidTryToEnterInLoop() [2/2]

bool* JSC::ScriptExecutable::addressOfDidTryToEnterInLoop ( )
inline

◆ canUseOSRExitFuzzing() [1/2]

bool JSC::ScriptExecutable::canUseOSRExitFuzzing ( ) const
inline

◆ canUseOSRExitFuzzing() [2/2]

bool JSC::ScriptExecutable::canUseOSRExitFuzzing ( ) const
inline

◆ derivedContextType() [1/2]

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

◆ derivedContextType() [2/2]

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

◆ destroy() [1/2]

void JSC::ScriptExecutable::destroy ( JSCell cell)
static

◆ destroy() [2/2]

static void JSC::ScriptExecutable::destroy ( JSCell )
static

◆ didTryToEnterInLoop() [1/2]

bool JSC::ScriptExecutable::didTryToEnterInLoop ( ) const
inline

◆ didTryToEnterInLoop() [2/2]

bool JSC::ScriptExecutable::didTryToEnterInLoop ( ) const
inline

◆ ecmaMode() [1/2]

ECMAMode JSC::ScriptExecutable::ecmaMode ( ) const
inline

◆ ecmaMode() [2/2]

ECMAMode JSC::ScriptExecutable::ecmaMode ( ) const
inline

◆ endColumn() [1/2]

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

◆ endColumn() [2/2]

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

◆ evalContextType() [1/2]

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

◆ evalContextType() [2/2]

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

◆ features() [1/2]

CodeFeatures JSC::ScriptExecutable::features ( ) const
inline

◆ features() [2/2]

CodeFeatures JSC::ScriptExecutable::features ( ) const
inline

◆ finishCreation() [1/2]

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

◆ finishCreation() [2/2]

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

◆ firstLine() [1/2]

int JSC::ScriptExecutable::firstLine ( ) const
inline

◆ firstLine() [2/2]

int JSC::ScriptExecutable::firstLine ( ) const
inline

◆ hashFor() [1/2]

CodeBlockHash JSC::ScriptExecutable::hashFor ( CodeSpecializationKind  kind) const

◆ hashFor() [2/2]

CodeBlockHash JSC::ScriptExecutable::hashFor ( CodeSpecializationKind  ) const

◆ hasOverrideLineNumber() [1/2]

bool JSC::ScriptExecutable::hasOverrideLineNumber ( ) const
inline

◆ hasOverrideLineNumber() [2/2]

bool JSC::ScriptExecutable::hasOverrideLineNumber ( ) const
inline

◆ installCode() [1/4]

void JSC::ScriptExecutable::installCode ( CodeBlock codeBlock)

◆ installCode() [2/4]

void JSC::ScriptExecutable::installCode ( CodeBlock )

◆ installCode() [3/4]

void JSC::ScriptExecutable::installCode ( VM vm,
CodeBlock genericCodeBlock,
CodeType  codeType,
CodeSpecializationKind  kind 
)

◆ installCode() [4/4]

void JSC::ScriptExecutable::installCode ( VM ,
CodeBlock ,
CodeType  ,
CodeSpecializationKind   
)

◆ isArrowFunctionContext() [1/2]

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

◆ isArrowFunctionContext() [2/2]

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

◆ isInliningCandidate() [1/2]

bool JSC::ScriptExecutable::isInliningCandidate ( ) const
inline

◆ isInliningCandidate() [2/2]

bool JSC::ScriptExecutable::isInliningCandidate ( ) const
inline

◆ isOkToOptimize() [1/2]

bool JSC::ScriptExecutable::isOkToOptimize ( ) const
inline

◆ isOkToOptimize() [2/2]

bool JSC::ScriptExecutable::isOkToOptimize ( ) const
inline

◆ isStrictMode() [1/2]

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

◆ isStrictMode() [2/2]

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

◆ lastLine() [1/2]

int JSC::ScriptExecutable::lastLine ( ) const
inline

◆ lastLine() [2/2]

int JSC::ScriptExecutable::lastLine ( ) const
inline

◆ neverFTLOptimize() [1/2]

bool JSC::ScriptExecutable::neverFTLOptimize ( ) const
inline

◆ neverFTLOptimize() [2/2]

bool JSC::ScriptExecutable::neverFTLOptimize ( ) const
inline

◆ neverInline() [1/2]

bool JSC::ScriptExecutable::neverInline ( ) const
inline

◆ neverInline() [2/2]

bool JSC::ScriptExecutable::neverInline ( ) const
inline

◆ neverOptimize() [1/2]

bool JSC::ScriptExecutable::neverOptimize ( ) const
inline

◆ neverOptimize() [2/2]

bool JSC::ScriptExecutable::neverOptimize ( ) const
inline

◆ newCodeBlockFor() [1/2]

CodeBlock * JSC::ScriptExecutable::newCodeBlockFor ( CodeSpecializationKind  kind,
JSFunction function,
JSScope scope,
JSObject *&  exception 
)

◆ newCodeBlockFor() [2/2]

CodeBlock* JSC::ScriptExecutable::newCodeBlockFor ( CodeSpecializationKind  ,
JSFunction ,
JSScope ,
JSObject *&  exception 
)

◆ newReplacementCodeBlockFor() [1/2]

CodeBlock* JSC::ScriptExecutable::newReplacementCodeBlockFor ( CodeSpecializationKind  )

◆ newReplacementCodeBlockFor() [2/2]

CodeBlock * JSC::ScriptExecutable::newReplacementCodeBlockFor ( CodeSpecializationKind  kind)

◆ overrideLineNumber() [1/2]

int JSC::ScriptExecutable::overrideLineNumber ( ) const
inline

◆ overrideLineNumber() [2/2]

int JSC::ScriptExecutable::overrideLineNumber ( ) const
inline

◆ prepareForExecution() [1/2]

template<typename ExecutableType >
JSObject * JSC::ScriptExecutable::prepareForExecution ( VM vm,
JSFunction function,
JSScope scope,
CodeSpecializationKind  kind,
CodeBlock *&  resultCodeBlock 
)

◆ prepareForExecution() [2/2]

template<typename ExecutableType >
JSObject* JSC::ScriptExecutable::prepareForExecution ( VM ,
JSFunction ,
JSScope ,
CodeSpecializationKind  ,
CodeBlock *&  resultCodeBlock 
)

◆ recordParse() [1/2]

void JSC::ScriptExecutable::recordParse ( CodeFeatures  features,
bool  hasCapturedVariables,
int  lastLine,
unsigned  endColumn 
)
inline

◆ recordParse() [2/2]

void JSC::ScriptExecutable::recordParse ( CodeFeatures  features,
bool  hasCapturedVariables,
int  lastLine,
unsigned  endColumn 
)
inline

◆ setCanUseOSRExitFuzzing() [1/2]

void JSC::ScriptExecutable::setCanUseOSRExitFuzzing ( bool  value)
inline

◆ setCanUseOSRExitFuzzing() [2/2]

void JSC::ScriptExecutable::setCanUseOSRExitFuzzing ( bool  value)
inline

◆ setDidTryToEnterInLoop() [1/2]

void JSC::ScriptExecutable::setDidTryToEnterInLoop ( bool  value)
inline

◆ setDidTryToEnterInLoop() [2/2]

void JSC::ScriptExecutable::setDidTryToEnterInLoop ( bool  value)
inline

◆ setNeverFTLOptimize() [1/2]

void JSC::ScriptExecutable::setNeverFTLOptimize ( bool  value)
inline

◆ setNeverFTLOptimize() [2/2]

void JSC::ScriptExecutable::setNeverFTLOptimize ( bool  value)
inline

◆ setNeverInline() [1/2]

void JSC::ScriptExecutable::setNeverInline ( bool  value)
inline

◆ setNeverInline() [2/2]

void JSC::ScriptExecutable::setNeverInline ( bool  value)
inline

◆ setNeverOptimize() [1/2]

void JSC::ScriptExecutable::setNeverOptimize ( bool  value)
inline

◆ setNeverOptimize() [2/2]

void JSC::ScriptExecutable::setNeverOptimize ( bool  value)
inline

◆ setOverrideLineNumber() [1/2]

void JSC::ScriptExecutable::setOverrideLineNumber ( int  overrideLineNumber)
inline

◆ setOverrideLineNumber() [2/2]

void JSC::ScriptExecutable::setOverrideLineNumber ( int  overrideLineNumber)
inline

◆ source() [1/2]

const SourceCode& JSC::ScriptExecutable::source ( ) const
inline

◆ source() [2/2]

const SourceCode& JSC::ScriptExecutable::source ( ) const
inline

◆ sourceID() [1/2]

intptr_t JSC::ScriptExecutable::sourceID ( ) const
inline

◆ sourceID() [2/2]

intptr_t JSC::ScriptExecutable::sourceID ( ) const
inline

◆ sourceOrigin() [1/2]

const SourceOrigin& JSC::ScriptExecutable::sourceOrigin ( ) const
inline

◆ sourceOrigin() [2/2]

const SourceOrigin& JSC::ScriptExecutable::sourceOrigin ( ) const
inline

◆ sourceURL() [1/2]

const String& JSC::ScriptExecutable::sourceURL ( ) const
inline

◆ sourceURL() [2/2]

const String& JSC::ScriptExecutable::sourceURL ( ) const
inline

◆ startColumn() [1/2]

unsigned JSC::ScriptExecutable::startColumn ( ) const
inline

◆ startColumn() [2/2]

unsigned JSC::ScriptExecutable::startColumn ( ) const
inline

◆ typeProfilingEndOffset() [1/2]

unsigned JSC::ScriptExecutable::typeProfilingEndOffset ( ) const
inline

◆ typeProfilingEndOffset() [2/2]

unsigned JSC::ScriptExecutable::typeProfilingEndOffset ( ) const
inline

◆ typeProfilingStartOffset() [1/2]

unsigned JSC::ScriptExecutable::typeProfilingStartOffset ( ) const
inline

◆ typeProfilingStartOffset() [2/2]

unsigned JSC::ScriptExecutable::typeProfilingStartOffset ( ) const
inline

◆ usesArguments() [1/2]

bool JSC::ScriptExecutable::usesArguments ( ) const
inline

◆ usesArguments() [2/2]

bool JSC::ScriptExecutable::usesArguments ( ) const
inline

◆ usesEval() [1/2]

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

◆ usesEval() [2/2]

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

Friends And Related Function Documentation

◆ ExecutableBase

Member Data Documentation

◆ DECLARE_EXPORT_INFO

JSC::ScriptExecutable::DECLARE_EXPORT_INFO

◆ m_canUseOSRExitFuzzing

bool JSC::ScriptExecutable::m_canUseOSRExitFuzzing
protected

◆ m_derivedContextType

unsigned JSC::ScriptExecutable::m_derivedContextType
protected

◆ m_didTryToEnterInLoop

bool JSC::ScriptExecutable::m_didTryToEnterInLoop
protected

◆ m_endColumn

unsigned JSC::ScriptExecutable::m_endColumn
protected

◆ m_evalContextType

unsigned JSC::ScriptExecutable::m_evalContextType
protected

◆ m_features

CodeFeatures JSC::ScriptExecutable::m_features
protected

◆ m_hasCapturedVariables

bool JSC::ScriptExecutable::m_hasCapturedVariables
protected

◆ m_isArrowFunctionContext

bool JSC::ScriptExecutable::m_isArrowFunctionContext
protected

◆ m_lastLine

int JSC::ScriptExecutable::m_lastLine
protected

◆ m_neverFTLOptimize

bool JSC::ScriptExecutable::m_neverFTLOptimize
protected

◆ m_neverInline

bool JSC::ScriptExecutable::m_neverInline
protected

◆ m_neverOptimize

bool JSC::ScriptExecutable::m_neverOptimize
protected

◆ m_overrideLineNumber

int JSC::ScriptExecutable::m_overrideLineNumber
protected

◆ m_source

SourceCode JSC::ScriptExecutable::m_source
protected

◆ m_typeProfilingEndOffset

unsigned JSC::ScriptExecutable::m_typeProfilingEndOffset
protected

◆ m_typeProfilingStartOffset

unsigned JSC::ScriptExecutable::m_typeProfilingStartOffset
protected

◆ StructureFlags

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

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