[llvm-commits] CVS: llvm/tools/bugpoint/Miscompilation.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Apr 2 00:33:24 PST 2004
Changes in directory llvm/tools/bugpoint:
Miscompilation.cpp updated: 1.34 -> 1.35
---
Log message:
minor formatting change
---
Diffs of the changes: (+2 -3)
Index: llvm/tools/bugpoint/Miscompilation.cpp
diff -u llvm/tools/bugpoint/Miscompilation.cpp:1.34 llvm/tools/bugpoint/Miscompilation.cpp:1.35
--- llvm/tools/bugpoint/Miscompilation.cpp:1.34 Fri Apr 2 00:32:17 2004
+++ llvm/tools/bugpoint/Miscompilation.cpp Fri Apr 2 00:32:45 2004
@@ -275,9 +275,8 @@
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);
}
More information about the llvm-commits
mailing list