Implement relation_oracle::debug.
Tested on x86-64 Linux. gcc/ChangeLog: * value-relation.cc (relation_oracle::debug): New. * value-relation.h (relation_oracle::debug): New.
This commit is contained in:
parent
d2e278e26a
commit
abcd237363
@ -1164,3 +1164,9 @@ relation_oracle::dump (FILE *f) const
|
||||
dump (f, BASIC_BLOCK_FOR_FN (cfun, i));
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
relation_oracle::debug () const
|
||||
{
|
||||
dump (stderr);
|
||||
}
|
||||
|
@ -142,6 +142,7 @@ public:
|
||||
|
||||
void dump (FILE *f, basic_block bb) const;
|
||||
void dump (FILE *f) const;
|
||||
void debug () const;
|
||||
private:
|
||||
bitmap m_tmp, m_tmp2;
|
||||
bitmap m_relation_set; // Index by ssa-name. True if a relation exists
|
||||
|
Loading…
Reference in New Issue
Block a user