[llvm] r187011 - Remove one more of these.

Eric Christopher echristo at gmail.com
Tue Jul 23 17:36:11 PDT 2013


Author: echristo
Date: Tue Jul 23 19:36:11 2013
New Revision: 187011

URL: http://llvm.org/viewvc/llvm-project?rev=187011&view=rev
Log:
Remove one more of these.

Modified:
    llvm/trunk/include/llvm/DebugInfo.h

Modified: llvm/trunk/include/llvm/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo.h?rev=187011&r1=187010&r2=187011&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/DebugInfo.h Tue Jul 23 19:36:11 2013
@@ -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;
   };





More information about the llvm-commits mailing list