luaur-code-gen 0.1.0

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
use crate::records::ir_inst::IrInst;

#[inline]
pub fn has_op(inst: &IrInst, idx: u32) -> bool {
    idx < inst.ops.size() as u32
}