[llvm-commits] CVS: llvm/lib/Transforms/Utils/InlineFunction.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Dec 11 09:00:09 PST 2004
Changes in directory llvm/lib/Transforms/Utils:
InlineFunction.cpp updated: 1.28 -> 1.29
---
Log message:
The split bb is really the exit of the old function
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/Transforms/Utils/InlineFunction.cpp
diff -u llvm/lib/Transforms/Utils/InlineFunction.cpp:1.28 llvm/lib/Transforms/Utils/InlineFunction.cpp:1.29
--- llvm/lib/Transforms/Utils/InlineFunction.cpp:1.28 Sun Oct 17 18:21:07 2004
+++ llvm/lib/Transforms/Utils/InlineFunction.cpp Sat Dec 11 10:59:54 2004
@@ -237,14 +237,14 @@
// 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
More information about the llvm-commits
mailing list