CACAO
|
Base type of instructions that dereference an object reference. More...
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 Instruction * | get_objectref ()=0 |
Get the corresponding object reference. More... | |
virtual bool | needs_source_state () |
virtual DereferenceInst * | to_DereferenceInst ()=0 |
Conversion method. More... | |
virtual | ~DereferenceInst () |
![]() | |
SourceStateAwareInst () | |
Construct a SourceStateAwareInst. More... | |
virtual Instruction * | to_Instruction ()=0 |
Convert this SourceStateAwareInst to an Instruction. More... | |
SourceStateInst * | get_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... | |
Base type of instructions that dereference an object reference.
Definition at line 397 of file Instructions.hpp.
|
inline |
Definition at line 407 of file Instructions.hpp.
|
inlinevirtual |
Definition at line 433 of file Instructions.hpp.
|
inline |
Whether a null-check is needed to safeguard the dereference.
Definition at line 419 of file Instructions.hpp.
|
pure virtual |
Get the corresponding object reference.
Implemented in cacao::jit::compiler2::INVOKEINTERFACEInst, cacao::jit::compiler2::INVOKEVIRTUALInst, cacao::jit::compiler2::ARRAYBOUNDSCHECKInst, cacao::jit::compiler2::ALOADInst, cacao::jit::compiler2::ASTOREInst, cacao::jit::compiler2::AREFInst, cacao::jit::compiler2::PUTFIELDInst, cacao::jit::compiler2::GETFIELDInst, and cacao::jit::compiler2::ARRAYLENGTHInst.
|
inlinevirtual |
Reimplemented from cacao::jit::compiler2::SourceStateAwareInst.
Definition at line 426 of file Instructions.hpp.
|
inline |
Control whether a null-check is needed to safeguard the dereference.
Definition at line 412 of file Instructions.hpp.
|
pure virtual |
Conversion method.
Implemented in cacao::jit::compiler2::INVOKEINTERFACEInst, cacao::jit::compiler2::INVOKEVIRTUALInst, cacao::jit::compiler2::ARRAYBOUNDSCHECKInst, cacao::jit::compiler2::ALOADInst, cacao::jit::compiler2::ASTOREInst, cacao::jit::compiler2::AREFInst, cacao::jit::compiler2::PUTFIELDInst, cacao::jit::compiler2::GETFIELDInst, and cacao::jit::compiler2::ARRAYLENGTHInst.
|
private |
Whether a null-check is needed to safeguard the dereference.
Definition at line 403 of file Instructions.hpp.