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

Method inline

cranelift/codegen/src/context.rs:195–197  ·  view source on GitHub ↗

Perform function call inlining. Returns `true` if any function call was inlined, `false` otherwise.

(&mut self, inliner: impl Inline)

Source from the content-addressed store, hash-verified

193 ///
194 /// Returns `true` if any function call was inlined, `false` otherwise.
195 pub fn inline(&mut self, inliner: impl Inline) -> CodegenResult<bool> {
196 do_inlining(&mut self.func, inliner)
197 }
198
199 /// Compile the function,
200 ///

Callers

nothing calls this directly

Calls 1

do_inliningFunction · 0.85

Tested by

no test coverage detected