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

Method set_ref

cranelift/isle/isle/src/codegen.rs:152–158  ·  view source on GitHub ↗
(&mut self, binding: BindingId, is_ref: bool)

Source from the content-addressed store, hash-verified

150 }
151
152 fn set_ref(&mut self, binding: BindingId, is_ref: bool) {
153 if is_ref {
154 self.is_ref.insert(binding);
155 } else {
156 debug_assert!(!self.is_ref.contains(&binding));
157 }
158 }
159}
160
161impl<'a> Codegen<'a> {

Callers 4

emit_exprMethod · 0.80
emit_constraintMethod · 0.80
emit_fieldsMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected