Remove old intrinsic check
This commit is contained in:
parent
fa4f1b79ec
commit
d87e2daccf
1 changed files with 0 additions and 5 deletions
|
@ -264,11 +264,6 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
||||||
|
|
||||||
match instance.def {
|
match instance.def {
|
||||||
ty::InstanceDef::Intrinsic(..) => {
|
ty::InstanceDef::Intrinsic(..) => {
|
||||||
|
|
||||||
if caller_abi != Abi::RustIntrinsic {
|
|
||||||
throw_unsup!(FunctionAbiMismatch(caller_abi, Abi::RustIntrinsic))
|
|
||||||
}
|
|
||||||
|
|
||||||
M::call_intrinsic(self, span, instance, args, dest)?;
|
M::call_intrinsic(self, span, instance, args, dest)?;
|
||||||
// No stack frame gets pushed, the main loop will just act as if the
|
// No stack frame gets pushed, the main loop will just act as if the
|
||||||
// call completed.
|
// call completed.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue