Remove old intrinsic check

This commit is contained in:
Aaron Hill 2019-09-26 13:45:26 -04:00
parent fa4f1b79ec
commit d87e2daccf
No known key found for this signature in database
GPG Key ID: B4087E510E98B164

View File

@ -264,11 +264,6 @@ fn eval_fn_call(
match instance.def {
ty::InstanceDef::Intrinsic(..) => {
if caller_abi != Abi::RustIntrinsic {
throw_unsup!(FunctionAbiMismatch(caller_abi, Abi::RustIntrinsic))
}
M::call_intrinsic(self, span, instance, args, dest)?;
// No stack frame gets pushed, the main loop will just act as if the
// call completed.