diff options
Diffstat (limited to 'gcc/collect-types.c')
-rw-r--r-- | gcc/collect-types.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/collect-types.c b/gcc/collect-types.c index b3febdd57d7..f4ad113b56f 100644 --- a/gcc/collect-types.c +++ b/gcc/collect-types.c @@ -72,3 +72,15 @@ points_to_record_sets_s::in_complement(const_tree type) const return seen_before; } +void +points_to_record_sets_s::print_in_points_to_record() const +{ + TypeStringifier stringifier; + for (auto i = this->points_to_record.cbegin(), e = this->points_to_record.cend(); i != e; ++i) + { + const_tree t = *i; + gcc_assert(t); + std::string name = stringifier.stringify(t); + log("collected: %s\n", name.c_str()); + } +} |