mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
store the layout of a function passed to a lowlevel
This commit is contained in:
parent
27a6a179da
commit
357f93a2ee
6 changed files with 72 additions and 33 deletions
|
@ -882,9 +882,10 @@ pub fn build_exp_call<'a, 'ctx, 'env>(
|
|||
.unwrap_or_else(|| panic!("LLVM error: Invalid call by pointer."))
|
||||
}
|
||||
|
||||
CallType::LowLevel { op } => {
|
||||
run_low_level(env, layout_ids, scope, parent, layout, *op, arguments)
|
||||
}
|
||||
CallType::LowLevel {
|
||||
op,
|
||||
opt_closure_layout,
|
||||
} => run_low_level(env, layout_ids, scope, parent, layout, *op, arguments),
|
||||
|
||||
CallType::Foreign {
|
||||
foreign_symbol,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue