Flutter Engine
The Flutter Engine
Public Member Functions | Private Member Functions | List of all members
dart::SlowPathCode Class Referenceabstract

#include <flow_graph_compiler.h>

Inheritance diagram for dart::SlowPathCode:
dart::ZoneAllocated dart::TemplateSlowPathCode< Instruction > dart::TemplateSlowPathCode< DoubleToIntegerInstr > dart::TemplateSlowPathCode< T > dart::BoxAllocationSlowPath dart::ThrowErrorSlowPathCode dart::DoubleToIntegerSlowPath dart::LateInitializationErrorSlowPath dart::NullErrorSlowPath dart::RangeErrorSlowPath dart::WriteErrorSlowPath

Public Member Functions

 SlowPathCode (Instruction *instruction)
 
virtual ~SlowPathCode ()
 
Instructioninstruction () const
 
compiler::Labelentry_label ()
 
compiler::Labelexit_label ()
 
void GenerateCode (FlowGraphCompiler *compiler)
 
- 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)
 

Private Member Functions

virtual void EmitNativeCode (FlowGraphCompiler *compiler)=0
 

Detailed Description

Definition at line 146 of file flow_graph_compiler.h.

Constructor & Destructor Documentation

◆ SlowPathCode()

dart::SlowPathCode::SlowPathCode ( Instruction instruction)
inlineexplicit

Definition at line 148 of file flow_graph_compiler.h.

149 : instruction_(instruction), entry_label_(), exit_label_() {}
Instruction * instruction() const

◆ ~SlowPathCode()

virtual dart::SlowPathCode::~SlowPathCode ( )
inlinevirtual

Definition at line 150 of file flow_graph_compiler.h.

150{}

Member Function Documentation

◆ EmitNativeCode()

virtual void dart::SlowPathCode::EmitNativeCode ( FlowGraphCompiler compiler)
privatepure virtual

◆ entry_label()

compiler::Label * dart::SlowPathCode::entry_label ( )
inline

Definition at line 153 of file flow_graph_compiler.h.

153{ return &entry_label_; }

◆ exit_label()

compiler::Label * dart::SlowPathCode::exit_label ( )
inline

Definition at line 154 of file flow_graph_compiler.h.

154{ return &exit_label_; }

◆ GenerateCode()

void dart::SlowPathCode::GenerateCode ( FlowGraphCompiler compiler)
inline

Definition at line 156 of file flow_graph_compiler.h.

156 {
158 ASSERT(entry_label_.IsBound());
159 }
virtual void EmitNativeCode(FlowGraphCompiler *compiler)=0
#define ASSERT(E)

◆ instruction()

Instruction * dart::SlowPathCode::instruction ( ) const
inline

Definition at line 152 of file flow_graph_compiler.h.

152{ return instruction_; }

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