summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-10-06 02:19:11 +0000
committerDevang Patel <dpatel@apple.com>2009-10-06 02:19:11 +0000
commit051454a16f1db9c4081baa786ab7b724be00bb30 (patch)
tree63a9dbd6daf5a3941ee16928823691888187eab9 /llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
parent2980a220287ccbc6d51e41c995971bcf75ea24ce (diff)
downloadbcm5719-llvm-051454a16f1db9c4081baa786ab7b724be00bb30.tar.gz
bcm5719-llvm-051454a16f1db9c4081baa786ab7b724be00bb30.zip
Update processDebugLoc() so that it can be used to process debug info before and after printing an instruction.
llvm-svn: 83363
Diffstat (limited to 'llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp b/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
index aed3b9a7898..fd4a99a0640 100644
--- a/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
+++ b/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp
@@ -177,13 +177,13 @@ bool AlphaAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
II != E; ++II) {
// Print the assembly for the instruction.
++EmittedInsts;
- processDebugLoc(II);
-
+ processDebugLoc(II, true);
printInstruction(II);
if (VerboseAsm && !II->getDebugLoc().isUnknown())
EmitComments(*II);
O << '\n';
+ processDebugLoc(II, false);
}
}
OpenPOWER on IntegriCloud