Remove one more of these.
authorEric Christopher <echristo@gmail.com>
Wed, 24 Jul 2013 00:36:11 +0000 (00:36 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 24 Jul 2013 00:36:11 +0000 (00:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187011 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo.h

index 0323c9d3f2b7f9f941c3a30a86225eb9a979e6ce..39b1e0a7db0418f7995908e04097da1ee054337c 100644 (file)
@@ -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;
   };