some methods got renamed

llvm-svn: 20703
This commit is contained in:
Chris Lattner 2005-03-20 02:40:04 +00:00
parent 711e083c26
commit e7a8e8677e
1 changed files with 2 additions and 2 deletions

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]);