| Index: src/IceCfg.cpp
|
| diff --git a/src/IceCfg.cpp b/src/IceCfg.cpp
|
| index e40bd1609c0088d28d2ae4be7034c3da3b579218..d8e3b2479f2544624640cd9fb3a407915fbc51b6 100644
|
| --- a/src/IceCfg.cpp
|
| +++ b/src/IceCfg.cpp
|
| @@ -68,11 +68,13 @@ bool Cfg::hasComputedFrame() const { return getTarget()->hasComputedFrame(); }
|
| void Cfg::translate() {
|
| if (hasError())
|
| return;
|
| - const IceString &TimingFocusOn = getContext()->getFlags().TimingFocusOn;
|
| - if (TimingFocusOn == "*" || TimingFocusOn == getFunctionName()) {
|
| - setFocusedTiming();
|
| - getContext()->resetTimer(GlobalContext::TSK_Default);
|
| - getContext()->setTimerName(GlobalContext::TSK_Default, getFunctionName());
|
| + if (ALLOW_DUMP) {
|
| + const IceString &TimingFocusOn = getContext()->getFlags().TimingFocusOn;
|
| + if (TimingFocusOn == "*" || TimingFocusOn == getFunctionName()) {
|
| + setFocusedTiming();
|
| + getContext()->resetTimer(GlobalContext::TSK_Default);
|
| + getContext()->setTimerName(GlobalContext::TSK_Default, getFunctionName());
|
| + }
|
| }
|
| TimerMarker T(TimerStack::TT_translate, this);
|
|
|
|
|