Add an allnodes_size method.

llvm-svn: 52541
This commit is contained in:
Dan Gohman 2008-06-20 16:03:16 +00:00
parent 48b282f03b
commit 795e2943a2
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ public:
typedef ilist<SDNode>::iterator allnodes_iterator;
allnodes_iterator allnodes_begin() { return AllNodes.begin(); }
allnodes_iterator allnodes_end() { return AllNodes.end(); }
ilist<SDNode>::size_type allnodes_size() const { return AllNodes.size(); }
/// getRoot - Return the root tag of the SelectionDAG.
///