Fix warning
This commit is contained in:
parent
ee4b5435a4
commit
b3492032e4
@ -1,7 +1,4 @@
|
|||||||
use std::{
|
use std::collections::{HashMap, HashSet};
|
||||||
collections::{HashMap, HashSet},
|
|
||||||
num::IntErrorKind,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
ast::{
|
ast::{
|
||||||
@ -1097,8 +1094,6 @@ fn compile_function_call(
|
|||||||
instructions.push(PreInstr::Instr(Instruction::MoveRetValues(last_reg)));
|
instructions.push(PreInstr::Instr(Instruction::MoveRetValues(last_reg)));
|
||||||
}
|
}
|
||||||
|
|
||||||
let last_param_reg = param_regs.last().unwrap_or(&function_reg);
|
|
||||||
|
|
||||||
let mut return_regs = Vec::new();
|
let mut return_regs = Vec::new();
|
||||||
if let Some(expected_values) = expected_values {
|
if let Some(expected_values) = expected_values {
|
||||||
for i in 0..expected_values {
|
for i in 0..expected_values {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user