diff options
author | Devang Patel <dpatel@apple.com> | 2009-09-30 22:51:28 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-09-30 22:51:28 +0000 |
commit | 3d910835fc5da1ccddefd7cc5978ffe8c903cbf0 (patch) | |
tree | 4787dcf46ccfbfea1d6510be6a8ff64985330962 /lib/CodeGen/AsmPrinter/DwarfWriter.cpp | |
parent | a63710124a4c0d248ab32f82b76b3c7ec670d1e0 (diff) |
Use MDNode * directly as an RecordSourceLine() argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp index fed9668fcc..bebf8e0799 100644 --- a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp @@ -77,8 +77,8 @@ void DwarfWriter::EndFunction(MachineFunction *MF) { /// label. Returns a unique label ID used to generate a label and provide /// correspondence to the source line list. unsigned DwarfWriter::RecordSourceLine(unsigned Line, unsigned Col, - DICompileUnit CU) { - return DD->RecordSourceLine(Line, Col, CU); + MDNode *Scope) { + return DD->RecordSourceLine(Line, Col, Scope); } /// RecordRegionStart - Indicate the start of a region. |