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

Method clone

winch/codegen/src/codegen/control.rs:35–42  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

33
34impl Clone for BlockType {
35 fn clone(&self) -> Self {
36 match self {
37 Self::Void => Self::Void,
38 Self::Single(x) => Self::Single(*x),
39 Self::ABISig(x) => Self::ABISig(x.clone()),
40 Self::Func(f) => Self::Func(f.clone_panic_on_oom()),
41 }
42 }
43}
44
45/// Holds all the information about the signature of the block.

Callers 12

registerMethod · 0.45
compile_functionMethod · 0.45
newMethod · 0.45
newMethod · 0.45
compile_functionMethod · 0.45
newMethod · 0.45
emit_bodyMethod · 0.45
emit_table_getMethod · 0.45
maybe_emit_fuel_checkMethod · 0.45
intern_nameMethod · 0.45
bind_elseMethod · 0.45

Calls 3

ABISigClass · 0.85
clone_panic_on_oomMethod · 0.80
FuncEnum · 0.50

Tested by

no test coverage detected