summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-24 00:36:11 +0000
committerEric Christopher <echristo@gmail.com>2013-07-24 00:36:11 +0000
commite389cc5f0c16dc3a41af01c95ce5a206cd0c462b (patch)
tree59cbf6c44fd9b3b36b021ca558028252239e7e03 /include
parent0f6b026158324a18c42470222feff3217cebcd16 (diff)
downloadllvm-e389cc5f0c16dc3a41af01c95ce5a206cd0c462b.tar.gz
llvm-e389cc5f0c16dc3a41af01c95ce5a206cd0c462b.tar.bz2
llvm-e389cc5f0c16dc3a41af01c95ce5a206cd0c462b.tar.xz
Remove one more of these.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/DebugInfo.h5
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;
};