diff options
| author | Eric Christopher <echristo@gmail.com> | 2013-07-24 01:38:05 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2013-07-24 01:38:05 +0000 |
| commit | 6fef53dde35891832d6dfd250e4f16d78d71eb9b (patch) | |
| tree | b630ef599f5eafca3de017e9989443c8a8830623 | |
| parent | 3f93d3d61e1ecb55caded105e651e82a6fcb7449 (diff) | |
| download | bcm5719-llvm-6fef53dde35891832d6dfd250e4f16d78d71eb9b.tar.gz bcm5719-llvm-6fef53dde35891832d6dfd250e4f16d78d71eb9b.zip | |
Remove dead code.
llvm-svn: 187017
| -rw-r--r-- | llvm/include/llvm/DebugInfo.h | 1 | ||||
| -rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/llvm/include/llvm/DebugInfo.h b/llvm/include/llvm/DebugInfo.h index 689b3ddfd1f..ae7bf049444 100644 --- a/llvm/include/llvm/DebugInfo.h +++ b/llvm/include/llvm/DebugInfo.h @@ -129,7 +129,6 @@ namespace llvm { bool isSubrange() const; bool isEnumerator() const; bool isType() const; - bool isGlobal() const; bool isUnspecifiedParameter() const; bool isTemplateTypeParameter() const; bool isTemplateValueParameter() const; diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 4b72bf39c03..f0593450ee1 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -231,11 +231,6 @@ bool DIDescriptor::isGlobalVariable() const { getTag() == dwarf::DW_TAG_constant); } -/// isGlobal - Return true if the specified tag is legal for DIGlobal. -bool DIDescriptor::isGlobal() const { - return isGlobalVariable(); -} - /// isUnspecifiedParmeter - Return true if the specified tag is /// DW_TAG_unspecified_parameters. bool DIDescriptor::isUnspecifiedParameter() const { |

