projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a485b
)
Remove more dead/weird/misleading code.
author
Eric Christopher
<echristo@gmail.com>
Wed, 24 Jul 2013 00:15:01 +0000
(
00:15
+0000)
committer
Eric Christopher
<echristo@gmail.com>
Wed, 24 Jul 2013 00:15:01 +0000
(
00:15
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187010
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/DebugInfo.h
patch
|
blob
|
history
diff --git
a/include/llvm/DebugInfo.h
b/include/llvm/DebugInfo.h
index 450404ec619fc9ecbc019e589426b5c368f4c528..0323c9d3f2b7f9f941c3a30a86225eb9a979e6ce 100644
(file)
--- a/
include/llvm/DebugInfo.h
+++ b/
include/llvm/DebugInfo.h
@@
-327,10
+327,7
@@
namespace llvm {
void printInternal(raw_ostream &OS) const;
public:
explicit DICompositeType(const MDNode *N = 0)
- : DIDerivedType(N) {
- if (N && !isCompositeType())
- DbgNode = 0;
- }
+ : DIDerivedType(N) {}
DIArray getTypeArray() const { return getFieldAs<DIArray>(10); }
void setTypeArray(DIArray Elements, DIArray TParams = DIArray());