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

Method make_signature

cranelift/module/src/module.rs:865–867  ·  view source on GitHub ↗

Create a new empty `Signature` with the default calling convention for the `TargetIsa`, to which parameter and return types can be added for declaring a function to be called by this `Module`.

(&self)

Source from the content-addressed store, hash-verified

863 /// the `TargetIsa`, to which parameter and return types can be added for
864 /// declaring a function to be called by this `Module`.
865 fn make_signature(&self) -> ir::Signature {
866 ir::Signature::new(self.isa().default_call_conv())
867 }
868
869 /// Clear the given `Signature` and reset for use with a new function.
870 ///

Callers

nothing calls this directly

Implementers 3

module.rscranelift/module/src/module.rs
backend.rscranelift/jit/src/backend.rs
backend.rscranelift/object/src/backend.rs

Calls 3

newFunction · 0.50
default_call_convMethod · 0.45
isaMethod · 0.45

Tested by

no test coverage detected