@@ -186,22 +186,21 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'tcx> {
186186 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
187187 instance : ty:: Instance < ' tcx > ,
188188 args : & [ OpTy < ' tcx , Tag > ] ,
189- dest : Option < PlaceTy < ' tcx , Tag > > ,
190- ret : Option < mir:: BasicBlock > ,
189+ ret : Option < ( PlaceTy < ' tcx , Tag > , mir:: BasicBlock ) > ,
191190 unwind : Option < mir:: BasicBlock > ,
192191 ) -> InterpResult < ' tcx , Option < & ' mir mir:: Body < ' tcx > > > {
193- ecx. find_fn ( instance, args, dest , ret, unwind)
192+ ecx. find_fn ( instance, args, ret, unwind)
194193 }
195194
196195 #[ inline( always) ]
197196 fn call_extra_fn (
198197 ecx : & mut InterpCx < ' mir , ' tcx , Self > ,
199198 fn_val : Dlsym ,
200199 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 > ,
203202 ) -> InterpResult < ' tcx > {
204- ecx. call_dlsym ( fn_val, args, dest , ret)
203+ ecx. call_dlsym ( fn_val, args, ret)
205204 }
206205
207206 #[ inline( always) ]
@@ -210,11 +209,10 @@ impl<'mir, 'tcx> Machine<'mir, 'tcx> for Evaluator<'tcx> {
210209 span : Span ,
211210 instance : ty:: Instance < ' tcx > ,
212211 args : & [ OpTy < ' tcx , Tag > ] ,
213- dest : Option < PlaceTy < ' tcx , Tag > > ,
214- ret : Option < mir:: BasicBlock > ,
212+ ret : Option < ( PlaceTy < ' tcx , Tag > , mir:: BasicBlock ) > ,
215213 unwind : Option < mir:: BasicBlock > ,
216214 ) -> InterpResult < ' tcx > {
217- ecx. call_intrinsic ( span, instance, args, dest , ret, unwind)
215+ ecx. call_intrinsic ( span, instance, args, ret, unwind)
218216 }
219217
220218 #[ inline( always) ]
0 commit comments