Move a couple more statistics inside '#ifndef NDEBUG'.

Suppresses an unused-variable warning in -Asserts builds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181733 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Beaumont-Gay 2013-05-13 21:10:49 +00:00
parent f4a1377322
commit 9b5e6c0943

View File

@ -303,11 +303,11 @@ STATISTIC(NumRets, "Number of return value forwarding "
"retain+autoreleaes eliminated");
STATISTIC(NumRRs, "Number of retain+release paths eliminated");
STATISTIC(NumPeeps, "Number of calls peephole-optimized");
#ifndef NDEBUG
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,