From 99c58f4910c898981f96f065065c3e47c94fec40 Mon Sep 17 00:00:00 2001 From: Alkis Evlogimenos Date: Wed, 26 May 2004 21:38:14 +0000 Subject: [PATCH] Use one destination constructor for the unconditional branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13792 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/UnifyFunctionExitNodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp b/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp index 064bba5dddd..89710edaf56 100644 --- a/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp +++ b/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp @@ -66,7 +66,7 @@ bool UnifyFunctionExitNodes::runOnFunction(Function &F) { E = UnwindingBlocks.end(); I != E; ++I) { BasicBlock *BB = *I; BB->getInstList().pop_back(); // Remove the return insn - new BranchInst(UnwindBlock, 0, 0, BB); + new BranchInst(UnwindBlock, BB); } } -- 2.34.1