mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
remove full() function
This commit is contained in:
parent
daa1374678
commit
fe81eabbfa
4 changed files with 12 additions and 12 deletions
|
@ -2624,10 +2624,6 @@ impl<'a> TopLevelFunctionLayout<'a> {
|
|||
},
|
||||
}
|
||||
}
|
||||
|
||||
pub fn full(&'a self) -> Layout<'a> {
|
||||
Layout::FunctionPointer(self.arguments, &self.result)
|
||||
}
|
||||
}
|
||||
|
||||
fn specialize_naked_symbol<'a>(
|
||||
|
@ -6788,7 +6784,7 @@ fn call_specialized_proc<'a>(
|
|||
arguments: field_symbols,
|
||||
};
|
||||
|
||||
build_call(env, call, assigned, function_layout.full(), hole)
|
||||
build_call(env, call, assigned, function_layout.result, hole)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue