aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SystemZ
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
commit86049dcedaba49929bf6e4c1cd84f9d85cadb987 (patch)
tree0c71b0de89919a8164ec6713239fc005365f793e /lib/Target/SystemZ
parent4d23d84af58fc21b50dce528a8a26a30a62db355 (diff)
downloadexternal_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/SystemZ')
-rw-r--r--lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
index 442c46f..5ba9649 100644
--- a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
+++ b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
@@ -156,7 +156,7 @@ bool SystemZAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
void SystemZAsmPrinter::printMachineInstruction(const MachineInstr *MI) {
++EmittedInsts;
- processDebugLoc(MI->getDebugLoc());
+ processDebugLoc(MI);
// Call the autogenerated instruction printer routines.
printInstruction(MI);