diff options
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/IR/DebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp index 9381a5b580e..aa61283918f 100644 --- a/llvm/lib/IR/DebugInfo.cpp +++ b/llvm/lib/IR/DebugInfo.cpp @@ -223,6 +223,7 @@ void DIDescriptor::replaceAllUsesWith(MDNode *D) { bool DICompileUnit::Verify() const { return isCompileUnit(); } bool DIObjCProperty::Verify() const { return isObjCProperty(); } +#ifndef NDEBUG /// \brief Check if a value can be a reference to a type. static bool isTypeRef(const Metadata *MD) { if (!MD) @@ -241,7 +242,6 @@ static bool isScopeRef(const Metadata *MD) { return isa<MDScope>(MD); } -#ifndef NDEBUG /// \brief Check if a value can be a DescriptorRef. static bool isDescriptorRef(const Metadata *MD) { if (!MD) |

