Changed assertions to error messages.
authorJohn Criswell <criswell@uiuc.edu>
Fri, 9 Apr 2004 15:10:15 +0000 (15:10 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Fri, 9 Apr 2004 15:10:15 +0000 (15:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12787 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/X86ISelSimple.cpp

index 3ceefe7ccd990945c58ac33aa20200128e3c08e5..ce86e9cd94f0127b54707a87e0638578033b52d7 100644 (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;
 
index 3ceefe7ccd990945c58ac33aa20200128e3c08e5..ce86e9cd94f0127b54707a87e0638578033b52d7 100644 (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;