diff options
author | Anna Zaks <ganna@apple.com> | 2011-12-05 19:17:04 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2011-12-05 19:17:04 +0000 |
commit | e9504a267ea15aa2773e75d30d59f8a21a7431f2 (patch) | |
tree | 150661e511f5168b4bb76006762e679fd7710163 /clang/lib/Basic/Module.cpp | |
parent | 004695b56efdbf7a47b5bc6fef75314fdefd86a8 (diff) | |
download | llvm-e9504a267ea15aa2773e75d30d59f8a21a7431f2.zip llvm-e9504a267ea15aa2773e75d30d59f8a21a7431f2.tar.gz llvm-e9504a267ea15aa2773e75d30d59f8a21a7431f2.tar.bz2 |
Change the Dominators recalculate() function to only rely on GraphTraits
This is a patch by Guoping Long!
As part of utilizing LLVM Dominator computation in Clang, made two changes to LLVM dominators tree implementation:
- (1) Change the recalculate() template function to only rely on GraphTraits.
- (2) Add a size() method to GraphTraits template class to query the number of nodes in the graph.
llvm-svn: 145837
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions