| 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())); |
nothing calls this directly
no outgoing calls
no test coverage detected