"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "cd7b92251d54979b67c6dd09c039e307aee53aba"
Give NamedRegionTimer an Enabled flag, allowing all its clients to
switch from this: if (TimePassesIsEnabled) { NamedRegionTimer T(Name, GroupName); do_something(); } else { do_something(); // duplicate the code, this time without a timer! } to this: { NamedRegionTimer T(Name, GroupName, TimePassesIsEnabled); do_something(); } llvm-svn: 106285
Loading
Please register or sign in to comment