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
This commit is contained in:
Devang Patel
2009-10-13 23:28:53 +00:00
parent 228ebd0f4c
commit 1619dc3b9e
8 changed files with 37 additions and 36 deletions

View File

@@ -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;