aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-08-20 22:07:45 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-08-20 22:07:45 +0000
commit43bf32e86c2ac98a8fc812ef314c373bfb574ad5 (patch)
treefc5561376ac8872b28f7f6f8c159a70c58a54b10
parent0f3627e554a94737d2a8565f355b682f6aedc6d7 (diff)
downloadexternal_llvm-43bf32e86c2ac98a8fc812ef314c373bfb574ad5.zip
external_llvm-43bf32e86c2ac98a8fc812ef314c373bfb574ad5.tar.gz
external_llvm-43bf32e86c2ac98a8fc812ef314c373bfb574ad5.tar.bz2
Added #include <cassert>. In GCC 3.3, we don't get assert() through the other
language header files like we did under 3.2.1, and we're not grabbing it through the LLVM header files either. So just include it directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7996 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--support/tools/TableGen/InstrSelectorEmitter.h2
-rw-r--r--utils/TableGen/InstrSelectorEmitter.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/support/tools/TableGen/InstrSelectorEmitter.h b/support/tools/TableGen/InstrSelectorEmitter.h
index 16ac6bf..922aa79 100644
--- a/support/tools/TableGen/InstrSelectorEmitter.h
+++ b/support/tools/TableGen/InstrSelectorEmitter.h
@@ -12,6 +12,8 @@
#include "CodeGenWrappers.h"
#include <vector>
#include <map>
+#include <cassert>
+
class DagInit;
class Init;
class InstrSelectorEmitter;
diff --git a/utils/TableGen/InstrSelectorEmitter.h b/utils/TableGen/InstrSelectorEmitter.h
index 16ac6bf..922aa79 100644
--- a/utils/TableGen/InstrSelectorEmitter.h
+++ b/utils/TableGen/InstrSelectorEmitter.h
@@ -12,6 +12,8 @@
#include "CodeGenWrappers.h"
#include <vector>
#include <map>
+#include <cassert>
+
class DagInit;
class Init;
class InstrSelectorEmitter;