Struct jit::Instruction
[−]
[src]
pub struct Instruction<'a> { // some fields omitted }
Represents a single LibJIT instruction
Methods
impl<'a> Instruction<'a>
fn get_opcode(self) -> i32
Get the opcode of the instruction
fn get_dest(self) -> Option<&'a Val>
Get the destination value
fn dest_is_value(self) -> bool
Get if the destination value is a value
fn get_value1(self) -> Option<&'a Val>
Get the left value
fn get_value2(self) -> Option<&'a Val>
Get the right value
fn get_function(self) -> Option<&'a Func>
Get the function containing this value
fn get_signature(self) -> Option<&'a Ty>
Get the signature of this value
fn get_name(self) -> &'a str
Get the name of the instruction