diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-10 01:04:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-10 01:04:16 +0000 |
commit | a655f088b88cf015fc48721fd9869787d1b8ce13 (patch) | |
tree | 0e0593a489889a9793b22566b0f45a6ca851c89c /include/llvm | |
parent | d3a47a3ef3ea429f82b05cce9ecd7bc6d28badf0 (diff) | |
download | external_llvm-a655f088b88cf015fc48721fd9869787d1b8ce13.zip external_llvm-a655f088b88cf015fc48721fd9869787d1b8ce13.tar.gz external_llvm-a655f088b88cf015fc48721fd9869787d1b8ce13.tar.bz2 |
Stop MachineInstr.h from #including AsmPrinter.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95741 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/CodeGen/MachineBasicBlock.h | 3 | ||||
-rw-r--r-- | include/llvm/CodeGen/MachineFunction.h | 1 | ||||
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineBasicBlock.h b/include/llvm/CodeGen/MachineBasicBlock.h index 1cb8130..db82ba5 100644 --- a/include/llvm/CodeGen/MachineBasicBlock.h +++ b/include/llvm/CodeGen/MachineBasicBlock.h @@ -21,6 +21,9 @@ namespace llvm { class BasicBlock; class MachineFunction; +class MCContext; +class MCSymbol; +class StringRef; class raw_ostream; template <> diff --git a/include/llvm/CodeGen/MachineFunction.h b/include/llvm/CodeGen/MachineFunction.h index 828540b..ea31627 100644 --- a/include/llvm/CodeGen/MachineFunction.h +++ b/include/llvm/CodeGen/MachineFunction.h @@ -33,6 +33,7 @@ class MachineRegisterInfo; class MachineFrameInfo; class MachineConstantPool; class MachineJumpTableInfo; +class Pass; class TargetMachine; class TargetRegisterClass; diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 19f88ec..51abcc2 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -19,7 +19,6 @@ #include "llvm/ADT/ilist.h" #include "llvm/ADT/ilist_node.h" #include "llvm/ADT/STLExtras.h" -#include "llvm/CodeGen/AsmPrinter.h" #include "llvm/CodeGen/MachineOperand.h" #include "llvm/Target/TargetInstrDesc.h" #include "llvm/Target/TargetOpcodes.h" @@ -122,7 +121,7 @@ public: /// getAsmPrinterFlag - Return whether an AsmPrinter flag is set. /// - bool getAsmPrinterFlag(AsmPrinter::CommentFlag Flag) const { + bool getAsmPrinterFlag(unsigned Flag) const { return AsmPrinterFlags & Flag; } |