Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dart::DeoptPpInstr Class Reference
Inheritance diagram for dart::DeoptPpInstr:
dart::DeoptInstr dart::ZoneAllocated

Public Member Functions

 DeoptPpInstr (intptr_t object_table_index)
 
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)
 
- Public Member Functions inherited from dart::DeoptInstr
 DeoptInstr ()
 
virtual ~DeoptInstr ()
 
virtual const char * ToCString () const
 
virtual CatchEntryMove ToCatchEntryMove (DeoptContext *deopt_context, intptr_t dest_slot)
 
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

Definition at line 745 of file deopt_instructions.cc.

Constructor & Destructor Documentation

◆ DeoptPpInstr()

dart::DeoptPpInstr::DeoptPpInstr ( intptr_t  object_table_index)
inlineexplicit

Definition at line 747 of file deopt_instructions.cc.

748 : object_table_index_(object_table_index) {
749 ASSERT(object_table_index >= 0);
750 }
#define ASSERT(E)

Member Function Documentation

◆ ArgumentsToCString()

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

Reimplemented from dart::DeoptInstr.

Definition at line 755 of file deopt_instructions.cc.

755 {
756 return Thread::Current()->zone()->PrintToString("%" Pd "",
757 object_table_index_);
758 }
Zone * zone() const
static Thread * Current()
Definition thread.h:361
char * PrintToString(const char *format,...) PRINTF_ATTRIBUTE(2
Definition zone.cc:313
#define Pd
Definition globals.h:408

◆ Execute()

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

Implements dart::DeoptInstr.

Definition at line 760 of file deopt_instructions.cc.

760 {
761 *dest_addr = Smi::RawValue(0);
762 deopt_context->DeferPpMaterialization(
763 object_table_index_, reinterpret_cast<ObjectPtr*>(dest_addr));
764 }
static intptr_t RawValue(intptr_t value)
Definition object.h:10001

◆ kind()

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

Implements dart::DeoptInstr.

Definition at line 753 of file deopt_instructions.cc.

753{ return kPp; }

◆ source_index()

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

Implements dart::DeoptInstr.

Definition at line 752 of file deopt_instructions.cc.

752{ return object_table_index_; }

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