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;
670 struct DefStack { struct673 bool empty() const { return Stack.empty() || top() == bottom(); } in empty()677 struct Iterator {708 iterator top() const { return Iterator(*this, true); } in top()709 iterator bottom() const { return Iterator(*this, false); } in bottom()712 void push(NodeAddr<DefNode*> DA) { Stack.push_back(DA); } in push()720 using StorageType = std::vector<value_type>;729 StorageType Stack;