[][src]Struct jsyc_compiler::instruction_set::InstructionSet

pub struct InstructionSet { /* fields omitted */ }

Methods

impl InstructionSet[src]

pub fn default(scope: &mut Scope) -> Self[src]

pub fn common_lits(&self) -> &CommonLiteralRegs[src]

pub fn common_literal_reg(&self, common_lit: &CommonLiteral) -> Reg[src]

pub fn reserved_reg(&self, common_lit: &ReservedeRegister) -> Reg[src]

pub fn load_op(&self, left: Reg, right: Operand) -> Operation[src]

pub fn assignment_op(
    &self,
    op: &AssignmentOperator,
    rd: Reg,
    rs: Reg
) -> Operation
[src]

pub fn update_op(&self, op: &UpdateOperator, rd: Reg) -> Operation[src]

pub fn unary_op(
    &self,
    op: &UnaryOperator,
    rd: Reg,
    rs: Reg
) -> CompilerResult<Operation>
[src]

pub fn binary_op(
    &self,
    op: &BinaryOperator,
    rd: Reg,
    r0: Reg,
    r1: Reg
) -> CompilerResult<Operation>
[src]

Trait Implementations

impl Clone for InstructionSet[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]