summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-20 18:25:24 +0000
committerChris Lattner <sabre@nondot.org>2003-11-20 18:25:24 +0000
commit2af517281d6c36313f7ff74337a84c4fac716dbb (patch)
treef6d420f010d81c3328601e8073f8a573831d4223 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent63a0ccff4496816a6774c1370237dd29c7062b09 (diff)
downloadbcm5719-llvm-2af517281d6c36313f7ff74337a84c4fac716dbb.tar.gz
bcm5719-llvm-2af517281d6c36313f7ff74337a84c4fac716dbb.zip
Start using the nicer terminator auto-insertion API
llvm-svn: 10111
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/InlineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index 265d5c419ac..a0fc9bf1cff 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -238,7 +238,7 @@ bool InlineFunction(CallSite CS) {
// invoke site. Once this happens, we know that the unwind would cause
// a control transfer to the invoke exception destination, so we can
// transform it into a direct branch to the exception destination.
- BranchInst *BI = new BranchInst(InvokeDest, UI);
+ new BranchInst(InvokeDest, UI);
// Delete the unwind instruction!
UI->getParent()->getInstList().pop_back();
OpenPOWER on IntegriCloud