aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/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
commitbe583b914d8156b99d3da264d5adca37fee8dbc9 (patch)
treeda884b147eb2f4dbcaf253225e26f82899ec3553 /include/llvm/CodeGen
parentaff713cca56dced4a1423f6cbab666ea30e93c23 (diff)
downloadexternal_llvm-be583b914d8156b99d3da264d5adca37fee8dbc9.tar.gz
external_llvm-be583b914d8156b99d3da264d5adca37fee8dbc9.tar.bz2
external_llvm-be583b914d8156b99d3da264d5adca37fee8dbc9.zip
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/CodeGen')
-rw-r--r--include/llvm/CodeGen/InstrForest.h1
-rw-r--r--include/llvm/CodeGen/InstrSelection.h1
-rw-r--r--include/llvm/CodeGen/LiveVariables.h1
-rw-r--r--include/llvm/CodeGen/MachineCodeForInstruction.h2
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h1
-rw-r--r--include/llvm/CodeGen/MachineInstr.h2
-rw-r--r--include/llvm/CodeGen/MachineInstrAnnot.h2
-rw-r--r--include/llvm/CodeGen/SSARegMap.h2
8 files changed, 12 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/InstrForest.h b/include/llvm/CodeGen/InstrForest.h
index d9381128d6..d6eaf7673a 100644
--- a/include/llvm/CodeGen/InstrForest.h
+++ b/include/llvm/CodeGen/InstrForest.h
@@ -21,6 +21,7 @@
#include "llvm/Instruction.h"
#include "Support/HashExtras.h"
+#include <assert.h>
class Constant;
class BasicBlock;
diff --git a/include/llvm/CodeGen/InstrSelection.h b/include/llvm/CodeGen/InstrSelection.h
index c1ed86ed43..a305578bfb 100644
--- a/include/llvm/CodeGen/InstrSelection.h
+++ b/include/llvm/CodeGen/InstrSelection.h
@@ -8,6 +8,7 @@
#define LLVM_CODEGEN_INSTR_SELECTION_H
#include "llvm/Instruction.h"
+#include <assert.h>
class Function;
class InstrForest;
class MachineInstr;
diff --git a/include/llvm/CodeGen/LiveVariables.h b/include/llvm/CodeGen/LiveVariables.h
index 51d3e82e77..881fce4b0d 100644
--- a/include/llvm/CodeGen/LiveVariables.h
+++ b/include/llvm/CodeGen/LiveVariables.h
@@ -24,6 +24,7 @@
#include "llvm/CodeGen/MachineFunctionPass.h"
#include <map>
+#include <assert.h>
class MRegisterInfo;
diff --git a/include/llvm/CodeGen/MachineCodeForInstruction.h b/include/llvm/CodeGen/MachineCodeForInstruction.h
index ff171e9621..91b4dfdc5e 100644
--- a/include/llvm/CodeGen/MachineCodeForInstruction.h
+++ b/include/llvm/CodeGen/MachineCodeForInstruction.h
@@ -20,6 +20,8 @@
#include "Support/Annotation.h"
#include <vector>
+#include <assert.h>
+
class MachineInstr;
class Instruction;
class Value;
diff --git a/include/llvm/CodeGen/MachineFrameInfo.h b/include/llvm/CodeGen/MachineFrameInfo.h
index 6f907e1ff3..5b2b0b5234 100644
--- a/include/llvm/CodeGen/MachineFrameInfo.h
+++ b/include/llvm/CodeGen/MachineFrameInfo.h
@@ -35,6 +35,7 @@ class TargetData;
class TargetRegisterClass;
class MachineFunction;
#include <vector>
+#include <assert.h>
class MachineFrameInfo {
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 2ab9a0708f..3c2f9abc25 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -13,6 +13,8 @@
#include "Support/Annotation.h"
#include "Support/iterator"
#include <set>
+#include <assert.h>
+
class Value;
class Function;
class MachineBasicBlock;
diff --git a/include/llvm/CodeGen/MachineInstrAnnot.h b/include/llvm/CodeGen/MachineInstrAnnot.h
index e1902e77b3..b7e22d8138 100644
--- a/include/llvm/CodeGen/MachineInstrAnnot.h
+++ b/include/llvm/CodeGen/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/include/llvm/CodeGen/SSARegMap.h b/include/llvm/CodeGen/SSARegMap.h
index 08fa672a81..ced04354cf 100644
--- a/include/llvm/CodeGen/SSARegMap.h
+++ b/include/llvm/CodeGen/SSARegMap.h
@@ -12,6 +12,8 @@
#include "llvm/Target/MRegisterInfo.h"
+#include <assert.h>
+
class TargetRegisterClass;
class SSARegMap {