+2010-12-07 Petr Machata <pmachata@redhat.com>
+
+ * c++/subr.hh (sharing_stack::element::pop): Remove. Move the
+ logic to sharing_stack::pop.
+ * c++/dwarf (debug_info_entry::children_type::const_iterator): Use
+ sharing_stack instead of stackish.
+ * c++/dwarf_tracker (dwarf_path_finder): Likewise.
+
2010-11-30 Roland McGrath <roland@redhat.com>
* c++/dwarf (dwarf::directory_table): Remove class.
private:
typedef raw_children_type::const_iterator raw_iterator;
- subr::stackish<raw_iterator> _m_stack;
+ subr::sharing_stack<raw_iterator> _m_stack;
/* Push and pop until _m_stack.top () == raw_children_type::end ()
or it's looking at a DIE other than DW_TAG_imported_unit. */
_m_path in _m_seen so that a derived tracker made from path_to
"context" can use the right _m_root.
*/
- typedef subr::stackish<die> die_path;
+ typedef subr::sharing_stack<die> die_path;
private:
// We use an empty list as a marker; every path includes at least one DIE.