diff options
| author | Devang Patel <dpatel@apple.com> | 2009-10-13 23:28:53 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2009-10-13 23:28:53 +0000 |
| commit | fc1df34dea6dae98d823f9cf95afbb364201ec97 (patch) | |
| tree | 7c8a15e6008c918bc92a590e438862b1190f0b86 /lib/CodeGen/SelectionDAG/FastISel.cpp | |
| parent | e3829c8912580d00aaf3c07661de34e4894983db (diff) | |
| download | external_llvm-fc1df34dea6dae98d823f9cf95afbb364201ec97.zip external_llvm-fc1df34dea6dae98d823f9cf95afbb364201ec97.tar.gz external_llvm-fc1df34dea6dae98d823f9cf95afbb364201ec97.tar.bz2 | |
s/DebugLoc.CompileUnit/DebugLoc.Scope/g
s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84054 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
| -rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index e4ccbce..ee408dc 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -385,10 +385,9 @@ bool FastISel::SelectCall(User *I) { DebugLocTuple PrevLocTpl = MF.getDebugLocTuple(PrevLoc); DISubprogram SP(FSI->getSubprogram()); - unsigned LabelID = DW->RecordInlinedFnStart(SP, - DICompileUnit(PrevLocTpl.CompileUnit), - PrevLocTpl.Line, - PrevLocTpl.Col); + unsigned LabelID = + DW->RecordInlinedFnStart(SP,DICompileUnit(PrevLocTpl.Scope), + PrevLocTpl.Line, PrevLocTpl.Col); const TargetInstrDesc &II = TII.get(TargetInstrInfo::DBG_LABEL); BuildMI(MBB, DL, II).addImm(LabelID); return true; |
