forked from OSchip/llvm-project
[ARM] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D63265
llvm-svn: 363534
This commit is contained in:
parent
5d6ee76c16
commit
89d6905c59
|
@ -291,8 +291,8 @@ char ARMConstantIslands::ID = 0;
|
|||
|
||||
/// verify - check BBOffsets, BBSizes, alignment of islands
|
||||
void ARMConstantIslands::verify() {
|
||||
BBInfoVector &BBInfo = BBUtils->getBBInfo();
|
||||
#ifndef NDEBUG
|
||||
BBInfoVector &BBInfo = BBUtils->getBBInfo();
|
||||
assert(std::is_sorted(MF->begin(), MF->end(),
|
||||
[&BBInfo](const MachineBasicBlock &LHS,
|
||||
const MachineBasicBlock &RHS) {
|
||||
|
|
Loading…
Reference in New Issue