Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::DeoptWordInstr Class Reference
Inheritance diagram for dart::DeoptWordInstr:
dart::DeoptInstr dart::ZoneAllocated

Public Member Functions

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

Detailed Description

Definition at line 498 of file deopt_instructions.cc.

Constructor & Destructor Documentation

◆ DeoptWordInstr() [1/2]

dart::DeoptWordInstr::DeoptWordInstr ( intptr_t  source_index)
inlineexplicit

Definition at line 500 of file deopt_instructions.cc.

500: source_(source_index) {}
virtual intptr_t source_index() const

◆ DeoptWordInstr() [2/2]

dart::DeoptWordInstr::DeoptWordInstr ( const CpuRegisterSource source)
inlineexplicit

Definition at line 502 of file deopt_instructions.cc.

502: source_(source) {}
SkBitmap source
Definition: examples.cpp:28

Member Function Documentation

◆ ArgumentsToCString()

virtual const char * dart::DeoptWordInstr::ArgumentsToCString ( ) const
inlinevirtual

Reimplemented from dart::DeoptInstr.

Definition at line 507 of file deopt_instructions.cc.

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

◆ Execute()

void dart::DeoptWordInstr::Execute ( DeoptContext deopt_context,
intptr_t *  dest_addr 
)
inlinevirtual

Implements dart::DeoptInstr.

Definition at line 509 of file deopt_instructions.cc.

509 {
510 *dest_addr = source_.Value<intptr_t>(deopt_context);
511 }
T Value(DeoptContext *context) const

◆ kind()

virtual DeoptInstr::Kind dart::DeoptWordInstr::kind ( ) const
inlinevirtual

Implements dart::DeoptInstr.

Definition at line 505 of file deopt_instructions.cc.

505{ return kWord; }

◆ source_index()

virtual intptr_t dart::DeoptWordInstr::source_index ( ) const
inlinevirtual

Implements dart::DeoptInstr.

Definition at line 504 of file deopt_instructions.cc.

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

◆ ToCatchEntryMove()

CatchEntryMove dart::DeoptWordInstr::ToCatchEntryMove ( DeoptContext deopt_context,
intptr_t  dest_slot 
)
inlinevirtual

Reimplemented from dart::DeoptInstr.

Definition at line 513 of file deopt_instructions.cc.

514 {
516 source_.StackSlot(deopt_context),
517 dest_slot);
518 }
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: