diff options
| author | Fangrui Song <maskray@google.com> | 2019-06-17 09:26:50 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-06-17 09:26:50 +0000 |
| commit | 89d6905c5954af223a9e726b4170827859ceffe9 (patch) | |
| tree | d0454850002aaecc58d114da43f5c2e303829444 /llvm/lib/Target/ARM | |
| parent | 5d6ee76c16341cf0d7cb577d2316c71b31da7eb9 (diff) | |
| download | bcm5719-llvm-89d6905c5954af223a9e726b4170827859ceffe9.tar.gz bcm5719-llvm-89d6905c5954af223a9e726b4170827859ceffe9.zip | |
[ARM] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after D63265
llvm-svn: 363534
Diffstat (limited to 'llvm/lib/Target/ARM')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMConstantIslandPass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp index 83917e7941f..f9caea1b39b 100644 --- a/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp +++ b/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp @@ -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) { |

