mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
Totally disable assert, in order to fix PR101
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07909a317c
commit
d338a23b0c
@ -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.
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user