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

Public Member Functions

 DeoptMaterializeObjectInstr (intptr_t field_count)
 
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 852 of file deopt_instructions.cc.

Constructor & Destructor Documentation

◆ DeoptMaterializeObjectInstr()

dart::DeoptMaterializeObjectInstr::DeoptMaterializeObjectInstr ( intptr_t  field_count)
inlineexplicit

Definition at line 854 of file deopt_instructions.cc.

855 : field_count_(field_count) {
856 ASSERT(field_count >= 0);
857 }
#define ASSERT(E)

Member Function Documentation

◆ ArgumentsToCString()

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

Reimplemented from dart::DeoptInstr.

Definition at line 862 of file deopt_instructions.cc.

862 {
863 return Thread::Current()->zone()->PrintToString("%" Pd "", field_count_);
864 }
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::DeoptMaterializeObjectInstr::Execute ( DeoptContext deopt_context,
intptr_t *  dest_addr 
)
inlinevirtual

Implements dart::DeoptInstr.

Definition at line 866 of file deopt_instructions.cc.

866 {
867 // This instructions are executed manually by the DeoptimizeWithDeoptInfo.
868 UNREACHABLE();
869 }
#define UNREACHABLE()
Definition assert.h:248

◆ kind()

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

Implements dart::DeoptInstr.

Definition at line 860 of file deopt_instructions.cc.

◆ source_index()

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

Implements dart::DeoptInstr.

Definition at line 859 of file deopt_instructions.cc.

859{ return field_count_; }

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