summaryrefslogtreecommitdiff
path: root/tools/bugpoint/Miscompilation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-03-15 15:48:06 +0000
committerChris Lattner <sabre@nondot.org>2005-03-15 15:48:06 +0000
commit852b4d4bf4aa6b80298a60f76092b80c8bd1efad (patch)
tree022be3ecf6bd9548da544b741bc59eaa4ffcd488 /tools/bugpoint/Miscompilation.cpp
parent7db7fa0828bc4ac375032a847b3fd530cef131e2 (diff)
downloadllvm-852b4d4bf4aa6b80298a60f76092b80c8bd1efad.tar.gz
llvm-852b4d4bf4aa6b80298a60f76092b80c8bd1efad.tar.bz2
llvm-852b4d4bf4aa6b80298a60f76092b80c8bd1efad.tar.xz
Replace more a*'s with arg_*'s, thanks to Gabor Greif!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/Miscompilation.cpp')
-rw-r--r--tools/bugpoint/Miscompilation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp
index 31b75d0300..e72563be53 100644
--- a/tools/bugpoint/Miscompilation.cpp
+++ b/tools/bugpoint/Miscompilation.cpp
@@ -232,7 +232,7 @@ static void DisambiguateGlobalSymbols(Module *M) {
// mangler is used by the two code generators), but having symbols with the
// same name causes warnings to be emitted by the code generator.
Mangler Mang(*M);
- for (Module::giterator I = M->gbegin(), E = M->gend(); I != E; ++I)
+ for (Module::global_iterator I = M->global_begin(), E = M->global_end(); I != E; ++I)
I->setName(Mang.getValueName(I));
for (Module::iterator I = M->begin(), E = M->end(); I != E; ++I)
I->setName(Mang.getValueName(I));