luaur-code-gen 0.1.3

Native (A64/X64) code generation for Luau (Rust).
Documentation
#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u32)]
pub enum IrOpKind {
    None,
    Undef,
    Constant,
    Condition,
    Inst,
    Block,
    VmReg,
    VmConst,
    VmUpvalue,
    VmExit,
}

impl Default for IrOpKind {
    fn default() -> Self {
        Self::None
    }
}

#[allow(non_upper_case_globals)]
impl IrOpKind {
    pub const None: Self = Self::None;
    pub const Undef: Self = Self::Undef;
    pub const Constant: Self = Self::Constant;
    pub const Condition: Self = Self::Condition;
    pub const Inst: Self = Self::Inst;
    pub const Block: Self = Self::Block;
    pub const VmReg: Self = Self::VmReg;
    pub const VmConst: Self = Self::VmConst;
    pub const VmUpvalue: Self = Self::VmUpvalue;
    pub const VmExit: Self = Self::VmExit;
}