resurgence 0.1.8

A VM backend designed to be embedded in an application
Documentation
1
2
3
4
5
6
7
use super::CodeBuilder;

impl CodeBuilder<'_> {
    pub fn create_label(&mut self, name: String) {
        self.func_symbols.insert(name, self.code_holder.instructions.len());
    }
}