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

Method clear

cranelift/codegen/src/dominator_tree.rs:74–76  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

72 }
73
74 fn clear(&mut self) {
75 self.nodes.resize(1, Default::default());
76 }
77
78 /// Returns pre_number for the new node.
79 fn push(&mut self, ancestor: u32, block: Block) -> u32 {

Callers 1

computeMethod · 0.45

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected