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

#include <turbofan-typer.h>

Collaboration diagram for v8::internal::compiler::Typer:

Classes

class  Decorator
 
class  Visitor
 

Public Types

enum  Flag : uint8_t { kNoFlags = 0 , kThisIsReceiver = 1u << 0 , kNewTargetIsReceiver = 1u << 1 }
 
using Flags = base::Flags<Flag>
 

Public Member Functions

 Typer (JSHeapBroker *broker, Flags flags, TFGraph *graph, TickCounter *tick_counter)
 
 ~Typer ()
 
 Typer (const Typer &)=delete
 
Typeroperator= (const Typer &)=delete
 
void Run ()
 
void Run (const ZoneVector< Node * > &roots, LoopVariableOptimizer *induction_vars)
 

Private Member Functions

Flags flags () const
 
TFGraphgraph () const
 
Zonezone () const
 
OperationTyperoperation_typer ()
 
JSHeapBrokerbroker () const
 

Private Attributes

Flags const flags_
 
TFGraph *const graph_
 
Decoratordecorator_
 
TypeCache const * cache_
 
JSHeapBrokerbroker_
 
OperationTyper operation_typer_
 
TickCounter *const tick_counter_
 
Type singleton_false_
 
Type singleton_true_
 

Detailed Description

Definition at line 21 of file turbofan-typer.h.

Member Typedef Documentation

◆ Flags

Member Enumeration Documentation

◆ Flag

Enumerator
kNoFlags 
kThisIsReceiver 
kNewTargetIsReceiver 

Definition at line 23 of file turbofan-typer.h.

Constructor & Destructor Documentation

◆ Typer() [1/2]

v8::internal::compiler::Typer::Typer ( JSHeapBroker * broker,
Flags flags,
TFGraph * graph,
TickCounter * tick_counter )

Definition at line 38 of file turbofan-typer.cc.

Here is the call graph for this function:

◆ ~Typer()

v8::internal::compiler::Typer::~Typer ( )

Definition at line 54 of file turbofan-typer.cc.

Here is the call graph for this function:

◆ Typer() [2/2]

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

Member Function Documentation

◆ broker()

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

Definition at line 50 of file turbofan-typer.h.

Here is the caller graph for this function:

◆ flags()

Flags v8::internal::compiler::Typer::flags ( ) const
inlineprivate

Definition at line 46 of file turbofan-typer.h.

◆ graph()

TFGraph * v8::internal::compiler::Typer::graph ( ) const
inlineprivate

Definition at line 47 of file turbofan-typer.h.

Here is the caller graph for this function:

◆ operation_typer()

OperationTyper * v8::internal::compiler::Typer::operation_typer ( )
inlineprivate

Definition at line 49 of file turbofan-typer.h.

◆ operator=()

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

◆ Run() [1/2]

void v8::internal::compiler::Typer::Run ( )

Definition at line 468 of file turbofan-typer.cc.

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

◆ Run() [2/2]

void v8::internal::compiler::Typer::Run ( const ZoneVector< Node * > & roots,
LoopVariableOptimizer * induction_vars )

◆ zone()

Zone * v8::internal::compiler::Typer::zone ( ) const
inlineprivate

Definition at line 48 of file turbofan-typer.h.

Here is the caller graph for this function:

Member Data Documentation

◆ broker_

JSHeapBroker* v8::internal::compiler::Typer::broker_
private

Definition at line 56 of file turbofan-typer.h.

◆ cache_

TypeCache const* v8::internal::compiler::Typer::cache_
private

Definition at line 55 of file turbofan-typer.h.

◆ decorator_

Decorator* v8::internal::compiler::Typer::decorator_
private

Definition at line 54 of file turbofan-typer.h.

◆ flags_

Flags const v8::internal::compiler::Typer::flags_
private

Definition at line 52 of file turbofan-typer.h.

◆ graph_

TFGraph* const v8::internal::compiler::Typer::graph_
private

Definition at line 53 of file turbofan-typer.h.

◆ operation_typer_

OperationTyper v8::internal::compiler::Typer::operation_typer_
private

Definition at line 57 of file turbofan-typer.h.

◆ singleton_false_

Type v8::internal::compiler::Typer::singleton_false_
private

Definition at line 60 of file turbofan-typer.h.

◆ singleton_true_

Type v8::internal::compiler::Typer::singleton_true_
private

Definition at line 61 of file turbofan-typer.h.

◆ tick_counter_

TickCounter* const v8::internal::compiler::Typer::tick_counter_
private

Definition at line 58 of file turbofan-typer.h.


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