luaur_code_gen/enums/
code_gen_counter.rs1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3#[repr(u32)]
4pub enum CodeGenCounter {
5 RegularBlockExecuted = 1,
6 FallbackBlockExecuted = 2,
7 VmExitTaken = 3,
8}
9
10#[allow(non_upper_case_globals)]
11impl CodeGenCounter {
12 pub const RegularBlockExecuted: Self = Self::RegularBlockExecuted;
13 pub const FallbackBlockExecuted: Self = Self::FallbackBlockExecuted;
14 pub const VmExitTaken: Self = Self::VmExitTaken;
15}