projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63691f1
)
Add an allnodes_size method.
author
Dan Gohman
<gohman@apple.com>
Fri, 20 Jun 2008 16:03:16 +0000
(16:03 +0000)
committer
Dan Gohman
<gohman@apple.com>
Fri, 20 Jun 2008 16:03:16 +0000
(16:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52541
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/SelectionDAG.h
b/include/llvm/CodeGen/SelectionDAG.h
index c052aad1487bc2827657d5ca9be279e71ebdc036..3bdedb7809dd9b19dc46d3aae3fd55c6d7f3a34d 100644
(file)
--- 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.
///