mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
minor formatting change
llvm-svn: 12606
This commit is contained in:
parent
950f3fac90
commit
ec5b2f9597
@ -275,9 +275,8 @@ static bool ExtractLoops(BugDriver &BD,
|
|||||||
for (Module::iterator I = ToOptimizeLoopExtracted->begin(),
|
for (Module::iterator I = ToOptimizeLoopExtracted->begin(),
|
||||||
E = ToOptimizeLoopExtracted->end(); I != E; ++I) {
|
E = ToOptimizeLoopExtracted->end(); I != E; ++I) {
|
||||||
if (!I->isExternal()) {
|
if (!I->isExternal()) {
|
||||||
Function *OldF = I;
|
Function *NewF = ToNotOptimize->getFunction(I->getName(),
|
||||||
Function *NewF =
|
I->getFunctionType());
|
||||||
ToNotOptimize->getFunction(OldF->getName(), OldF->getFunctionType());
|
|
||||||
assert(NewF && "Function not found??");
|
assert(NewF && "Function not found??");
|
||||||
MiscompiledFunctions.push_back(NewF);
|
MiscompiledFunctions.push_back(NewF);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user