25 #ifndef _JIT_COMPILER2_CODEMEMORY
26 #define _JIT_COMPILER2_CODEMEMORY
44 class MachineInstruction;
73 s4 get_offset(CodeSegment::IdxTy to, CodeSegment::IdxTy
from)
const;
75 return get_offset(to, CF.
get_end());
78 return get_offset(to, cseg.get_following_index());
83 s4 get_offset(DataSegment::IdxTy to, CodeSegment::IdxTy
from)
const;
85 return get_offset(to, CF.
get_end());
alloc::list< ResolvePointTy >::type LinkListTy
s4 get_offset(CodeSegment::IdxTy to, CodeFragment &CF) const
Custom new/delete handler mixin.
s4 get_offset(DataSegment::IdxTy to, CodeFragment &CF) const
JNIEnv jthread jobject jclass jlong size
std::pair< const MachineInstruction *, CodeFragment > ResolvePointTy
const CodeSegment & get_CodeSegment() const
get CodeSegment
std::list< T, Allocator< T > > type
void link(basicblock *v, basicblock *w)
IdxTy get_end() const
Get the index of the first element after the reference.
s4 get_offset(CodeSegment::IdxTy to) const
CodeSegment & get_CodeSegment()
get CodeSegment
CodeSegment cseg
code segment
Proxy to encode explicit and implicit successors.
DataSegment & get_DataSegment()
get DataSegment
LinkListTy linklist
instructions that require linking
DataSegment dseg
data segment
const DataSegment & get_DataSegment() const
get DataSegment