luaur-code-gen 0.1.3

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
use crate::enums::ir_op_kind::IrOpKind;
use crate::records::ir_op::IrOp;

pub fn vm_exit_op(op: IrOp) -> u32 {
    debug_assert!(op.kind() == IrOpKind::VmExit);
    op.index()
}