Skip to content

Commit 7859944

Browse files
committed
oe
1 parent ee1b8d1 commit 7859944

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/encoder.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl<InstructionsType: Instructions> Encoder<InstructionsType> {
154154
pub fn encode_function(
155155
&mut self,
156156
function: &FunctionDefinition,
157-
arguments: &Vec<SMTVariable>,
157+
arguments: &[SMTVariable],
158158
) -> Vec<SMTVariable> {
159159
assert_eq!(function.parameters.len(), arguments.len());
160160
for (param, arg) in function.parameters.iter().zip(arguments) {
@@ -163,7 +163,6 @@ impl<InstructionsType: Instructions> Encoder<InstructionsType> {
163163
self.evaluator.define_from_variable(&var, arg);
164164
}
165165

166-
let parameters = self.ssa_tracker.to_smt_variables(&function.parameters);
167166
self.encode_variable_declaration(&VariableDeclaration {
168167
variables: function.returns.clone(),
169168
value: None,

0 commit comments

Comments
 (0)