@@ -186,22 +186,21 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'tcx> {
186
186
ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
187
187
instance : ty:: Instance < ' tcx > ,
188
188
args : & [ OpTy < ' tcx , Tag > ] ,
189
- dest : Option < PlaceTy < ' tcx , Tag > > ,
190
- ret : Option < mir:: BasicBlock > ,
189
+ ret : Option < ( PlaceTy < ' tcx , Tag > , mir:: BasicBlock ) > ,
191
190
unwind : Option < mir:: BasicBlock > ,
192
191
) -> InterpResult < ' tcx , Option < & ' mir mir:: Body < ' tcx > > > {
193
- ecx. find_fn ( instance, args, dest , ret, unwind)
192
+ ecx. find_fn ( instance, args, ret, unwind)
194
193
}
195
194
196
195
#[ inline( always) ]
197
196
fn call_extra_fn (
198
197
ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
199
198
fn_val : Dlsym ,
200
199
args : & [ OpTy < ' tcx , Tag > ] ,
201
- dest : Option < PlaceTy < ' tcx , Tag > > ,
202
- ret : Option < mir:: BasicBlock > ,
200
+ ret : Option < ( PlaceTy < ' tcx , Tag > , mir :: BasicBlock ) > ,
201
+ _unwind : Option < mir:: BasicBlock > ,
203
202
) -> InterpResult < ' tcx > {
204
- ecx. call_dlsym ( fn_val, args, dest , ret)
203
+ ecx. call_dlsym ( fn_val, args, ret)
205
204
}
206
205
207
206
#[ inline( always) ]
@@ -210,11 +209,10 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'tcx> {
210
209
span : Span ,
211
210
instance : ty:: Instance < ' tcx > ,
212
211
args : & [ OpTy < ' tcx , Tag > ] ,
213
- dest : Option < PlaceTy < ' tcx , Tag > > ,
214
- ret : Option < mir:: BasicBlock > ,
212
+ ret : Option < ( PlaceTy < ' tcx , Tag > , mir:: BasicBlock ) > ,
215
213
unwind : Option < mir:: BasicBlock > ,
216
214
) -> InterpResult < ' tcx > {
217
- ecx. call_intrinsic ( span, instance, args, dest , ret, unwind)
215
+ ecx. call_intrinsic ( span, instance, args, ret, unwind)
218
216
}
219
217
220
218
#[ inline( always) ]
0 commit comments