Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
dart::CompilationPipeline Class Referenceabstract

#include <compiler.h>

Inheritance diagram for dart::CompilationPipeline:
dart::ZoneAllocated dart::DartCompilationPipeline dart::IrregexpCompilationPipeline

Public Member Functions

virtual void ParseFunction (ParsedFunction *parsed_function)=0
 
virtual FlowGraphBuildFlowGraph (Zone *zone, ParsedFunction *parsed_function, ZoneGrowableArray< const ICData * > *ic_data_array, intptr_t osr_id, bool optimized)=0
 
virtual ~CompilationPipeline ()
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Static Public Member Functions

static CompilationPipelineNew (Zone *zone, const Function &function)
 

Detailed Description

Definition at line 30 of file compiler.h.

Constructor & Destructor Documentation

◆ ~CompilationPipeline()

virtual dart::CompilationPipeline::~CompilationPipeline ( )
inlinevirtual

Definition at line 41 of file compiler.h.

41{}

Member Function Documentation

◆ BuildFlowGraph()

virtual FlowGraph * dart::CompilationPipeline::BuildFlowGraph ( Zone zone,
ParsedFunction parsed_function,
ZoneGrowableArray< const ICData * > *  ic_data_array,
intptr_t  osr_id,
bool  optimized 
)
pure virtual

◆ New()

CompilationPipeline * dart::CompilationPipeline::New ( Zone zone,
const Function function 
)
static

Definition at line 201 of file compiler.cc.

202 {
203 if (function.IsIrregexpFunction()) {
204 return new (zone) IrregexpCompilationPipeline();
205 } else {
206 return new (zone) DartCompilationPipeline();
207 }
208}
Dart_NativeFunction function
Definition: fuchsia.cc:51

◆ ParseFunction()

virtual void dart::CompilationPipeline::ParseFunction ( ParsedFunction parsed_function)
pure virtual

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