From: Eric Christopher Date: Wed, 24 Jul 2013 00:15:01 +0000 (+0000) Subject: Remove more dead/weird/misleading code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0f6b026158324a18c42470222feff3217cebcd16;p=oota-llvm.git Remove more dead/weird/misleading code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187010 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 450404ec619..0323c9d3f2b 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(10); } void setTypeArray(DIArray Elements, DIArray TParams = DIArray());