diff options
author | Dan Gohman <gohman@apple.com> | 2008-06-20 16:03:16 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-06-20 16:03:16 +0000 |
commit | be20a88f534325f736830c94fc084c55b4aefdfd (patch) | |
tree | 49c1fae5d2802ed8ed234757fbbcc7ef3bed5b1e /include | |
parent | 63691f13b62591743d286ac29a7f0c105b1d8619 (diff) | |
download | external_llvm-be20a88f534325f736830c94fc084c55b4aefdfd.zip external_llvm-be20a88f534325f736830c94fc084c55b4aefdfd.tar.gz external_llvm-be20a88f534325f736830c94fc084c55b4aefdfd.tar.bz2 |
Add an allnodes_size method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52541 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index c052aad..3bdedb7 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -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. /// |