remove obsolete comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93661 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-01-16 21:34:51 +00:00
parent 8abfb8adb2
commit 1ffb33d033

View File

@ -238,16 +238,13 @@ bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*>&Funcs){
/// ///
static void DisambiguateGlobalSymbols(Module *M) { static void DisambiguateGlobalSymbols(Module *M) {
for (Module::global_iterator I = M->global_begin(), E = M->global_end(); for (Module::global_iterator I = M->global_begin(), E = M->global_end();
I != E; ++I) { I != E; ++I)
// Don't mangle asm names.
if (!I->hasName()) if (!I->hasName())
I->setName("anon_global"); I->setName("anon_global");
} for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I)
for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I) {
if (!I->hasName()) if (!I->hasName())
I->setName("anon_fn"); I->setName("anon_fn");
} }
}
/// ExtractLoops - Given a reduced list of functions that still exposed the bug, /// ExtractLoops - Given a reduced list of functions that still exposed the bug,
/// check to see if we can extract the loops in the region without obscuring the /// check to see if we can extract the loops in the region without obscuring the