From: Eric Christopher Date: Wed, 24 Jul 2013 00:36:11 +0000 (+0000) Subject: Remove one more of these. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e389cc5f0c16dc3a41af01c95ce5a206cd0c462b;p=oota-llvm.git Remove one more of these. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187011 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 0323c9d3f2b..39b1e0a7db0 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -346,10 +346,7 @@ namespace llvm { class DIFile : public DIScope { friend class DIDescriptor; public: - explicit DIFile(const MDNode *N = 0) : DIScope(N) { - if (DbgNode && !isFile()) - DbgNode = 0; - } + explicit DIFile(const MDNode *N = 0) : DIScope(N) {} MDNode *getFileNode() const; bool Verify() const; };