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

Method clear

cranelift/codegen/src/flowgraph.rs:90–95  ·  view source on GitHub ↗

Clear all data structures in this control flow graph.

(&mut self)

Source from the content-addressed store, hash-verified

88
89 /// Clear all data structures in this control flow graph.
90 pub fn clear(&mut self) {
91 self.data.clear();
92 self.pred_forest.clear();
93 self.succ_forest.clear();
94 self.valid = false;
95 }
96
97 /// Allocate and compute the control flow graph for `func`.
98 pub fn with_function(func: &Function) -> Self {

Callers 2

computeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected