aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-10-13 23:28:53 +0000
committerDevang Patel <dpatel@apple.com>2009-10-13 23:28:53 +0000
commitfc1df34dea6dae98d823f9cf95afbb364201ec97 (patch)
tree7c8a15e6008c918bc92a590e438862b1190f0b86 /lib/CodeGen/SelectionDAG/FastISel.cpp
parente3829c8912580d00aaf3c07661de34e4894983db (diff)
downloadexternal_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.cpp7
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;