mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
remove FunctionPointer completely
This commit is contained in:
parent
c776d98686
commit
f2f9897187
12 changed files with 11 additions and 58 deletions
|
@ -3627,13 +3627,6 @@ pub fn build_proc<'a, 'ctx, 'env>(
|
|||
env, &fn_name, evaluator, name, arguments, closure, result,
|
||||
)
|
||||
}
|
||||
Layout::FunctionPointer(arguments, result) => {
|
||||
// define function size (equal to pointer size) and return value size, e.g.
|
||||
//
|
||||
// * roc__mainForHost_1_Update_size() -> i64
|
||||
// * roc__mainForHost_1_Update_result_size() -> i64
|
||||
build_function_caller(env, &fn_name, name, arguments, result)
|
||||
}
|
||||
|
||||
Layout::Builtin(_) => {}
|
||||
Layout::Struct(_) => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue