Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::CompilerDeoptInfo Class Reference

#include <flow_graph_compiler.h>

Inheritance diagram for dart::CompilerDeoptInfo:
dart::ZoneAllocated dart::CompilerDeoptInfoWithStub

Public Member Functions

 CompilerDeoptInfo (intptr_t deopt_id, ICData::DeoptReasonId reason, uint32_t flags, Environment *deopt_env)
 
virtual ~CompilerDeoptInfo ()
 
TypedDataPtr CreateDeoptInfo (FlowGraphCompiler *compiler, DeoptInfoBuilder *builder, const Array &deopt_table)
 
virtual void GenerateCode (FlowGraphCompiler *compiler, intptr_t stub_ix)
 
intptr_t pc_offset () const
 
void set_pc_offset (intptr_t offset)
 
intptr_t deopt_id () const
 
ICData::DeoptReasonId reason () const
 
uint32_t flags () const
 
const Environmentdeopt_env () const
 
- 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)
 

Detailed Description

Definition at line 70 of file flow_graph_compiler.h.

Constructor & Destructor Documentation

◆ CompilerDeoptInfo()

dart::CompilerDeoptInfo::CompilerDeoptInfo ( intptr_t  deopt_id,
ICData::DeoptReasonId  reason,
uint32_t  flags,
Environment deopt_env 
)
inline

Definition at line 72 of file flow_graph_compiler.h.

76 : pc_offset_(-1),
77 deopt_id_(deopt_id),
78 reason_(reason),
79 flags_(flags),
80 deopt_env_(deopt_env) {
81 ASSERT(deopt_env != nullptr);
82 }
const Environment * deopt_env() const
ICData::DeoptReasonId reason() const
#define ASSERT(E)

◆ ~CompilerDeoptInfo()

virtual dart::CompilerDeoptInfo::~CompilerDeoptInfo ( )
inlinevirtual

Definition at line 83 of file flow_graph_compiler.h.

83{}

Member Function Documentation

◆ CreateDeoptInfo()

TypedDataPtr dart::CompilerDeoptInfo::CreateDeoptInfo ( FlowGraphCompiler compiler,
DeoptInfoBuilder builder,
const Array deopt_table 
)

◆ deopt_env()

const Environment * dart::CompilerDeoptInfo::deopt_env ( ) const
inline

Definition at line 98 of file flow_graph_compiler.h.

98{ return deopt_env_; }

◆ deopt_id()

intptr_t dart::CompilerDeoptInfo::deopt_id ( ) const
inline

Definition at line 95 of file flow_graph_compiler.h.

95{ return deopt_id_; }

◆ flags()

uint32_t dart::CompilerDeoptInfo::flags ( ) const
inline

Definition at line 97 of file flow_graph_compiler.h.

97{ return flags_; }

◆ GenerateCode()

virtual void dart::CompilerDeoptInfo::GenerateCode ( FlowGraphCompiler compiler,
intptr_t  stub_ix 
)
inlinevirtual

Reimplemented in dart::CompilerDeoptInfoWithStub.

Definition at line 90 of file flow_graph_compiler.h.

90{}

◆ pc_offset()

intptr_t dart::CompilerDeoptInfo::pc_offset ( ) const
inline

Definition at line 92 of file flow_graph_compiler.h.

92{ return pc_offset_; }

◆ reason()

ICData::DeoptReasonId dart::CompilerDeoptInfo::reason ( ) const
inline

Definition at line 96 of file flow_graph_compiler.h.

96{ return reason_; }

◆ set_pc_offset()

void dart::CompilerDeoptInfo::set_pc_offset ( intptr_t  offset)
inline

Definition at line 93 of file flow_graph_compiler.h.

93{ pc_offset_ = offset; }
SeparatedVector2 offset

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