v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::JSContextSpecialization Class Referencefinal

#include <js-context-specialization.h>

Inheritance diagram for v8::internal::compiler::JSContextSpecialization:
Collaboration diagram for v8::internal::compiler::JSContextSpecialization:

Public Member Functions

 JSContextSpecialization (Editor *editor, JSGraph *jsgraph, JSHeapBroker *broker, Maybe< OuterContext > outer, MaybeHandle< JSFunction > closure)
 
 JSContextSpecialization (const JSContextSpecialization &)=delete
 
JSContextSpecializationoperator= (const JSContextSpecialization &)=delete
 
const char * reducer_name () const override
 
Reduction Reduce (Node *node) final
 
- Public Member Functions inherited from v8::internal::compiler::AdvancedReducer
 AdvancedReducer (Editor *editor)
 
- Public Member Functions inherited from v8::internal::compiler::Reducer
virtual ~Reducer ()=default
 
Reduction Reduce (Node *node, ObserveNodeManager *observe_node_manager)
 
virtual void Finalize ()
 

Private Member Functions

Reduction ReduceParameter (Node *node)
 
Reduction ReduceJSLoadContext (Node *node)
 
Reduction ReduceJSLoadScriptContext (Node *node)
 
Reduction ReduceJSStoreContext (Node *node)
 
Reduction ReduceJSStoreScriptContext (Node *node)
 
Reduction ReduceJSGetImportMeta (Node *node)
 
Reduction SimplifyJSLoadContext (Node *node, Node *new_context, size_t new_depth)
 
Reduction SimplifyJSLoadScriptContext (Node *node, Node *new_context, size_t new_depth)
 
Reduction SimplifyJSStoreContext (Node *node, Node *new_context, size_t new_depth)
 
Reduction SimplifyJSStoreScriptContext (Node *node, Node *new_context, size_t new_depth)
 
Isolateisolate () const
 
JSGraphjsgraph () const
 
Maybe< OuterContextouter () const
 
MaybeHandle< JSFunctionclosure () const
 
JSHeapBrokerbroker () const
 

Private Attributes

JSGraph *const jsgraph_
 
Maybe< OuterContextouter_
 
MaybeHandle< JSFunctionclosure_
 
JSHeapBroker *const broker_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::compiler::Reducer
static Reduction NoChange ()
 
static Reduction Replace (Node *node)
 
static Reduction Changed (Node *node)
 
- Protected Member Functions inherited from v8::internal::compiler::AdvancedReducer
void Replace (Node *node, Node *replacement)
 
void Replace (Node *node, Node *replacement, NodeId max_id)
 
void Revisit (Node *node)
 
void ReplaceWithValue (Node *node, Node *value, Node *effect=nullptr, Node *control=nullptr)
 
void RelaxEffectsAndControls (Node *node)
 
void RelaxControls (Node *node, Node *control=nullptr)
 
void MergeControlToEnd (TFGraph *graph, CommonOperatorBuilder *common, Node *node)
 
- Static Protected Member Functions inherited from v8::internal::compiler::AdvancedReducer
static Reduction Replace (Node *node)
 

Detailed Description

Definition at line 37 of file js-context-specialization.h.

Constructor & Destructor Documentation

◆ JSContextSpecialization() [1/2]

v8::internal::compiler::JSContextSpecialization::JSContextSpecialization ( Editor * editor,
JSGraph * jsgraph,
JSHeapBroker * broker,
Maybe< OuterContext > outer,
MaybeHandle< JSFunction > closure )
inline

Definition at line 39 of file js-context-specialization.h.

◆ JSContextSpecialization() [2/2]

v8::internal::compiler::JSContextSpecialization::JSContextSpecialization ( const JSContextSpecialization & )
delete

Member Function Documentation

◆ broker()

JSHeapBroker * v8::internal::compiler::JSContextSpecialization::broker ( ) const
inlineprivate

Definition at line 77 of file js-context-specialization.h.

Here is the caller graph for this function:

◆ closure()

MaybeHandle< JSFunction > v8::internal::compiler::JSContextSpecialization::closure ( ) const
inlineprivate

Definition at line 76 of file js-context-specialization.h.

Here is the caller graph for this function:

◆ isolate()

Isolate * v8::internal::compiler::JSContextSpecialization::isolate ( ) const
private

Definition at line 626 of file js-context-specialization.cc.

Here is the call graph for this function:

◆ jsgraph()

JSGraph * v8::internal::compiler::JSContextSpecialization::jsgraph ( ) const
inlineprivate

Definition at line 74 of file js-context-specialization.h.

Here is the caller graph for this function:

◆ operator=()

JSContextSpecialization & v8::internal::compiler::JSContextSpecialization::operator= ( const JSContextSpecialization & )
delete

◆ outer()

Maybe< OuterContext > v8::internal::compiler::JSContextSpecialization::outer ( ) const
inlineprivate

Definition at line 75 of file js-context-specialization.h.

Here is the caller graph for this function:

◆ Reduce()

Reduction v8::internal::compiler::JSContextSpecialization::Reduce ( Node * node)
finalvirtual

Implements v8::internal::compiler::Reducer.

Definition at line 27 of file js-context-specialization.cc.

Here is the call graph for this function:

◆ ReduceJSGetImportMeta()

Reduction v8::internal::compiler::JSContextSpecialization::ReduceJSGetImportMeta ( Node * node)
private

Definition at line 604 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReduceJSLoadContext()

Reduction v8::internal::compiler::JSContextSpecialization::ReduceJSLoadContext ( Node * node)
private

Definition at line 184 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReduceJSLoadScriptContext()

Reduction v8::internal::compiler::JSContextSpecialization::ReduceJSLoadScriptContext ( Node * node)
private

Definition at line 248 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReduceJSStoreContext()

Reduction v8::internal::compiler::JSContextSpecialization::ReduceJSStoreContext ( Node * node)
private

Definition at line 377 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReduceJSStoreScriptContext()

Reduction v8::internal::compiler::JSContextSpecialization::ReduceJSStoreScriptContext ( Node * node)
private

Definition at line 408 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReduceParameter()

Reduction v8::internal::compiler::JSContextSpecialization::ReduceParameter ( Node * node)
private

Definition at line 47 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reducer_name()

const char * v8::internal::compiler::JSContextSpecialization::reducer_name ( ) const
inlineoverridevirtual

Implements v8::internal::compiler::Reducer.

Definition at line 50 of file js-context-specialization.h.

◆ SimplifyJSLoadContext()

Reduction v8::internal::compiler::JSContextSpecialization::SimplifyJSLoadContext ( Node * node,
Node * new_context,
size_t new_depth )
private

Definition at line 62 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SimplifyJSLoadScriptContext()

Reduction v8::internal::compiler::JSContextSpecialization::SimplifyJSLoadScriptContext ( Node * node,
Node * new_context,
size_t new_depth )
private

Definition at line 81 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SimplifyJSStoreContext()

Reduction v8::internal::compiler::JSContextSpecialization::SimplifyJSStoreContext ( Node * node,
Node * new_context,
size_t new_depth )
private

Definition at line 99 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SimplifyJSStoreScriptContext()

Reduction v8::internal::compiler::JSContextSpecialization::SimplifyJSStoreScriptContext ( Node * node,
Node * new_context,
size_t new_depth )
private

Definition at line 118 of file js-context-specialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ broker_

JSHeapBroker* const v8::internal::compiler::JSContextSpecialization::broker_
private

Definition at line 82 of file js-context-specialization.h.

◆ closure_

MaybeHandle<JSFunction> v8::internal::compiler::JSContextSpecialization::closure_
private

Definition at line 81 of file js-context-specialization.h.

◆ jsgraph_

JSGraph* const v8::internal::compiler::JSContextSpecialization::jsgraph_
private

Definition at line 79 of file js-context-specialization.h.

◆ outer_

Maybe<OuterContext> v8::internal::compiler::JSContextSpecialization::outer_
private

Definition at line 80 of file js-context-specialization.h.


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