store the layout of a function passed to a lowlevel

This commit is contained in:
Folkert 2021-05-15 20:54:26 +02:00
parent 27a6a179da
commit 357f93a2ee
6 changed files with 72 additions and 33 deletions

View file

@ -211,9 +211,10 @@ where
}
}
CallType::LowLevel { op: lowlevel } => {
self.build_run_low_level(sym, lowlevel, arguments, layout)
}
CallType::LowLevel {
op: lowlevel,
opt_closure_layout: _,
} => self.build_run_low_level(sym, lowlevel, arguments, layout),
x => Err(format!("the call type, {:?}, is not yet implemented", x)),
}
}