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

Method clear

cranelift/codegen/src/context.rs:85–92  ·  view source on GitHub ↗

Clear all data structures in this context.

(&mut self)

Source from the content-addressed store, hash-verified

83
84 /// Clear all data structures in this context.
85 pub fn clear(&mut self) {
86 self.func.clear();
87 self.cfg.clear();
88 self.domtree.clear();
89 self.loop_analysis.clear();
90 self.compiled_code = None;
91 self.want_disasm = false;
92 }
93
94 /// Returns the compilation result for this function, available after any `compile` function
95 /// has been called.

Callers 1

legalizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected