diff options
Diffstat (limited to 'lib/Target/X86/InstSelectSimple.cpp')
-rw-r--r-- | lib/Target/X86/InstSelectSimple.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp index 3ceefe7ccd..ce86e9cd94 100644 --- a/lib/Target/X86/InstSelectSimple.cpp +++ b/lib/Target/X86/InstSelectSimple.cpp @@ -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; |