diff options
author | John Criswell <criswell@uiuc.edu> | 2003-06-11 14:01:36 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-06-11 14:01:36 +0000 |
commit | be583b914d8156b99d3da264d5adca37fee8dbc9 (patch) | |
tree | da884b147eb2f4dbcaf253225e26f82899ec3553 /include/llvm/ADT | |
parent | aff713cca56dced4a1423f6cbab666ea30e93c23 (diff) |
Included assert.h so that the code compiles under newer versions of GCC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r-- | include/llvm/ADT/BitSetVector.h | 1 | ||||
-rw-r--r-- | include/llvm/ADT/SCCIterator.h | 1 | ||||
-rw-r--r-- | include/llvm/ADT/Tree.h | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/ADT/BitSetVector.h b/include/llvm/ADT/BitSetVector.h index e52ca17c6b..6ce56be4d0 100644 --- a/include/llvm/ADT/BitSetVector.h +++ b/include/llvm/ADT/BitSetVector.h @@ -31,6 +31,7 @@ #include <functional> #include <iostream> +#include <assert.h> #define WORDSIZE (32U) diff --git a/include/llvm/ADT/SCCIterator.h b/include/llvm/ADT/SCCIterator.h index 26afdd76e4..ed660d64c7 100644 --- a/include/llvm/ADT/SCCIterator.h +++ b/include/llvm/ADT/SCCIterator.h @@ -21,6 +21,7 @@ #include <stack> #include <map> +#include <assert.h> //-------------------------------------------------------------------------- // class SCC : A simple representation of an SCC in a generic Graph. diff --git a/include/llvm/ADT/Tree.h b/include/llvm/ADT/Tree.h index 9e8d5ae7ef..544e57e526 100644 --- a/include/llvm/ADT/Tree.h +++ b/include/llvm/ADT/Tree.h @@ -10,6 +10,8 @@ #include <vector> +#include <assert.h> + template<class ConcreteTreeNode, class Payload> class Tree { std::vector<ConcreteTreeNode*> Children; // This nodes children, if any |