From: Devang Patel Date: Tue, 10 Aug 2010 20:16:57 +0000 (+0000) Subject: Simplify X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c4acc0352037528c710d798c0d2bc771a6782ac;p=clang Simplify git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110716 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 4e020f92ce..bb9f1cbc8a 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -1814,8 +1814,7 @@ void CGDebugInfo::EmitGlobalVariable(const ValueDecl *VD, return; DebugFactory.CreateGlobalVariable(Unit, Name, Name, Name, Unit, getLineNumber(VD->getLocation()), - getOrCreateType(VD->getType(), Unit), - true, true, Init); + Ty, true, true, Init); } /// getOrCreateNamesSpace - Return namespace descriptor for the given