diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-16 21:34:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-16 21:34:51 +0000 |
commit | 1ffb33d033d3593ded0adb08b05eb455cce59ea8 (patch) | |
tree | b2cd0ea79052e6d3137f9563a759ba7673ebfe2b | |
parent | 8abfb8adb2f383cab46a5e8b9fca4301effd8140 (diff) |
remove obsolete comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93661 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/bugpoint/Miscompilation.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index 4c184d64a6..c2b002f9dd 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -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, |