remove obsolete comment.
authorChris Lattner <sabre@nondot.org>
Sat, 16 Jan 2010 21:34:51 +0000 (21:34 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 16 Jan 2010 21:34:51 +0000 (21:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93661 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/Miscompilation.cpp

index 4c184d64a6392a6a9bb17cfc861a75f0e1721891..c2b002f9dd5c11bb6461ebb3f0dea04c5160c341 100644 (file)
@@ -238,15 +238,12 @@ bool ReduceMiscompilingFunctions::TestFuncs(const std::vector<Function*>&Funcs){
 ///
 static void DisambiguateGlobalSymbols(Module *M) {
   for (Module::global_iterator I = M->global_begin(), E = M->global_end();
-       I != E; ++I) {
-    // Don't mangle asm names.
+       I != E; ++I)
     if (!I->hasName())
       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())
       I->setName("anon_fn");
-  }
 }
 
 /// ExtractLoops - Given a reduced list of functions that still exposed the bug,