pub struct IRBlock {
pub label: String,
pub instructions: Vec<IRInstruction>,
pub terminator: IRTerminator,
}Expand description
A basic block - sequence of instructions with single entry/exit
Fields§
§label: StringBlock label
instructions: Vec<IRInstruction>Instructions in this block
terminator: IRTerminatorTerminal instruction (jump, return, etc.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IRBlock
impl RefUnwindSafe for IRBlock
impl Send for IRBlock
impl Sync for IRBlock
impl Unpin for IRBlock
impl UnwindSafe for IRBlock
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