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

Method deep_clone

cranelift/codegen/src/ir/instructions.rs:162–166  ·  view source on GitHub ↗

Deep-clone the underlying list in the same pool. The returned list will have identical contents but changes to this list will not change its contents or vice-versa.

(&self, pool: &mut ValueListPool)

Source from the content-addressed store, hash-verified

160 /// list will have identical contents but changes to this list
161 /// will not change its contents or vice-versa.
162 pub fn deep_clone(&self, pool: &mut ValueListPool) -> Self {
163 Self {
164 values: self.values.deep_clone(pool),
165 }
166 }
167}
168
169/// Wrapper for the context needed to display a [BlockCall] value.

Callers 2

clone_instMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected