diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-12-11 16:59:54 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-12-11 16:59:54 +0000 |
| commit | ffefea0772f1e0e795b81289b4a123af8247807d (patch) | |
| tree | 9b8bfcdeeaaaccc2d122370e0d6dd96fd75c10b6 /llvm/lib/Transforms | |
| parent | 8f72ce0fd252d1d75d8f27c144dad0a225edb8f6 (diff) | |
| download | bcm5719-llvm-ffefea0772f1e0e795b81289b4a123af8247807d.tar.gz bcm5719-llvm-ffefea0772f1e0e795b81289b4a123af8247807d.zip | |
The split bb is really the exit of the old function
llvm-svn: 18799
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Utils/InlineFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp index 77cf111b075..1384022be75 100644 --- a/llvm/lib/Transforms/Utils/InlineFunction.cpp +++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp @@ -237,14 +237,14 @@ bool llvm::InlineFunction(CallSite CS) { // updated due to new incoming edges, and make the invoke case more // symmetric to the call case. AfterCallBB = OrigBB->splitBasicBlock(NewBr, - CalledFunc->getName()+".entry"); + CalledFunc->getName()+".exit"); } else { // It's a call // If this is a call instruction, we need to split the basic block that // the call lives in. // AfterCallBB = OrigBB->splitBasicBlock(TheCall, - CalledFunc->getName()+".entry"); + CalledFunc->getName()+".exit"); } // Change the branch that used to go to AfterCallBB to branch to the first |

