OSDN Git Service

[LCG] Clean up and make NDEBUG verify calls more rigorous with
authorChandler Carruth <chandlerc@gmail.com>
Sun, 4 Sep 2016 08:34:31 +0000 (08:34 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 4 Sep 2016 08:34:31 +0000 (08:34 +0000)
commit34a0f7afe32a69a82db4a6d10a4d2753e2d7f50b
tree7970e071d780649d31cd6961f03d4dfd0ce8991c
parent443069cec2bed4fb1d4be84db3508e25648d7729
[LCG] Clean up and make NDEBUG verify calls more rigorous with
make_scope_exit now that we have that utility.

This makes the code much more clear and readable by isolating the check.
It also makes it easy to go through and make sure all the interesting
update routines have a start and end verify so we don't slowly let the
graph drift into an invalid state.

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