MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / visit_local_tee

Method visit_local_tee

winch/codegen/src/visitor.rs:2056–2061  ·  view source on GitHub ↗
(&mut self, index: u32)

Source from the content-addressed store, hash-verified

2054 }
2055
2056 fn visit_local_tee(&mut self, index: u32) -> Self::Output {
2057 let typed_reg = self.emit_set_local(index)?;
2058 self.context.stack.push(typed_reg.into());
2059
2060 Ok(())
2061 }
2062
2063 fn visit_global_get(&mut self, global_index: u32) -> Self::Output {
2064 let index = GlobalIndex::from_u32(global_index);

Callers

nothing calls this directly

Calls 3

OkFunction · 0.85
emit_set_localMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected