Enum gluon_vm::types::Instruction [] [src]

pub enum Instruction {
    PushInt(isize),
    PushByte(u8),
    PushFloat(f64),
    PushString(VMIndex),
    Push(VMIndex),
    PushGlobal(VMIndex),
    Call(VMIndex),
    TailCall(VMIndex),
    Construct(VMIndexVMIndex),
    ConstructArray(VMIndex),
    GetField(VMIndex),
    Split,
    TestTag(VMTag),
    Jump(VMIndex),
    CJump(VMIndex),
    Pop(VMIndex),
    Slide(VMIndex),
    MakeClosure(VMIndexVMIndex),
    NewClosure(VMIndexVMIndex),
    CloseClosure(VMIndex),
    PushUpVar(VMIndex),
    GetIndex,
    AddInt,
    SubtractInt,
    MultiplyInt,
    DivideInt,
    IntLT,
    IntEQ,
    AddByte,
    SubtractByte,
    MultiplyByte,
    DivideByte,
    ByteLT,
    ByteEQ,
    AddFloat,
    SubtractFloat,
    MultiplyFloat,
    DivideFloat,
    FloatLT,
    FloatEQ,
}

Variants

PushInt(isize)PushByte(u8)PushFloat(f64)PushString(VMIndex)Push(VMIndex)PushGlobal(VMIndex)Call(VMIndex)TailCall(VMIndex)Construct(VMIndexVMIndex)ConstructArray(VMIndex)GetField(VMIndex)SplitTestTag(VMTag)Jump(VMIndex)CJump(VMIndex)Pop(VMIndex)Slide(VMIndex)MakeClosure(VMIndexVMIndex)NewClosure(VMIndexVMIndex)CloseClosure(VMIndex)PushUpVar(VMIndex)GetIndexAddIntSubtractIntMultiplyIntDivideIntIntLTIntEQAddByteSubtractByteMultiplyByteDivideByteByteLTByteEQAddFloatSubtractFloatMultiplyFloatDivideFloatFloatLTFloatEQ

Methods

impl Instruction
[src]

fn adjust(&self) -> i32

Trait Implementations

impl Debug for Instruction
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Instruction
[src]

fn clone(&self) -> Instruction

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Instruction
[src]