summaryrefslogtreecommitdiff
path: root/tools/bugpoint
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-08-12 17:25:45 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-08-12 17:25:45 +0000
commitb2c4eea9d0df33d2c5e6dcbba6b69ece7463d89d (patch)
treee96bbe530fbe2a7fe5708b421367eb0ae9abcfa9 /tools/bugpoint
parentc796ae1d68c92026be5d353584b514311cc3eb0d (diff)
downloadllvm-b2c4eea9d0df33d2c5e6dcbba6b69ece7463d89d.tar.gz
llvm-b2c4eea9d0df33d2c5e6dcbba6b69ece7463d89d.tar.bz2
llvm-b2c4eea9d0df33d2c5e6dcbba6b69ece7463d89d.tar.xz
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
Diffstat (limited to 'tools/bugpoint')
-rw-r--r--tools/bugpoint/Miscompilation.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp
index f0ba24014c..422ab62d82 100644
--- a/tools/bugpoint/Miscompilation.cpp
+++ b/tools/bugpoint/Miscompilation.cpp
@@ -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);
}