Add gimple_ranger::debug.
I'm trying to add one debug() for each dump() to the dumping aids. Tested on x86-64 Linux. gcc/ChangeLog: * gimple-range.cc (gimple_ranger::debug): New. * gimple-range.h (class gimple_ranger): Add debug.
This commit is contained in:
parent
64dd46dbc6
commit
257fd0333f
2 changed files with 7 additions and 0 deletions
|
@ -412,6 +412,12 @@ gimple_ranger::dump (FILE *f)
|
|||
m_cache.dump (f);
|
||||
}
|
||||
|
||||
void
|
||||
gimple_ranger::debug ()
|
||||
{
|
||||
dump (stderr);
|
||||
}
|
||||
|
||||
/* Create a new ranger instance and associate it with function FUN.
|
||||
Each call must be paired with a call to disable_ranger to release
|
||||
resources. */
|
||||
|
|
|
@ -55,6 +55,7 @@ public:
|
|||
void export_global_ranges ();
|
||||
inline gori_compute &gori () { return m_cache.m_gori; }
|
||||
virtual void dump (FILE *f) OVERRIDE;
|
||||
void debug ();
|
||||
void dump_bb (FILE *f, basic_block bb);
|
||||
auto_edge_flag non_executable_edge_flag;
|
||||
protected:
|
||||
|
|
Loading…
Add table
Reference in a new issue