luaur-code-gen 0.1.1

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[allow(non_camel_case_types)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(u32)]
pub enum CodeGenCounter {
    RegularBlockExecuted = 1,
    FallbackBlockExecuted = 2,
    VmExitTaken = 3,
}

#[allow(non_upper_case_globals)]
impl CodeGenCounter {
    pub const RegularBlockExecuted: Self = Self::RegularBlockExecuted;
    pub const FallbackBlockExecuted: Self = Self::FallbackBlockExecuted;
    pub const VmExitTaken: Self = Self::VmExitTaken;
}