From 852b4d4bf4aa6b80298a60f76092b80c8bd1efad Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 15 Mar 2005 15:48:06 +0000 Subject: 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 --- tools/bugpoint/CrashDebugger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/bugpoint/CrashDebugger.cpp') diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp index a8e5e98f25..4d8011df28 100644 --- a/tools/bugpoint/CrashDebugger.cpp +++ b/tools/bugpoint/CrashDebugger.cpp @@ -265,10 +265,10 @@ static bool DebugACrash(BugDriver &BD, bool (*TestFn)(BugDriver &, Module *)) { // See if we can get away with nuking all of the global variable initializers // in the program... - if (BD.getProgram()->gbegin() != BD.getProgram()->gend()) { + if (BD.getProgram()->global_begin() != BD.getProgram()->global_end()) { Module *M = CloneModule(BD.getProgram()); bool DeletedInit = false; - 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) if (I->hasInitializer()) { I->setInitializer(0); I->setLinkage(GlobalValue::ExternalLinkage); -- cgit v1.2.3