Struct jit::Block [] [src]

pub struct Block<'a> {
    // some fields omitted
}

Represents a single LibJIT block

Methods

impl<'a> Block<'a>

fn get_function(self) -> &'a Func

Get the function containing this block

fn is_reachable(self) -> bool

Check if the block is reachable

fn ends_in_dead(self) -> bool

Check if the block ends in dead code

fn iter(self) -> InstructionIter<'a>

Iterate through the instructions

Trait Implementations

impl<'a> From<jit_block_t> for Block<'a>

fn from(ptr: jit_block_t) -> Block<'a>

Derived Implementations

impl<'a> Copy for Block<'a>

impl<'a> Clone for Block<'a>

fn clone(&self) -> Block<'a>

fn clone_from(&mut self, source: &Self)