Implement irange::debug()
Tested on x86-64 Linux. gcc/ChangeLog: * value-range.cc (irange::debug): New. * value-range.h (irange::debug): New.
This commit is contained in:
parent
a1fc4075fc
commit
4d9070315a
@ -1999,6 +1999,13 @@ irange::dump (FILE *file) const
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
irange::debug () const
|
||||
{
|
||||
dump (stderr);
|
||||
fprintf (stderr, "\n");
|
||||
}
|
||||
|
||||
void
|
||||
dump_value_range (FILE *file, const irange *vr)
|
||||
{
|
||||
|
@ -84,6 +84,7 @@ public:
|
||||
// Misc methods.
|
||||
bool fits_p (const irange &r) { return m_max_ranges >= r.num_pairs (); }
|
||||
void dump (FILE * = stderr) const;
|
||||
void debug () const;
|
||||
|
||||
// Deprecated legacy public methods.
|
||||
enum value_range_kind kind () const; // DEPRECATED
|
||||
|
Loading…
Reference in New Issue
Block a user