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

Method record_stack_map_binding

cranelift/frontend/src/ssa.rs:244–249  ·  view source on GitHub ↗

Propagate the needs-stack-map bit from `var` to `val`.

(&mut self, var: Variable, val: Value)

Source from the content-addressed store, hash-verified

242
243 /// Propagate the needs-stack-map bit from `var` to `val`.
244 fn record_stack_map_binding(&mut self, var: Variable, val: Value) {
245 if self.stack_map_vars.contains(var) {
246 log::trace!("recording stack-map binding {var:?} -> {val:?}");
247 self.stack_map_values.insert(val);
248 }
249 }
250
251 /// Declares a use of a variable in a given basic block. Returns the SSA value corresponding
252 /// to the current SSA definition of this variable and a list of newly created Blocks that

Callers 2

def_varMethod · 0.80
find_varMethod · 0.80

Calls 2

containsMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected