Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::DeoptIntInstr< K, slot_kind, T > Class Template Reference
Inheritance diagram for dart::DeoptIntInstr< K, slot_kind, T >:
dart::DeoptIntegerInstrBase dart::DeoptInstr dart::ZoneAllocated

Public Member Functions

 DeoptIntInstr (intptr_t source_index)
 
 DeoptIntInstr (const CpuRegisterSource &source)
 
virtual intptr_t source_index () const
 
virtual DeoptInstr::Kind kind () const
 
virtual const char * ArgumentsToCString () const
 
virtual int64_t GetValue (DeoptContext *deopt_context)
 
CatchEntryMove ToCatchEntryMove (DeoptContext *deopt_context, intptr_t dest_slot)
 
- Public Member Functions inherited from dart::DeoptIntegerInstrBase
 DeoptIntegerInstrBase ()
 
void Execute (DeoptContext *deopt_context, intptr_t *dest_addr)
 
- Public Member Functions inherited from dart::DeoptInstr
 DeoptInstr ()
 
virtual ~DeoptInstr ()
 
virtual const char * ToCString () const
 
bool Equals (const DeoptInstr &other) 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)
 

Additional Inherited Members

- Public Types inherited from dart::DeoptInstr
enum  Kind {
  kRetAddress , kConstant , kWord , kFloat ,
  kDouble , kFloat32x4 , kFloat64x2 , kInt32x4 ,
  kMintPair , kMint , kInt32 , kUint32 ,
  kPcMarker , kPp , kCallerFp , kCallerPp ,
  kCallerPc , kMaterializedObjectRef , kMaterializeObject
}
 
- Static Public Member Functions inherited from dart::DeoptInstr
static DeoptInstrCreate (intptr_t kind_as_int, intptr_t source_index)
 
static uword GetRetAddress (DeoptInstr *instr, const ObjectPool &object_pool, Code *code)
 
static intptr_t GetFieldCount (DeoptInstr *instr)
 

Detailed Description

template<DeoptInstr::Kind K, CatchEntryMove::SourceKind slot_kind, typename T>
class dart::DeoptIntInstr< K, slot_kind, T >

Definition at line 595 of file deopt_instructions.cc.

Constructor & Destructor Documentation

◆ DeoptIntInstr() [1/2]

template<DeoptInstr::Kind K, CatchEntryMove::SourceKind slot_kind, typename T >
dart::DeoptIntInstr< K, slot_kind, T >::DeoptIntInstr ( intptr_t  source_index)
inlineexplicit

Definition at line 597 of file deopt_instructions.cc.

◆ DeoptIntInstr() [2/2]

template<DeoptInstr::Kind K, CatchEntryMove::SourceKind slot_kind, typename T >
dart::DeoptIntInstr< K, slot_kind, T >::DeoptIntInstr ( const CpuRegisterSource source)
inlineexplicit

Definition at line 600 of file deopt_instructions.cc.

601 : DeoptIntegerInstrBase(), source_(source) {}
SkBitmap source
Definition examples.cpp:28

Member Function Documentation

◆ ArgumentsToCString()

template<DeoptInstr::Kind K, CatchEntryMove::SourceKind slot_kind, typename T >
virtual const char * dart::DeoptIntInstr< K, slot_kind, T >::ArgumentsToCString ( ) const
inlinevirtual

Reimplemented from dart::DeoptInstr.

Definition at line 606 of file deopt_instructions.cc.

606{ return source_.ToCString(); }
const char * ToCString() const

◆ GetValue()

template<DeoptInstr::Kind K, CatchEntryMove::SourceKind slot_kind, typename T >
virtual int64_t dart::DeoptIntInstr< K, slot_kind, T >::GetValue ( DeoptContext deopt_context)
inlinevirtual

Implements dart::DeoptIntegerInstrBase.

Definition at line 608 of file deopt_instructions.cc.

608 {
609 return static_cast<int64_t>(source_.Value<T>(deopt_context));
610 }
T Value(DeoptContext *context) const
#define T

◆ kind()

template<DeoptInstr::Kind K, CatchEntryMove::SourceKind slot_kind, typename T >
virtual DeoptInstr::Kind dart::DeoptIntInstr< K, slot_kind, T >::kind ( ) const
inlinevirtual

Implements dart::DeoptInstr.

Definition at line 604 of file deopt_instructions.cc.

604{ return K; }
static const int K
Definition daa.cpp:21

◆ source_index()

template<DeoptInstr::Kind K, CatchEntryMove::SourceKind slot_kind, typename T >
virtual intptr_t dart::DeoptIntInstr< K, slot_kind, T >::source_index ( ) const
inlinevirtual

Implements dart::DeoptInstr.

Definition at line 603 of file deopt_instructions.cc.

603{ return source_.source_index(); }
intptr_t source_index() const

◆ ToCatchEntryMove()

template<DeoptInstr::Kind K, CatchEntryMove::SourceKind slot_kind, typename T >
CatchEntryMove dart::DeoptIntInstr< K, slot_kind, T >::ToCatchEntryMove ( DeoptContext deopt_context,
intptr_t  dest_slot 
)
inlinevirtual

Reimplemented from dart::DeoptInstr.

Definition at line 612 of file deopt_instructions.cc.

613 {
614 return CatchEntryMove::FromSlot(slot_kind, source_.StackSlot(deopt_context),
615 dest_slot);
616 }
static CatchEntryMove FromSlot(SourceKind kind, intptr_t src_slot, intptr_t dest_slot)
Definition exceptions.h:188
intptr_t StackSlot(DeoptContext *context) const

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