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

Class Function

tangle/src/node.rs:83–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 pub struct Simple(pub Operation); // Instructions or constant operands
82 #[derive(Debug)]
83 pub struct Function<const A: usize, const O: usize> {
84 pub args: u8,
85 pub outs: u8,
86 pub stack_slots: Vec<PortIdx>,
87 pub highwater: u8,
88 pub region: RegionIdx,
89 pub cont: Continuation,
90 } // "Lambda-Nodes"; procedures and functions
91 impl<const A: usize, const O: usize> Function<A, O> {
92 pub fn new<ABI: Abi + Default + 'static>(ir: &mut IR) -> Function<A, O> {
93 let r = ir.new_region(Some(<ABI as Default>::default()));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected