[AArch64] Pacify lld buildbot complaining about an unused static function in release build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217505 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Arnaud A. de Grandmaison 2014-09-10 14:24:02 +00:00
parent 438669ca81
commit ac67a5fd18

View File

@ -37,11 +37,13 @@ using namespace llvm;
namespace {
#ifndef NDEBUG
bool isFPReg(unsigned reg) {
return AArch64::FPR32RegClass.contains(reg) ||
AArch64::FPR64RegClass.contains(reg) ||
AArch64::FPR128RegClass.contains(reg);
};
#endif
bool isOdd(unsigned reg) {
switch (reg) {