mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Prefix the debug statistics so they group together.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21583 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ea099c5fd
commit
026a87a868
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user