summaryrefslogtreecommitdiff
path: root/lib/Target/Blackfin/AsmPrinter
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-09-30 23:12:50 +0000
committerDevang Patel <dpatel@apple.com>2009-09-30 23:12:50 +0000
commitb0fdedb3fd123a47e7deca75d1e6f7d64218b07a (patch)
tree0c71b0de89919a8164ec6713239fc005365f793e /lib/Target/Blackfin/AsmPrinter
parent3d910835fc5da1ccddefd7cc5978ffe8c903cbf0 (diff)
downloadllvm-b0fdedb3fd123a47e7deca75d1e6f7d64218b07a.tar.gz
llvm-b0fdedb3fd123a47e7deca75d1e6f7d64218b07a.tar.bz2
llvm-b0fdedb3fd123a47e7deca75d1e6f7d64218b07a.tar.xz
Use MachineInstr as an processDebugLoc() argument.
This will allow processDebugLoc() to handle scopes for DWARF debug info. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83183 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Blackfin/AsmPrinter')
-rw-r--r--lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp b/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp
index 6a018af81d..1bb7678ec8 100644
--- a/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp
+++ b/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp
@@ -146,7 +146,7 @@ bool BlackfinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
for (MachineBasicBlock::const_iterator II = I->begin(), E = I->end();
II != E; ++II) {
// Print the assembly for the instruction.
- processDebugLoc(II->getDebugLoc());
+ processDebugLoc(II);
printInstruction(II);
if (VerboseAsm && !II->getDebugLoc().isUnknown())