OSDN Git Service

[LCG] Rather than walking the directed graph structure to update graph
authorChandler Carruth <chandlerc@gmail.com>
Sat, 5 Aug 2017 03:37:39 +0000 (03:37 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 5 Aug 2017 03:37:39 +0000 (03:37 +0000)
commite9f7200d87bfcb8b5d710ca001b6e26940bdffed
tree01283d2da57a5822472461bdc7c07823fe6dcb70
parentfa104687bc75dcb526056e47af5915f99c882da3
[LCG] Rather than walking the directed graph structure to update graph
pointers in node objects, just walk the map from function to node.

It doesn't have stable ordering, but works just as well and is much
simpler. We don't need ordering when just updating internal pointers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310163 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/LazyCallGraph.cpp