mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-24 12:32:29 +00:00
Remove unused args from call
This commit is contained in:
parent
4b0c5fd0c6
commit
84a230a2e5
4 changed files with 13 additions and 18 deletions
|
@ -342,11 +342,11 @@ impl<'a> CodeBuilder<'a> {
|
|||
|
||||
instruction_no_args!(return_, RETURN);
|
||||
|
||||
pub fn call(&mut self, function_index: u32, _n_args: usize, _has_return_val: bool) {
|
||||
pub fn call(&mut self, function_index: u32) {
|
||||
self.call_impl(function_index, false)
|
||||
}
|
||||
|
||||
pub fn call_import(&mut self, function_index: u32, _n_args: usize, _has_return_val: bool) {
|
||||
pub fn call_import(&mut self, function_index: u32) {
|
||||
self.call_impl(function_index, true)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue