pub struct LlvmFunctionTranslation {
pub instructions: Vec<Instruction>,
pub call_fixups: Vec<LlvmCallFixup>,
pub indirect_call_fixups: Vec<LlvmIndirectCallFixup>,
pub num_call_returns: usize,
pub lowering_stats: FunctionLoweringStats,
}Expand description
Result of lowering one LLVM function to PVM instructions.
Fields§
§instructions: Vec<Instruction>§call_fixups: Vec<LlvmCallFixup>§indirect_call_fixups: Vec<LlvmIndirectCallFixup>§num_call_returns: usizeNumber of call return addresses allocated by this function (for jump table indexing).
lowering_stats: FunctionLoweringStatsStats collected during lowering (for compiler output).
Auto Trait Implementations§
impl Freeze for LlvmFunctionTranslation
impl RefUnwindSafe for LlvmFunctionTranslation
impl Send for LlvmFunctionTranslation
impl Sync for LlvmFunctionTranslation
impl Unpin for LlvmFunctionTranslation
impl UnsafeUnpin for LlvmFunctionTranslation
impl UnwindSafe for LlvmFunctionTranslation
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