diff options
author | Owen Anderson <resistor@mac.com> | 2008-04-14 17:38:21 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-04-14 17:38:21 +0000 |
commit | 6bc41e8a74d1756da0003641bfebd02a3d6d9586 (patch) | |
tree | d2d4e62a2ddb8b054f15f0104d6defaca8e3019a /tools/bugpoint | |
parent | 9701c8a18fd3888d20f4cd8fcebc6bc99f005c0a (diff) | |
download | external_llvm-6bc41e8a74d1756da0003641bfebd02a3d6d9586.zip external_llvm-6bc41e8a74d1756da0003641bfebd02a3d6d9586.tar.gz external_llvm-6bc41e8a74d1756da0003641bfebd02a3d6d9586.tar.bz2 |
Revert r49614. As Dan pointed out, some of these aren't correct.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint')
-rw-r--r-- | tools/bugpoint/Miscompilation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index 47d90e5..536c3db 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -657,7 +657,7 @@ static void CleanupAndPrepareModules(BugDriver &BD, Module *&Test, for (Function::arg_iterator I = newMain->arg_begin(), E = newMain->arg_end(), OI = oldMain->arg_begin(); I != E; ++I, ++OI) { - I->takeName(OI); // Copy argument names from oldMain + I->setName(OI->getName()); // Copy argument names from oldMain args.push_back(I); } |