pub struct TrampolineIR {
pub label: Label,
pub next: Label,
}Expand description
Trampoline instruction IR with symbolic return address.
Trampoline is like Call, but the target comes from VM context (external parameter) rather than being encoded in the instruction. Used for universal entry preamble.
Fields§
§label: LabelWhere this instruction lives.
next: LabelReturn address (where to continue after entrypoint returns).
Implementations§
Trait Implementations§
Source§impl Clone for TrampolineIR
impl Clone for TrampolineIR
Source§fn clone(&self) -> TrampolineIR
fn clone(&self) -> TrampolineIR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrampolineIR
impl Debug for TrampolineIR
Source§impl From<TrampolineIR> for InstructionIR
impl From<TrampolineIR> for InstructionIR
Source§fn from(t: TrampolineIR) -> Self
fn from(t: TrampolineIR) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TrampolineIR
impl RefUnwindSafe for TrampolineIR
impl Send for TrampolineIR
impl Sync for TrampolineIR
impl Unpin for TrampolineIR
impl UnwindSafe for TrampolineIR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more