|
CACAO
|
Base type of instructions that can be mapped to a SourceStateInst. More...
Public Member Functions | |
| 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 bool | needs_source_state () |
| virtual | ~SourceStateAwareInst () |
Private Attributes | |
| SourceStateInst * | source_state |
| The SourceStateInst that corresponds to this Instruction. More... | |
Base type of instructions that can be mapped to a SourceStateInst.
Definition at line 344 of file Instructions.hpp.
|
inline |
Construct a SourceStateAwareInst.
Definition at line 357 of file Instructions.hpp.
|
inlinevirtual |
Definition at line 391 of file Instructions.hpp.
|
inline |
Get the SourceStateInst that corresponds to this Instruction.
Definition at line 371 of file Instructions.hpp.
|
inlinevirtual |
Reimplemented in cacao::jit::compiler2::DereferenceInst.
Definition at line 389 of file Instructions.hpp.
|
inline |
Set the SourceStateInst that corresponds to this Instruction.
This will be done automatically by the SourceStateAttachmentPass.
| source_state | The corresponding SourceStateInst. |
Definition at line 380 of file Instructions.hpp.
|
pure virtual |
Convert this SourceStateAwareInst to an Instruction.
Implemented in cacao::jit::compiler2::DeoptimizeInst, cacao::jit::compiler2::AssumptionInst, 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, cacao::jit::compiler2::ARRAYLENGTHInst, and cacao::jit::compiler2::CHECKNULLInst.
|
private |
The SourceStateInst that corresponds to this Instruction.
Definition at line 350 of file Instructions.hpp.
1.8.5