diff options
| author | Devang Patel <dpatel@apple.com> | 2009-10-06 02:19:11 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2009-10-06 02:19:11 +0000 |
| commit | 051454a16f1db9c4081baa786ab7b724be00bb30 (patch) | |
| tree | 63a9dbd6daf5a3941ee16928823691888187eab9 /llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp | |
| parent | 2980a220287ccbc6d51e41c995971bcf75ea24ce (diff) | |
| download | bcm5719-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.cpp | 4 |
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); } } |

