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/Mips | |
parent | 3d910835fc5da1ccddefd7cc5978ffe8c903cbf0 (diff) | |
download | external_llvm-b0fdedb3fd123a47e7deca75d1e6f7d64218b07a.zip external_llvm-b0fdedb3fd123a47e7deca75d1e6f7d64218b07a.tar.gz external_llvm-b0fdedb3fd123a47e7deca75d1e6f7d64218b07a.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/Mips')
-rw-r--r-- | lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp index fb5e5fc..fd6d13e 100644 --- a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp +++ b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp @@ -278,7 +278,7 @@ bool MipsAsmPrinter::runOnMachineFunction(MachineFunction &MF) { for (MachineBasicBlock::const_iterator II = I->begin(), E = I->end(); II != E; ++II) { - processDebugLoc(II->getDebugLoc()); + processDebugLoc(II); // Print the assembly for the instruction. printInstruction(II); |