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 /lib/CodeGen | |
| 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 'lib/CodeGen')
| -rw-r--r-- | lib/CodeGen/RegAlloc/IGNode.h | 1 | ||||
| -rw-r--r-- | lib/CodeGen/RegAlloc/LiveRange.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAlloc/IGNode.h b/lib/CodeGen/RegAlloc/IGNode.h index 2b782436aa..3b1344b85e 100644 --- a/lib/CodeGen/RegAlloc/IGNode.h +++ b/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/lib/CodeGen/RegAlloc/LiveRange.h b/lib/CodeGen/RegAlloc/LiveRange.h index ddaf329e53..deab75d074 100644 --- a/lib/CodeGen/RegAlloc/LiveRange.h +++ b/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; |
