about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-24T00·20+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-10-24T00·20+0200
commit543d8a5942f503f5e49eecbf7e4e7a039472e9ea (patch)
tree5364801e3301dcf4c19d651989e423af99db5b16 /src
parentfe95650487d189bae2be198fe2cbbb0cb6c3788f (diff)
Don't require NIX_SHOW_STATS for NIX_COUNT_CALLS
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/eval.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 300e184328cf..ae29431578a7 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -1275,6 +1275,7 @@ void EvalState::printStats()
     printMsg(v, format("  number of function calls: %1%") % nrFunctionCalls);
 
     if (countCalls) {
+        v = lvlInfo;
 
         printMsg(v, format("calls to %1% primops:") % primOpCalls.size());
         typedef std::multimap<unsigned int, Symbol> PrimOpCalls_;