From be583b914d8156b99d3da264d5adca37fee8dbc9 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Wed, 11 Jun 2003 14:01:36 +0000 Subject: 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 --- include/llvm/CodeGen/InstrForest.h | 1 + include/llvm/CodeGen/InstrSelection.h | 1 + include/llvm/CodeGen/LiveVariables.h | 1 + include/llvm/CodeGen/MachineCodeForInstruction.h | 2 ++ include/llvm/CodeGen/MachineFrameInfo.h | 1 + include/llvm/CodeGen/MachineInstr.h | 2 ++ include/llvm/CodeGen/MachineInstrAnnot.h | 2 ++ include/llvm/CodeGen/SSARegMap.h | 2 ++ 8 files changed, 12 insertions(+) (limited to 'include/llvm/CodeGen') 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 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 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 +#include 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 +#include + 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 +#include 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 +#include + 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 + 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 + class TargetRegisterClass; class SSARegMap { -- cgit v1.2.3-70-g09d2