diff options
author | Devang Patel <dpatel@apple.com> | 2010-01-19 06:09:04 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-01-19 06:09:04 +0000 |
commit | c99fd879c0f4bbc56c29d508fec7935e6cbd7ed0 (patch) | |
tree | ea01fc57a117c2abdad6a86375bd6fc2fc658c23 /include | |
parent | 8ad9a775019c69a07bb8258f7ff2849d594956df (diff) | |
download | external_llvm-c99fd879c0f4bbc56c29d508fec7935e6cbd7ed0.zip external_llvm-c99fd879c0f4bbc56c29d508fec7935e6cbd7ed0.tar.gz external_llvm-c99fd879c0f4bbc56c29d508fec7935e6cbd7ed0.tar.bz2 |
Avoid including DebugInfo.h in AsmPrinter.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 4 | ||||
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 52f7c62..c12113e 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -17,7 +17,6 @@ #define LLVM_CODEGEN_ASMPRINTER_H #include "llvm/CodeGen/MachineFunctionPass.h" -#include "llvm/Analysis/DebugInfo.h" #include "llvm/Support/DebugLoc.h" #include "llvm/Target/TargetMachine.h" #include "llvm/ADT/DenseMap.h" @@ -49,6 +48,7 @@ namespace llvm { class MCSection; class MCStreamer; class MCSymbol; + class MDNode; class DwarfWriter; class Mangler; class MCAsmInfo; @@ -153,7 +153,7 @@ namespace llvm { mutable unsigned Counter; // Private state for processDebugLoc() - mutable DILocation PrevDLT; + mutable const MDNode *PrevDLT; protected: explicit AsmPrinter(formatted_raw_ostream &o, TargetMachine &TM, diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index abd57a7..32d2857 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -26,6 +26,7 @@ namespace llvm { +class DILocation; class Value; class Function; class MachineRegisterInfo; |