some methods got renamed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-03-20 02:40:04 +00:00
parent 9454dda28a
commit bf30e7268c

View File

@ -1088,9 +1088,9 @@ bool LocalDataStructures::runOnModule(Module &M) {
// together the globals into equivalence classes.
for (DSGraph::node_iterator I = GlobalsGraph->node_begin(),
E = GlobalsGraph->node_end(); I != E; ++I)
if (I->getGlobals().size() > 1) {
if (I->getGlobalsList().size() > 1) {
// First, build up the equivalence set for this block of globals.
const std::vector<GlobalValue*> &GVs = I->getGlobals();
const std::vector<GlobalValue*> &GVs = I->getGlobalsList();
GlobalValue *First = GVs[0];
for (unsigned i = 1, e = GVs.size(); i != e; ++i)
GlobalECs.unionSets(First, GVs[i]);