projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d816e2d
)
DebugInfo: remove unnecessary type registration
author
David Blaikie
<dblaikie@gmail.com>
Thu, 15 Aug 2013 18:59:44 +0000
(18:59 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Thu, 15 Aug 2013 18:59:44 +0000
(18:59 +0000)
This happens in the caller a few frames up anyway.
llvm-svn: 188475
clang/lib/CodeGen/CGDebugInfo.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGDebugInfo.cpp
b/clang/lib/CodeGen/CGDebugInfo.cpp
index 8eb89871c559eb1c28821ed2e6c77e5019892c8f..81354b86cab5dd18e22519ed265656e69bae6f99 100644
(file)
--- a/
clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/
clang/lib/CodeGen/CGDebugInfo.cpp
@@
-1418,7
+1418,6
@@
llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty, bool Declaration) {
llvm::DIDescriptor FDContext =
getContextDescriptor(cast<Decl>(RD->getDeclContext()));
llvm::DIType RetTy = getOrCreateRecordFwdDecl(RD, FDContext);
- TypeCache[QualType(Ty, 0).getAsOpaquePtr()] = RetTy;
return RetTy;
}