Commit 7859944 1 parent ee1b8d1 commit 7859944 Copy full SHA for 7859944
File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ impl<InstructionsType: Instructions> Encoder<InstructionsType> {
154
154
pub fn encode_function (
155
155
& mut self ,
156
156
function : & FunctionDefinition ,
157
- arguments : & Vec < SMTVariable > ,
157
+ arguments : & [ SMTVariable ] ,
158
158
) -> Vec < SMTVariable > {
159
159
assert_eq ! ( function. parameters. len( ) , arguments. len( ) ) ;
160
160
for ( param, arg) in function. parameters . iter ( ) . zip ( arguments) {
@@ -163,7 +163,6 @@ impl<InstructionsType: Instructions> Encoder<InstructionsType> {
163
163
self . evaluator . define_from_variable ( & var, arg) ;
164
164
}
165
165
166
- let parameters = self . ssa_tracker . to_smt_variables ( & function. parameters ) ;
167
166
self . encode_variable_declaration ( & VariableDeclaration {
168
167
variables : function. returns . clone ( ) ,
169
168
value : None ,
You can’t perform that action at this time.
0 commit comments