summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-10 01:23:18 +0000
committerChris Lattner <sabre@nondot.org>2010-02-10 01:23:18 +0000
commitea26fa99716dbe0f3fa28dedba646d225a6ea8d4 (patch)
treeaa73c01fe42659956192cd1ac05995a3c79fb566 /llvm/lib/CodeGen/AsmPrinter
parent0a75ceee38ef64b75f6e6ca1132543409a1c64e0 (diff)
downloadbcm5719-llvm-ea26fa99716dbe0f3fa28dedba646d225a6ea8d4.tar.gz
bcm5719-llvm-ea26fa99716dbe0f3fa28dedba646d225a6ea8d4.zip
fix a layering violation: VirtRegRewriter.cpp shouldn't use AsmPrinter.h.
llvm-svn: 95748
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index fe968572476..9042147afb4 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -375,7 +375,7 @@ static void EmitComments(const MachineInstr &MI, raw_ostream &CommentOS) {
unsigned SrcReg, DstReg, SrcSubIdx, DstSubIdx;
if (TM.getInstrInfo()->isMoveInstr(MI, SrcReg, DstReg,
SrcSubIdx, DstSubIdx)) {
- if (MI.getAsmPrinterFlag(AsmPrinter::ReloadReuse))
+ if (MI.getAsmPrinterFlag(MachineInstr::ReloadReuse))
CommentOS << " Reload Reuse\n";
}
}
OpenPOWER on IntegriCloud