r188475 - DebugInfo: remove unnecessary type registration
David Blaikie
dblaikie at gmail.com
Thu Aug 15 11:59:44 PDT 2013
Author: dblaikie
Date: Thu Aug 15 13:59:44 2013
New Revision: 188475
URL: http://llvm.org/viewvc/llvm-project?rev=188475&view=rev
Log:
DebugInfo: remove unnecessary type registration
This happens in the caller a few frames up anyway.
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=188475&r1=188474&r2=188475&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Thu Aug 15 13:59:44 2013
@@ -1418,7 +1418,6 @@ llvm::DIType CGDebugInfo::CreateType(con
llvm::DIDescriptor FDContext =
getContextDescriptor(cast<Decl>(RD->getDeclContext()));
llvm::DIType RetTy = getOrCreateRecordFwdDecl(RD, FDContext);
- TypeCache[QualType(Ty, 0).getAsOpaquePtr()] = RetTy;
return RetTy;
}
More information about the cfe-commits
mailing list