Skip to main content

luaur_bytecode/methods/
bytecode_builder_get_instruction_count.rs

1use crate::records::bytecode_builder::BytecodeBuilder;
2
3impl BytecodeBuilder {
4    pub fn get_instruction_count(&self) -> usize {
5        self.insns.len()
6    }
7}