diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-04-29 07:29:08 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-04-29 07:29:08 +0000 |
commit | f4fc9b175306a49c3d3c72f1e9e08f8ea2038c51 (patch) | |
tree | a0afa7377073827222b74c7cf044f2f31cd08047 /lib | |
parent | f11a6856cc28875133cef0f7bbad2b7de3a83776 (diff) | |
download | external_llvm-f4fc9b175306a49c3d3c72f1e9e08f8ea2038c51.zip external_llvm-f4fc9b175306a49c3d3c72f1e9e08f8ea2038c51.tar.gz external_llvm-f4fc9b175306a49c3d3c72f1e9e08f8ea2038c51.tar.bz2 |
Add in some conditional compilation in order to silence an unused variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180700 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp index d95c9e8..e3d51d5 100644 --- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp @@ -307,10 +307,12 @@ STATISTIC(NumRetainsBeforeOpt, "Number of retains before optimization."); STATISTIC(NumReleasesBeforeOpt, "Number of releases before optimization."); +#ifndef NDEBUG STATISTIC(NumRetainsAfterOpt, "Number of retains after optimization."); STATISTIC(NumReleasesAfterOpt, "Number of releases after optimization."); +#endif namespace { /// \enum Sequence |