summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ExtractFunction.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2016-06-29 00:26:21 +0000
committerPhilip Reames <listmail@philipreames.com>2016-06-29 00:26:21 +0000
commit78153a6d6e0d073ac54c0a6a39bbeeb0102bd4d4 (patch)
tree85159318e6d365ec251ac1a6596935378cfb52d3 /llvm/tools/bugpoint/ExtractFunction.cpp
parent29e641cd26eafb1e0f3a43116043d45e1126135e (diff)
downloadbcm5719-llvm-78153a6d6e0d073ac54c0a6a39bbeeb0102bd4d4.tar.gz
bcm5719-llvm-78153a6d6e0d073ac54c0a6a39bbeeb0102bd4d4.zip
[bugpoint] Simplify code by moving exception to only caller
llvm-svn: 274083
Diffstat (limited to 'llvm/tools/bugpoint/ExtractFunction.cpp')
-rw-r--r--llvm/tools/bugpoint/ExtractFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/bugpoint/ExtractFunction.cpp b/llvm/tools/bugpoint/ExtractFunction.cpp
index ae202c3f77e..de596a57d83 100644
--- a/llvm/tools/bugpoint/ExtractFunction.cpp
+++ b/llvm/tools/bugpoint/ExtractFunction.cpp
@@ -411,7 +411,7 @@ BugDriver::extractMappedBlocksFromModule(const std::vector<BasicBlock *> &BBs,
std::vector<std::string> PI;
PI.push_back("extract-blocks");
- std::unique_ptr<Module> Ret = runPassesOn(M, PI, false, 1, &ExtraArg);
+ std::unique_ptr<Module> Ret = runPassesOn(M, PI, 1, &ExtraArg);
sys::fs::remove(Filename.c_str());
OpenPOWER on IntegriCloud