CACAO
Public Member Functions | Private Attributes
cacao::jit::compiler2::DereferenceInst Class Referenceabstract

Base type of instructions that dereference an object reference. More...

Inheritance diagram for cacao::jit::compiler2::DereferenceInst:
cacao::jit::compiler2::SourceStateAwareInst cacao::jit::compiler2::ALOADInst cacao::jit::compiler2::AREFInst cacao::jit::compiler2::ARRAYBOUNDSCHECKInst cacao::jit::compiler2::ARRAYLENGTHInst cacao::jit::compiler2::ASTOREInst cacao::jit::compiler2::GETFIELDInst cacao::jit::compiler2::INVOKEINTERFACEInst cacao::jit::compiler2::INVOKEVIRTUALInst cacao::jit::compiler2::PUTFIELDInst

Public Member Functions

 DereferenceInst ()
 
void set_needs_null_check (bool needs_null_check)
 Control whether a null-check is needed to safeguard the dereference. More...
 
bool get_needs_null_check () const
 Whether a null-check is needed to safeguard the dereference. More...
 
virtual Instructionget_objectref ()=0
 Get the corresponding object reference. More...
 
virtual bool needs_source_state ()
 
virtual DereferenceInstto_DereferenceInst ()=0
 Conversion method. More...
 
virtual ~DereferenceInst ()
 
- Public Member Functions inherited from cacao::jit::compiler2::SourceStateAwareInst
 SourceStateAwareInst ()
 Construct a SourceStateAwareInst. More...
 
virtual Instructionto_Instruction ()=0
 Convert this SourceStateAwareInst to an Instruction. More...
 
SourceStateInstget_source_state () const
 Get the SourceStateInst that corresponds to this Instruction. More...
 
void set_source_state (SourceStateInst *source_state)
 Set the SourceStateInst that corresponds to this Instruction. More...
 
virtual ~SourceStateAwareInst ()
 

Private Attributes

bool needs_null_check
 Whether a null-check is needed to safeguard the dereference. More...
 

Detailed Description

Base type of instructions that dereference an object reference.

Definition at line 397 of file Instructions.hpp.

Constructor & Destructor Documentation

cacao::jit::compiler2::DereferenceInst::DereferenceInst ( )
inline

Definition at line 407 of file Instructions.hpp.

virtual cacao::jit::compiler2::DereferenceInst::~DereferenceInst ( )
inlinevirtual

Definition at line 433 of file Instructions.hpp.

Member Function Documentation

bool cacao::jit::compiler2::DereferenceInst::get_needs_null_check ( ) const
inline

Whether a null-check is needed to safeguard the dereference.

Definition at line 419 of file Instructions.hpp.

virtual Instruction* cacao::jit::compiler2::DereferenceInst::get_objectref ( )
pure virtual
virtual bool cacao::jit::compiler2::DereferenceInst::needs_source_state ( )
inlinevirtual

Reimplemented from cacao::jit::compiler2::SourceStateAwareInst.

Definition at line 426 of file Instructions.hpp.

void cacao::jit::compiler2::DereferenceInst::set_needs_null_check ( bool  needs_null_check)
inline

Control whether a null-check is needed to safeguard the dereference.

Definition at line 412 of file Instructions.hpp.

virtual DereferenceInst* cacao::jit::compiler2::DereferenceInst::to_DereferenceInst ( )
pure virtual

Field Documentation

bool cacao::jit::compiler2::DereferenceInst::needs_null_check
private

Whether a null-check is needed to safeguard the dereference.

Definition at line 403 of file Instructions.hpp.


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