diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-20 18:25:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-20 18:25:24 +0000 |
commit | 2af517281d6c36313f7ff74337a84c4fac716dbb (patch) | |
tree | f6d420f010d81c3328601e8073f8a573831d4223 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 63a0ccff4496816a6774c1370237dd29c7062b09 (diff) | |
download | bcm5719-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.cpp | 2 |
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(); |