Index: src/IceConverter.cpp |
diff --git a/src/IceConverter.cpp b/src/IceConverter.cpp |
index 4eb03431b5705bbcd6a52d4aea15e4107d52de5b..e06e290238d76932e06bda54b387352fbe0052e1 100644 |
--- a/src/IceConverter.cpp |
+++ b/src/IceConverter.cpp |
@@ -883,7 +883,7 @@ void Converter::convertFunctions() { |
continue; |
TimerIdT TimerID = 0; |
- if (Ctx->getFlags().TimeEachFunction) { |
+ if (ALLOW_DUMP && Ctx->getFlags().TimeEachFunction) { |
TimerID = Ctx->getTimerID(StackID, I.getName()); |
Ctx->pushTimer(TimerID, StackID); |
} |
@@ -891,7 +891,7 @@ void Converter::convertFunctions() { |
Cfg *Fcn = FunctionConverter.convertFunction(&I); |
translateFcn(Fcn); |
- if (Ctx->getFlags().TimeEachFunction) |
+ if (ALLOW_DUMP && Ctx->getFlags().TimeEachFunction) |
Ctx->popTimer(TimerID, StackID); |
} |