Totally disable assert, in order to fix PR101

llvm-svn: 9818
This commit is contained in:
Chris Lattner 2003-11-09 00:29:51 +00:00
parent 3faf03a00f
commit 9a06c2bc25
2 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,11 @@
#include <typeinfo>
#include <cassert>
// Assert should only be used for debugging the runtime library. Enabling it in
// CVS will break some platforms!
#undef assert
#define assert(X)
struct llvm_cxx_exception {
// TypeInfo - A pointer to the C++ std::type_info object for this exception
// class. This is required because the class may not be polymorphic.

View File

@ -9,6 +9,11 @@
#include <cstdlib>
#include <cassert>
// Assert should only be used for debugging the runtime library. Enabling it in
// CVS will break some platforms!
#undef assert
#define assert(X)
// get_sjlj_exception - Adjust the llvm_exception pointer to be an appropriate
// llvm_sjlj_exception pointer.
inline llvm_sjlj_exception *get_sjlj_exception(llvm_exception *E) {