[LCG] Refactor the duplicated code I added in my last commit here into
authorChandler Carruth <chandlerc@gmail.com>
Sat, 26 Apr 2014 01:03:46 +0000 (01:03 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 26 Apr 2014 01:03:46 +0000 (01:03 +0000)
commit64e1be4bf19b03b5961ab9dc4c65857b2561126d
tree06a1f384fe13b115544a350621238861de138822
parent96db9b8ed87e502801e3dda7d13896acd17d8128
[LCG] Refactor the duplicated code I added in my last commit here into
a helper function. Also factor the other two places where we did the
same thing into the helper function. =] Much cleaner this way. NFC.

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