summaryrefslogtreecommitdiffstats
path: root/llvm/include/Support/Tree.h
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2003-06-11 14:01:36 +0000
committerJohn Criswell <criswell@uiuc.edu>2003-06-11 14:01:36 +0000
commitcfac7363633dfa4c7f7a3b8850d09577f3f7f987 (patch)
tree97e38a0c1c6d0a47a58e2295d67675e466ed5cb1 /llvm/include/Support/Tree.h
parentbe087cf11d7acf955a543e0bcfd8c60d5b8f36db (diff)
downloadbcm5719-llvm-cfac7363633dfa4c7f7a3b8850d09577f3f7f987.tar.gz
bcm5719-llvm-cfac7363633dfa4c7f7a3b8850d09577f3f7f987.zip
Included assert.h so that the code compiles under newer versions of GCC.
llvm-svn: 6682
Diffstat (limited to 'llvm/include/Support/Tree.h')
-rw-r--r--llvm/include/Support/Tree.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/Support/Tree.h b/llvm/include/Support/Tree.h
index 9e8d5ae7efa..544e57e5263 100644
--- a/llvm/include/Support/Tree.h
+++ b/llvm/include/Support/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
OpenPOWER on IntegriCloud