summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-09-30 22:51:28 +0000
committerDevang Patel <dpatel@apple.com>2009-09-30 22:51:28 +0000
commit3256c751f50682f0d06b76736f756c25dd45f4a5 (patch)
treeb3db476bef635dd01552a6a013d1c6655b0504ef /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
parent5c13c2d39229b05da0ac4326bf473edf432e5173 (diff)
downloadbcm5719-llvm-3256c751f50682f0d06b76736f756c25dd45f4a5.tar.gz
bcm5719-llvm-3256c751f50682f0d06b76736f756c25dd45f4a5.zip
Use MDNode * directly as an RecordSourceLine() argument.
llvm-svn: 83182
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index 14dc8981f99..c84019be136 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
@@ -1356,8 +1356,8 @@ void AsmPrinter::processDebugLoc(DebugLoc DL) {
DebugLocTuple CurDLT = MF->getDebugLocTuple(DL);
if (CurDLT.CompileUnit != 0 && PrevDLT != CurDLT) {
- printLabel(DW->RecordSourceLine(CurDLT.Line, CurDLT.Col,
- DICompileUnit(CurDLT.CompileUnit)));
+ printLabel(DW->RecordSourceLine(CurDLT.Line, CurDLT.Col,
+ CurDLT.CompileUnit));
O << '\n';
}
OpenPOWER on IntegriCloud