diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/DebugInfo.h | 5 |
1 files changed, 1 insertions, 4 deletions
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; }; |