Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
dart::Precompiler Class Reference

#include <precompiler.h>

Inheritance diagram for dart::Precompiler:
dart::ValueObject

Public Types

enum class  Phase { kPreparation , kCompilingConstructorsForInstructionCounts , kFixpointCodeGeneration , kDone }
 

Public Member Functions

bool get_runtime_type_is_unique () const
 
compiler::ObjectPoolBuilderglobal_object_pool_builder ()
 
compiler::SelectorMapselector_map ()
 
void AddField (const Field &field)
 
void AddTableSelector (const compiler::TableSelector *selector)
 
Phase phase () const
 
bool is_tracing () const
 
Threadthread () const
 
Zonezone () const
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Static Public Member Functions

static ErrorPtr CompileAll ()
 
static ErrorPtr CompileFunction (Precompiler *precompiler, Thread *thread, Zone *zone, const Function &function)
 
static PrecompilerInstance ()
 

Detailed Description

Definition at line 242 of file precompiler.h.

Member Enumeration Documentation

◆ Phase

enum class dart::Precompiler::Phase
strong
Enumerator
kPreparation 
kCompilingConstructorsForInstructionCounts 
kFixpointCodeGeneration 
kDone 

Definition at line 269 of file precompiler.h.

Member Function Documentation

◆ AddField()

void dart::Precompiler::AddField ( const Field field)

◆ AddTableSelector()

void dart::Precompiler::AddTableSelector ( const compiler::TableSelector selector)

◆ CompileAll()

static ErrorPtr dart::Precompiler::CompileAll ( )
static

◆ CompileFunction()

static ErrorPtr dart::Precompiler::CompileFunction ( Precompiler precompiler,
Thread thread,
Zone zone,
const Function function 
)
static

◆ get_runtime_type_is_unique()

bool dart::Precompiler::get_runtime_type_is_unique ( ) const
inline

Definition at line 252 of file precompiler.h.

252 {
253 return get_runtime_type_is_unique_;
254 }

◆ global_object_pool_builder()

compiler::ObjectPoolBuilder * dart::Precompiler::global_object_pool_builder ( )
inline

Definition at line 256 of file precompiler.h.

256 {
257 return &global_object_pool_builder_;
258 }

◆ Instance()

static Precompiler * dart::Precompiler::Instance ( )
inlinestatic

Definition at line 264 of file precompiler.h.

264{ return singleton_; }

◆ is_tracing()

bool dart::Precompiler::is_tracing ( ) const
inline

Definition at line 278 of file precompiler.h.

278{ return is_tracing_; }

◆ phase()

Phase dart::Precompiler::phase ( ) const
inline

Definition at line 276 of file precompiler.h.

276{ return phase_; }

◆ selector_map()

compiler::SelectorMap * dart::Precompiler::selector_map ( )
inline

Definition at line 260 of file precompiler.h.

260 {
261 return dispatch_table_generator_->selector_map();
262 }

◆ thread()

Thread * dart::Precompiler::thread ( ) const
inline

Definition at line 280 of file precompiler.h.

280{ return thread_; }

◆ zone()

Zone * dart::Precompiler::zone ( ) const
inline

Definition at line 281 of file precompiler.h.

281{ return zone_; }

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