Skip to main content

luaur_code_gen/enums/
ir_block_kind.rs

1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3#[repr(u8)]
4pub enum IrBlockKind {
5    Bytecode,
6    Fallback,
7    Internal,
8    Linearized,
9    ExitSync,
10    Dead,
11}
12
13#[allow(non_upper_case_globals)]
14impl IrBlockKind {
15    pub const Bytecode: Self = Self::Bytecode;
16    pub const Fallback: Self = Self::Fallback;
17    pub const Internal: Self = Self::Internal;
18    pub const Linearized: Self = Self::Linearized;
19    pub const ExitSync: Self = Self::ExitSync;
20    pub const Dead: Self = Self::Dead;
21}