diff options
author | Devang Patel <dpatel@apple.com> | 2010-03-08 21:32:10 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-03-08 21:32:10 +0000 |
commit | f17f5ebbdcd67966f7841c3597d750756d5bbd38 (patch) | |
tree | d1f31f2de545f5c529573dd4b27205f16cab9030 /lib/Analysis/DebugInfo.cpp | |
parent | 37fad5ce4d81fd459fafe1517d6cd17e7ab49958 (diff) |
Remove DbgNode checks in constructor. Debug descriptors are intended to be light weight wrappers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97988 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 98082ffb18..5e931c69f7 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp @@ -69,15 +69,6 @@ bool DIDescriptor::ValidDebugInfo(MDNode *N, unsigned OptLevel) { return true; } -DIDescriptor::DIDescriptor(MDNode *N, unsigned RequiredTag) { - DbgNode = N; - - // If this is non-null, check to see if the Tag matches. If not, set to null. - if (N && getTag() != RequiredTag) { - DbgNode = 0; - } -} - StringRef DIDescriptor::getStringField(unsigned Elt) const { if (DbgNode == 0) |