diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-24 00:15:01 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-24 00:15:01 +0000 |
commit | 0f6b026158324a18c42470222feff3217cebcd16 (patch) | |
tree | c105a6d1bca984641b34865f3c75a573d5a9acc6 /include | |
parent | 28a485b001b9b0952b51ab9c467e9dc0c88a2ca0 (diff) | |
download | external_llvm-0f6b026158324a18c42470222feff3217cebcd16.zip external_llvm-0f6b026158324a18c42470222feff3217cebcd16.tar.gz external_llvm-0f6b026158324a18c42470222feff3217cebcd16.tar.bz2 |
Remove more dead/weird/misleading code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187010 91177308-0d34-0410-b5e6-96231b3b80d8
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 450404e..0323c9d 100644 --- a/include/llvm/DebugInfo.h +++ b/include/llvm/DebugInfo.h @@ -327,10 +327,7 @@ namespace llvm { void printInternal(raw_ostream &OS) const; public: explicit DICompositeType(const MDNode *N = 0) - : DIDerivedType(N) { - if (N && !isCompositeType()) - DbgNode = 0; - } + : DIDerivedType(N) {} DIArray getTypeArray() const { return getFieldAs<DIArray>(10); } void setTypeArray(DIArray Elements, DIArray TParams = DIArray()); |