diff options
| author | Bill Wendling <isanbard@gmail.com> | 2010-01-28 21:51:40 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2010-01-28 21:51:40 +0000 |
| commit | 954cb187e00da9c4b72887d057f46c8bc46c6666 (patch) | |
| tree | cd6d3a458cd8dc9b174e508c0406f6e03b519e3a /llvm/include | |
| parent | 4c3e7e99caede01bdd53d80f3fa1abdc40f0fd41 (diff) | |
| download | bcm5719-llvm-954cb187e00da9c4b72887d057f46c8bc46c6666.tar.gz bcm5719-llvm-954cb187e00da9c4b72887d057f46c8bc46c6666.zip | |
Assign the ordering of SDNodes in a much less intrusive fashion. After the
"visit*" method is called, take the newly created nodes, walk them in a DFS
fashion, and if they don't have an ordering set, then give it one.
llvm-svn: 94757
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/SelectionDAG.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAG.h b/llvm/include/llvm/CodeGen/SelectionDAG.h index 33ebd00720f..60014f833d9 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAG.h +++ b/llvm/include/llvm/CodeGen/SelectionDAG.h @@ -841,7 +841,7 @@ public: } /// AssignOrdering - Assign an order to the SDNode. - void AssignOrdering(SDNode *SD, unsigned Order); + void AssignOrdering(const SDNode *SD, unsigned Order); /// GetOrdering - Get the order for the SDNode. unsigned GetOrdering(const SDNode *SD) const; |

