MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / visit_br

Method visit_br

crates/parser/src/visit.rs:325–328  ·  view source on GitHub ↗
(&mut self, depth: u32)

Source from the content-addressed store, hash-verified

323 }
324
325 fn visit_br(&mut self, depth: u32) -> Self::Output {
326 self.emit_dropkeep_to_label(depth);
327 self.emit_branch_jump_or_return(depth);
328 }
329
330 fn visit_br_if(&mut self, depth: u32) -> Self::Output {
331 let cond_jump_ip = self.instructions.len();

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected