mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Changed assertions to error messages.
llvm-svn: 12787
This commit is contained in:
parent
8740c3767d
commit
a52a2291d8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user