luaur-code-gen 0.1.0

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
use crate::records::ir_inst_hash::IrInstHash;
use crate::records::ir_op::IrOp;

impl IrInstHash {
    pub fn mix_u32_ir_op(h: u32, op: IrOp) -> u32 {
        let k = op.kind_and_index;
        Self::mix_u32_u32(h, k)
    }
}