diff options
author | Devang Patel <dpatel@apple.com> | 2009-09-30 23:12:50 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-09-30 23:12:50 +0000 |
commit | b0fdedb3fd123a47e7deca75d1e6f7d64218b07a (patch) | |
tree | 0c71b0de89919a8164ec6713239fc005365f793e /lib/Target/PIC16/AsmPrinter | |
parent | 3d910835fc5da1ccddefd7cc5978ffe8c903cbf0 (diff) | |
download | llvm-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/PIC16/AsmPrinter')
-rw-r--r-- | lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp index 7eeefd1c76..a74ad661bc 100644 --- a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp +++ b/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); |