optimize: dedup consts
This commit is contained in:
@@ -89,7 +89,7 @@ impl<'vm> Func<'vm> {
|
||||
}
|
||||
}
|
||||
|
||||
vm.eval(self.func.opcodes.clone(), env)
|
||||
vm.eval(self.func.opcodes.iter().copied(), env)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user