MCPcopy Create free account
hub / github.com/chc4/lineiform / function

Method function

tangle/src/node.rs:732–734  ·  view source on GitHub ↗

id like for this to just take an ABI parameter but rust deprececated default generic arguments for functions :/

(ir: &mut IR)

Source from the content-addressed store, hash-verified

730 // id like for this to just take an ABI parameter but rust deprececated
731 // default generic arguments for functions :/
732 pub fn function<const A: usize, const O: usize>(ir: &mut IR) -> NodeVariant::Function<A, O> {
733 NodeVariant::Function::new::<x86_64>(ir)
734 }
735
736 pub fn leave() -> NodeVariant::Leave {
737 NodeVariant::Leave

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected