mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-15 20:12:50 +00:00
[AArch64] Pacify lld buildbot complaining about an unused static function in release build.
llvm-svn: 217505
This commit is contained in:
parent
c75dbbbdd6
commit
cfb28f77a4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user