luaur-code-gen 0.1.1

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
use crate::enums::ir_cmd::IrCmd;

#[inline]
pub fn produces_dirty_high_register_bits(cmd: IrCmd) -> bool {
    cmd == IrCmd::NUM_TO_UINT || cmd == IrCmd::INVOKE_FASTCALL || cmd == IrCmd::CMP_ANY
}