summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16
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
commite0709cfc9247239ea4e083c2b8f0a6e570bd3666 (patch)
tree9e125f759175acd0de388faadc8c49924757b11d /llvm/lib/Target/PIC16
parent3256c751f50682f0d06b76736f756c25dd45f4a5 (diff)
downloadbcm5719-llvm-e0709cfc9247239ea4e083c2b8f0a6e570bd3666.tar.gz
bcm5719-llvm-e0709cfc9247239ea4e083c2b8f0a6e570bd3666.zip
Use MachineInstr as an processDebugLoc() argument.
This will allow processDebugLoc() to handle scopes for DWARF debug info. llvm-svn: 83183
Diffstat (limited to 'llvm/lib/Target/PIC16')
-rw-r--r--llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
index 7eeefd1c761..a74ad661bc4 100644
--- a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
+++ b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
@@ -43,7 +43,7 @@ PIC16AsmPrinter::PIC16AsmPrinter(formatted_raw_ostream &O, TargetMachine &TM,
}
bool PIC16AsmPrinter::printMachineInstruction(const MachineInstr *MI) {
- processDebugLoc(MI->getDebugLoc());
+ processDebugLoc(MI);
printInstruction(MI);
OpenPOWER on IntegriCloud