[llvm-commits] [llvm] r52541 - /llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
Dan Gohman
gohman at apple.com
Fri Jun 20 09:03:16 PDT 2008
Author: djg
Date: Fri Jun 20 11:03:16 2008
New Revision: 52541
URL: http://llvm.org/viewvc/llvm-project?rev=52541&view=rev
Log:
Add an allnodes_size method.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAG.h?rev=52541&r1=52540&r2=52541&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAG.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Fri Jun 20 11:03:16 2008
@@ -104,6 +104,7 @@
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.
///
More information about the llvm-commits
mailing list