Skip to main content

luaur_bytecode/records/
debug_local_bytecode_graph.rs

1#[allow(non_camel_case_types)]
2#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
3pub struct DebugLocal<'a> {
4    pub(crate) varname: &'a str,
5    pub(crate) reg: u8,
6    pub(crate) startpc: u32,
7    pub(crate) endpc: u32,
8}
9
10impl Default for DebugLocal<'static> {
11    fn default() -> Self {
12        Self {
13            varname: "",
14            reg: 0,
15            startpc: 0,
16            endpc: 0,
17        }
18    }
19}