MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / define_label

Method define_label

crates/asm-to-binary/src/assembler/section.rs:88–90  ·  view source on GitHub ↗
(&mut self, name: String)

Source from the content-addressed store, hash-verified

86 }
87
88 pub fn define_label(&mut self, name: String) {
89 self.symbols.push((name, self.current_offset()));
90 }
91
92 pub fn export_global(&mut self, name: String) {
93 if !self.globals.contains(&name) {

Callers 1

encodeFunction · 0.80

Calls 2

pushMethod · 0.80
current_offsetMethod · 0.80

Tested by

no test coverage detected