diff options
| author | Fangrui Song <maskray@google.com> | 2019-08-20 07:21:43 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-08-20 07:21:43 +0000 |
| commit | f182617352261d12ed990fdf833b8ce69a0642da (patch) | |
| tree | 4c94e4168c774bd450fdd21d3a5219593cd4aa32 /llvm | |
| parent | 1ada137854be55265f1b8128e1a19c57c48582f9 (diff) | |
| download | bcm5719-llvm-f182617352261d12ed990fdf833b8ce69a0642da.tar.gz bcm5719-llvm-f182617352261d12ed990fdf833b8ce69a0642da.zip | |
[Attributor] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off builds after r369331
llvm-svn: 369334
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Transforms/IPO/Attributor.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/IPO/Attributor.cpp b/llvm/lib/Transforms/IPO/Attributor.cpp index 0e86efd5eab..4cdb385c3e3 100644 --- a/llvm/lib/Transforms/IPO/Attributor.cpp +++ b/llvm/lib/Transforms/IPO/Attributor.cpp @@ -2552,6 +2552,7 @@ ChangeStatus Attributor::run() { NumAttributesManifested += NumManifested; NumAttributesValidFixpoint += NumAtFixpoint; + (void)NumFinalAAs; assert( NumFinalAAs == AllAbstractAttributes.size() && "Expected the final number of abstract attributes to remain unchanged!"); |

