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_const::IrConst;
use crate::records::ir_lowering_x_64::IrLoweringX64;
use crate::records::ir_op::IrOp;

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