mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-16 01:25:07 +01:00
param
This commit is contained in:
parent
c84fdfaf3a
commit
542c0daf6a
6 changed files with 160 additions and 50 deletions
|
|
@ -69,6 +69,8 @@ pub struct Func<'cx> {
|
|||
pub name: Symbol,
|
||||
pub def_span: Span,
|
||||
pub ret_ty: Ty<'cx>,
|
||||
/// The amount of function parameters. regs[..arity] are the parameters.
|
||||
pub arity: u32,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue