diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp index d95c9e83345..e3d51d5d740 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