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 | 86049dcedaba49929bf6e4c1cd84f9d85cadb987 (patch) | |
tree | 0c71b0de89919a8164ec6713239fc005365f793e /lib/Target/Sparc | |
parent | 4d23d84af58fc21b50dce528a8a26a30a62db355 (diff) | |
download | external_llvm-86049dcedaba49929bf6e4c1cd84f9d85cadb987.zip external_llvm-86049dcedaba49929bf6e4c1cd84f9d85cadb987.tar.gz external_llvm-86049dcedaba49929bf6e4c1cd84f9d85cadb987.tar.bz2 |
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/Sparc')
-rw-r--r-- | lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp index 81ac532..04e5b69 100644 --- a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp +++ b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp @@ -124,7 +124,7 @@ bool SparcAsmPrinter::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()) |