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

llvm-svn: 217505
This commit is contained in:
Arnaud A. de Grandmaison 2014-09-10 14:24:02 +00:00
parent c75dbbbdd6
commit cfb28f77a4

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) {