summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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/lib/CodeGen
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/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/IGNode.h1
-rw-r--r--llvm/lib/CodeGen/RegAlloc/LiveRange.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/IGNode.h b/llvm/lib/CodeGen/RegAlloc/IGNode.h
index 2b782436aad..3b1344b85ed 100644
--- a/llvm/lib/CodeGen/RegAlloc/IGNode.h
+++ b/llvm/lib/CodeGen/RegAlloc/IGNode.h
@@ -26,6 +26,7 @@
#define IG_NODE_H
#include "llvm/CodeGen/LiveRange.h"
+#include <assert.h>
class RegClass;
//----------------------------------------------------------------------------
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRange.h b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
index ddaf329e53b..deab75d0746 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
@@ -14,6 +14,8 @@
#include "llvm/CodeGen/ValueSet.h"
#include "llvm/Value.h"
+#include <assert.h>
+
class RegClass;
class IGNode;
class Type;
OpenPOWER on IntegriCloud