Remove unused args from call

This commit is contained in:
Brian Carroll 2023-11-05 23:32:20 +00:00
parent 4b0c5fd0c6
commit 84a230a2e5
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0
4 changed files with 13 additions and 18 deletions

View file

@ -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)
}