luaur-code-gen 0.1.3

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::records::ir_const::IrConst;
use crate::records::ir_function::IrFunction;
use crate::records::ir_lowering_a_64::IrLoweringA64;
use crate::records::ir_op::IrOp;

impl IrLoweringA64 {
    pub fn ir_lowering_a_64_const_op(&self, op: IrOp) -> IrConst {
        unsafe { (*self.function).const_op(op) }
    }
}