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 | bb01f76184377e1387ab028d30a4713a32e3dc2a (patch) | |
tree | d1f31f2de545f5c529573dd4b27205f16cab9030 /lib/Analysis | |
parent | 49f224d4746dca7551f240904a36d3da617b0eac (diff) | |
download | external_llvm-bb01f76184377e1387ab028d30a4713a32e3dc2a.zip external_llvm-bb01f76184377e1387ab028d30a4713a32e3dc2a.tar.gz external_llvm-bb01f76184377e1387ab028d30a4713a32e3dc2a.tar.bz2 |
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')
-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 98082ff..5e931c6 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) |