mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Fix bugpoint fallout from the new type system.
llvm-svn: 137467
This commit is contained in:
parent
5703db96f2
commit
4d55409980
@ -411,8 +411,6 @@ static bool ExtractLoops(BugDriver &BD,
|
||||
Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first);
|
||||
|
||||
assert(NewF && "Function not found??");
|
||||
assert(NewF->getFunctionType() == MisCompFunctions[i].second &&
|
||||
"found wrong function type?");
|
||||
MiscompiledFunctions.push_back(NewF);
|
||||
}
|
||||
|
||||
@ -593,8 +591,6 @@ static bool ExtractBlocks(BugDriver &BD,
|
||||
for (unsigned i = 0, e = MisCompFunctions.size(); i != e; ++i) {
|
||||
Function *NewF = ProgClone->getFunction(MisCompFunctions[i].first);
|
||||
assert(NewF && "Function not found??");
|
||||
assert(NewF->getFunctionType() == MisCompFunctions[i].second &&
|
||||
"Function has wrong type??");
|
||||
MiscompiledFunctions.push_back(NewF);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user