[llvm-commits] CVS: llvm/lib/Target/X86/InstSelectSimple.cpp
John Criswell
criswell at cs.uiuc.edu
Fri Apr 9 10:11:02 PDT 2004
Changes in directory llvm/lib/Target/X86:
InstSelectSimple.cpp updated: 1.220 -> 1.221
---
Log message:
Changed assertions to error messages.
---
Diffs of the changes: (+4 -2)
Index: llvm/lib/Target/X86/InstSelectSimple.cpp
diff -u llvm/lib/Target/X86/InstSelectSimple.cpp:1.220 llvm/lib/Target/X86/InstSelectSimple.cpp:1.221
--- llvm/lib/Target/X86/InstSelectSimple.cpp:1.220 Thu Apr 8 17:39:13 2004
+++ llvm/lib/Target/X86/InstSelectSimple.cpp Fri Apr 9 10:10:15 2004
@@ -1691,7 +1691,8 @@
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 @@
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;
More information about the llvm-commits
mailing list