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 | 4bd5f8ceca41c935de7bc531745cb9d448844ddc (patch) | |
tree | 632d7cf1b7fcbc37e0d02ead3cd555037172f682 /llvm/lib/Analysis/DebugInfo.cpp | |
parent | ff9021b67574f5cc362405c3da2c4fdc3372b72c (diff) | |
download | bcm5719-llvm-4bd5f8ceca41c935de7bc531745cb9d448844ddc.tar.gz bcm5719-llvm-4bd5f8ceca41c935de7bc531745cb9d448844ddc.zip |
Remove DbgNode checks in constructor. Debug descriptors are intended to be light weight wrappers.
llvm-svn: 97988
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | llvm/lib/Analysis/DebugInfo.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index 98082ffb18f..5e931c69f7c 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/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) |