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

Method set

cranelift/codegen/src/remove_constant_phis.rs:211–216  ·  view source on GitHub ↗
(&mut self, actual: Value, lp: AbstractValue)

Source from the content-addressed store, hash-verified

209 }
210
211 fn set(&mut self, actual: Value, lp: AbstractValue) {
212 match self.absvals.insert(actual, lp) {
213 Some(_old_lp) => {}
214 None => panic!("SolverState::set: formal param {actual:?} is untracked?!"),
215 }
216 }
217}
218
219/// Detect phis in `func` that will only ever produce one value, using a

Callers 1

do_remove_constant_phisFunction · 0.45

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected