summaryrefslogtreecommitdiff
path: root/tools/bugpoint/BugDriver.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-14 19:27:19 +0000
committerChris Lattner <sabre@nondot.org>2004-03-14 19:27:19 +0000
commitbe21ca54e08339ede5dd4bbb882182d22e274988 (patch)
tree3fc14c02ac5bbecec325cf6451f776ddefd91f82 /tools/bugpoint/BugDriver.cpp
parent39354c99a158685d8bc91b0836c283e936a29cb2 (diff)
downloadllvm-be21ca54e08339ede5dd4bbb882182d22e274988.tar.gz
llvm-be21ca54e08339ede5dd4bbb882182d22e274988.tar.bz2
llvm-be21ca54e08339ede5dd4bbb882182d22e274988.tar.xz
Refactor all of the "splitting a module into two pieces" code to avoid
code duplication. Also, don't use ReduceMiscompilingFunctions::TestFuncs to print out the final message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12387 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r--tools/bugpoint/BugDriver.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp
index c770299e4d..2c5cf24890 100644
--- a/tools/bugpoint/BugDriver.cpp
+++ b/tools/bugpoint/BugDriver.cpp
@@ -60,15 +60,6 @@ std::string llvm::getPassesString(const std::vector<const PassInfo*> &Passes) {
return Result;
}
-// DeleteFunctionBody - "Remove" the function by deleting all of its basic
-// blocks, making it external.
-//
-void llvm::DeleteFunctionBody(Function *F) {
- // delete the body of the function...
- F->deleteBody();
- assert(F->isExternal() && "This didn't make the function external!");
-}
-
BugDriver::BugDriver(const char *toolname)
: ToolName(toolname), ReferenceOutputFile(OutputFile),
Program(0), Interpreter(0), cbe(0), gcc(0) {}