summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-01-13 11:58:34 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-01-13 11:58:34 +0000
commited0b9ad2e6cff55aac94c0e2d7630e7ed3e80cc7 (patch)
tree80fce458957ce81c58d7f56f7662294749aa05e1 /utils
parent2073b0a63cfd7ea54b5307953ce11f378365d73d (diff)
downloadllvm-ed0b9ad2e6cff55aac94c0e2d7630e7ed3e80cc7.tar.gz
llvm-ed0b9ad2e6cff55aac94c0e2d7630e7ed3e80cc7.tar.bz2
llvm-ed0b9ad2e6cff55aac94c0e2d7630e7ed3e80cc7.tar.xz
[PM] Fix the const-correctness of the generic DominatorTreeBase to
support notionally const queries even though they may trigger DFS numbering updates. The updating of DFS numbers and tracking of slow queries do not mutate the observable state of the domtree. They should be const to differentiate them from the APIs which mutate the tree directly to do incremental updates. This will make it possible in a world where the DominatorTree is not a pass but merely the result of running a pass to derive DominatorTree from the base class as it was originally designed, removing a huge duplication of API in DominatorTree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions