luaur-code-gen 0.1.0

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
use crate::functions::get_op_ir_data::get_op_mut;
use crate::records::ir_inst::IrInst;
use crate::records::ir_op::IrOp;

#[inline]
pub fn get_op(inst: &mut IrInst, idx: u32) -> &mut IrOp {
    get_op_mut(inst, idx)
}