From e389cc5f0c16dc3a41af01c95ce5a206cd0c462b Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 24 Jul 2013 00:36:11 +0000 Subject: Remove one more of these. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187011 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/DebugInfo.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'include') diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h index 0323c9d3f2..39b1e0a7db 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; }; -- cgit v1.2.3