This commit is contained in:
Ralf Jung
2021-01-11 12:35:13 +01:00
parent 838de0e838
commit 8e15f3221e
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
8b002d5c3489a21db2c16e5af63cf5d234f6972c
a2cd91ceb0f156cb442d75e12dc77c3d064cdde4
+3
View File
@@ -24,6 +24,7 @@
use rustc_span::symbol::{sym, Symbol};
use rustc_span::def_id::DefId;
use rustc_target::abi::{LayoutOf, Size};
use rustc_target::spec::abi::Abi;
use crate::*;
@@ -352,6 +353,7 @@ fn enforce_validity(ecx: &InterpCx<'mir, 'tcx, Self>) -> bool {
fn find_mir_or_eval_fn(
ecx: &mut InterpCx<'mir, 'tcx, Self>,
instance: ty::Instance<'tcx>,
_abi: Abi,
args: &[OpTy<'tcx, Tag>],
ret: Option<(PlaceTy<'tcx, Tag>, mir::BasicBlock)>,
unwind: Option<mir::BasicBlock>,
@@ -363,6 +365,7 @@ fn find_mir_or_eval_fn(
fn call_extra_fn(
ecx: &mut InterpCx<'mir, 'tcx, Self>,
fn_val: Dlsym,
_abi: Abi,
args: &[OpTy<'tcx, Tag>],
ret: Option<(PlaceTy<'tcx, Tag>, mir::BasicBlock)>,
_unwind: Option<mir::BasicBlock>,