Searched defs:DefStack (Results 1 – 2 of 2) sorted by relevance
634 struct DefStack { struct636 bool empty() const { return Stack.empty() || top() == bottom(); } in empty()638 typedef NodeAddr<DefNode*> value_type;639 struct Iterator {662 typedef Iterator iterator;663 iterator top() const { return Iterator(*this, true); } in top()664 iterator bottom() const { return Iterator(*this, false); } in bottom()667 void push(NodeAddr<DefNode*> DA) { Stack.push_back(DA); } in push()673 typedef std::vector<value_type> StorageType;679 StorageType Stack;
669 struct DefStack { struct672 bool empty() const { return Stack.empty() || top() == bottom(); } in empty()676 struct Iterator {707 iterator top() const { return Iterator(*this, true); } in top()708 iterator bottom() const { return Iterator(*this, false); } in bottom()711 void push(NodeAddr<DefNode*> DA) { Stack.push_back(DA); } in push()719 using StorageType = std::vector<value_type>;728 StorageType Stack;