From ec5b2f9597c9dd6ff5f7deb1aa640daa109876e0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 2 Apr 2004 06:32:45 +0000 Subject: [PATCH] minor formatting change llvm-svn: 12606 --- tools/bugpoint/Miscompilation.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index 043d0df4139..0913caeb366 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -275,9 +275,8 @@ static bool ExtractLoops(BugDriver &BD, for (Module::iterator I = ToOptimizeLoopExtracted->begin(), E = ToOptimizeLoopExtracted->end(); I != E; ++I) { if (!I->isExternal()) { - Function *OldF = I; - Function *NewF = - ToNotOptimize->getFunction(OldF->getName(), OldF->getFunctionType()); + Function *NewF = ToNotOptimize->getFunction(I->getName(), + I->getFunctionType()); assert(NewF && "Function not found??"); MiscompiledFunctions.push_back(NewF); }