commit | 86049dcedaba49929bf6e4c1cd84f9d85cadb987 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Wed Sep 30 23:12:50 2009 +0000 |
committer | Devang Patel <dpatel@apple.com> | Wed Sep 30 23:12:50 2009 +0000 |
tree | 0c71b0de89919a8164ec6713239fc005365f793e | |
parent | 4d23d84af58fc21b50dce528a8a26a30a62db355 [diff] [blame] |
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
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp index d849a83..7dbd5ab 100644 --- a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp +++ b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
@@ -148,7 +148,7 @@ void MSP430AsmPrinter::printMachineInstruction(const MachineInstr *MI) { ++EmittedInsts; - processDebugLoc(MI->getDebugLoc()); + processDebugLoc(MI); // Call the autogenerated instruction printer routines. printInstruction(MI);