Skip to main content

luaur_bytecode/methods/
bc_op_bc_op_bytecode_graph.rs

1use crate::enums::bc_op_kind::BcOpKind;
2use crate::records::bc_op::BcOp;
3
4impl BcOp {
5    pub fn new() -> Self {
6        Self {
7            kind: BcOpKind::None,
8            index: 0,
9        }
10    }
11}
12
13impl Default for BcOp {
14    fn default() -> Self {
15        Self::new()
16    }
17}