aboutsummaryrefslogtreecommitdiff
path: root/lib/Target
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
commitbe583b914d8156b99d3da264d5adca37fee8dbc9 (patch)
treeda884b147eb2f4dbcaf253225e26f82899ec3553 /lib/Target
parentaff713cca56dced4a1423f6cbab666ea30e93c23 (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/Target')
-rw-r--r--lib/Target/SparcV9/MachineCodeForInstruction.h2
-rw-r--r--lib/Target/SparcV9/MachineInstrAnnot.h2
-rw-r--r--lib/Target/SparcV9/RegAlloc/IGNode.h1
-rw-r--r--lib/Target/SparcV9/RegAlloc/LiveRange.h2
4 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/MachineCodeForInstruction.h b/lib/Target/SparcV9/MachineCodeForInstruction.h
index ff171e9621..91b4dfdc5e 100644
--- a/lib/Target/SparcV9/MachineCodeForInstruction.h
+++ b/lib/Target/SparcV9/MachineCodeForInstruction.h
@@ -20,6 +20,8 @@
#include "Support/Annotation.h"
#include <vector>
+#include <assert.h>
+
class MachineInstr;
class Instruction;
class Value;
diff --git a/lib/Target/SparcV9/MachineInstrAnnot.h b/lib/Target/SparcV9/MachineInstrAnnot.h
index e1902e77b3..b7e22d8138 100644
--- a/lib/Target/SparcV9/MachineInstrAnnot.h
+++ b/lib/Target/SparcV9/MachineInstrAnnot.h
@@ -10,6 +10,8 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Target/TargetRegInfo.h"
+#include <assert.h>
+
class Value;
class TmpInstruction;
class CallInst;
diff --git a/lib/Target/SparcV9/RegAlloc/IGNode.h b/lib/Target/SparcV9/RegAlloc/IGNode.h
index 2b782436aa..3b1344b85e 100644
--- a/lib/Target/SparcV9/RegAlloc/IGNode.h
+++ b/lib/Target/SparcV9/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/Target/SparcV9/RegAlloc/LiveRange.h b/lib/Target/SparcV9/RegAlloc/LiveRange.h
index ddaf329e53..deab75d074 100644
--- a/lib/Target/SparcV9/RegAlloc/LiveRange.h
+++ b/lib/Target/SparcV9/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;