mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
Fix bugpoint fallout from the new type system.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c796ae1d68
commit
b2c4eea9d0
@ -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…
Reference in New Issue
Block a user