diff options
author | Jim Laskey <jlaskey@mac.com> | 2005-09-30 19:27:01 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2005-09-30 19:27:01 +0000 |
commit | 453d21e66c6140857c444e85c112d007acee985b (patch) | |
tree | e977e4040ca17152e34ed49de266ed2f1160ecbe /include/llvm | |
parent | b6d4c2cf2d3e5173fb16c24d93b18eb13ba04f37 (diff) | |
download | external_llvm-453d21e66c6140857c444e85c112d007acee985b.zip external_llvm-453d21e66c6140857c444e85c112d007acee985b.tar.gz external_llvm-453d21e66c6140857c444e85c112d007acee985b.tar.bz2 |
Added allnodes_size for scheduling support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-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 a987f9f..bfd7113 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -66,6 +66,7 @@ public: typedef std::vector<SDNode*>::const_iterator allnodes_iterator; allnodes_iterator allnodes_begin() const { return AllNodes.begin(); } allnodes_iterator allnodes_end() const { return AllNodes.end(); } + unsigned allnodes_size() const { return AllNodes.size(); } /// getRoot - Return the root tag of the SelectionDAG. /// |