Prefix the debug statistics so they group together.

llvm-svn: 21583
This commit is contained in:
Reid Spencer 2005-04-27 00:20:23 +00:00
parent 27f80b8c96
commit e3b60245eb

View File

@ -104,6 +104,7 @@ namespace {
private:
const char* func_name;
#ifndef NDEBUG
std::string stat_name;
Statistic<> activations;
#endif
};
@ -115,7 +116,8 @@ namespace {
CallOptimizer::CallOptimizer(const char* fname)
: func_name(fname)
#ifndef NDEBUG
, activations(fname,"Number of calls simplified")
, stat_name(std::string("simplify-libcalls:")+fname)
, activations(stat_name.c_str(),"Number of calls simplified")
#endif
{
// Register this call optimizer