DebugInfo: Hide isScopeRef() and isTypeRef() behind NDEBUG
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 01:47:55 +0000 (01:47 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Tue, 31 Mar 2015 01:47:55 +0000 (01:47 +0000)
commita04d764104c559ce9865d334239c8b69b7dad64d
treee85c47f7ae0c56a5f09746d66d04c50cc13004c1
parent12b14d9a76b8faaf96cebdc3a66e80f29d04db84
DebugInfo: Hide isScopeRef() and isTypeRef() behind NDEBUG

The copies of these in `lib/IR/DebugInfo.cpp` are apparently [1] only
used in assertions now, so hide them behind `#ifndef NDEBUG`.

[1]: http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/9238

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/DebugInfo.cpp