Changed assertions to error messages.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12787 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
John Criswell 2004-04-09 15:10:15 +00:00
parent ca6ea0f137
commit aee0cf3fca
2 changed files with 8 additions and 4 deletions

View File

@ -1691,7 +1691,8 @@ void ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
BuildMI(BB, X86::IN32, 0);
break;
default:
assert (0 && "Cannot do input on this data type");
std::cerr << "Cannot do input on this data type";
exit (1);
}
return;
@ -1725,7 +1726,8 @@ void ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
BuildMI(BB, X86::OUT32, 0);
break;
default:
assert (0 && "Cannot do input on this data type");
std::cerr << "Cannot do output on this data type";
exit (1);
}
return;

View File

@ -1691,7 +1691,8 @@ void ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
BuildMI(BB, X86::IN32, 0);
break;
default:
assert (0 && "Cannot do input on this data type");
std::cerr << "Cannot do input on this data type";
exit (1);
}
return;
@ -1725,7 +1726,8 @@ void ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
BuildMI(BB, X86::OUT32, 0);
break;
default:
assert (0 && "Cannot do input on this data type");
std::cerr << "Cannot do output on this data type";
exit (1);
}
return;