summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit567543f09ef3a588fccffbe91873f3cdbfbc95b9 (patch)
tree5b16749b7edc8fe2aaa61c605485f379d2417092 /llvm/tools/bugpoint/BugDriver.cpp
parent48da2f8a6d7e7d21657f7f81f116a7e4263119c9 (diff)
downloadbcm5719-llvm-567543f09ef3a588fccffbe91873f3cdbfbc95b9.tar.gz
bcm5719-llvm-567543f09ef3a588fccffbe91873f3cdbfbc95b9.zip
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. llvm-svn: 12387
Diffstat (limited to 'llvm/tools/bugpoint/BugDriver.cpp')
-rw-r--r--llvm/tools/bugpoint/BugDriver.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/tools/bugpoint/BugDriver.cpp b/llvm/tools/bugpoint/BugDriver.cpp
index c770299e4d9..2c5cf24890f 100644
--- a/llvm/tools/bugpoint/BugDriver.cpp
+++ b/llvm/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) {}
OpenPOWER on IntegriCloud