diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DebugInfo.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 450404e..0323c9d 100644 --- 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()); |