forked from OSchip/llvm-project
Stop MachineInstr.h from #including AsmPrinter.h
llvm-svn: 95741
This commit is contained in:
parent
a0cd0e11c9
commit
f0b06d4ed4
|
@ -21,6 +21,9 @@ namespace llvm {
|
|||
|
||||
class BasicBlock;
|
||||
class MachineFunction;
|
||||
class MCContext;
|
||||
class MCSymbol;
|
||||
class StringRef;
|
||||
class raw_ostream;
|
||||
|
||||
template <>
|
||||
|
|
|
@ -33,6 +33,7 @@ class MachineRegisterInfo;
|
|||
class MachineFrameInfo;
|
||||
class MachineConstantPool;
|
||||
class MachineJumpTableInfo;
|
||||
class Pass;
|
||||
class TargetMachine;
|
||||
class TargetRegisterClass;
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue