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

Method deep_clone

cranelift/codegen/src/ir/exception_table.rs:173–179  ·  view source on GitHub ↗

Deep-clone this exception table.

(&self, pool: &mut ValueListPool)

Source from the content-addressed store, hash-verified

171
172 /// Deep-clone this exception table.
173 pub fn deep_clone(&self, pool: &mut ValueListPool) -> Self {
174 Self {
175 targets: self.targets.iter().map(|b| b.deep_clone(pool)).collect(),
176 items: self.items.clone(),
177 sig: self.sig,
178 }
179 }
180
181 /// Get the default target for the non-exceptional return case.
182 pub fn normal_return(&self) -> &BlockCall {

Callers

nothing calls this directly

Calls 4

collectMethod · 0.80
mapMethod · 0.45
iterMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected