summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-06-01 18:06:35 +0000
committerJim Grosbach <grosbach@apple.com>2010-06-01 18:06:35 +0000
commit2f3257ef04a40adfeb6440d1b02f7bbfee0dd4fc (patch)
tree671747747d5b28f49138caeefe1e729ee8679b41 /lib
parent0fd8b6283f74464e46b1c47138d13b1624dbd7a3 (diff)
downloadllvm-2f3257ef04a40adfeb6440d1b02f7bbfee0dd4fc.tar.gz
llvm-2f3257ef04a40adfeb6440d1b02f7bbfee0dd4fc.tar.bz2
llvm-2f3257ef04a40adfeb6440d1b02f7bbfee0dd4fc.tar.xz
Add a FIXME
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SjLjEHPrepare.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SjLjEHPrepare.cpp b/lib/CodeGen/SjLjEHPrepare.cpp
index e94d4d3538..825376d467 100644
--- a/lib/CodeGen/SjLjEHPrepare.cpp
+++ b/lib/CodeGen/SjLjEHPrepare.cpp
@@ -179,6 +179,8 @@ static void MarkBlocksLiveIn(BasicBlock *BB, std::set<BasicBlock*> &LiveBBs) {
/// we spill into a stack location, guaranteeing that there is nothing live
/// across the unwind edge. This process also splits all critical edges
/// coming out of invoke's.
+/// FIXME: Move this function to a common utility file (Local.cpp?) so
+/// both SjLj and LowerInvoke can use it.
void SjLjEHPass::
splitLiveRangesLiveAcrossInvokes(SmallVector<InvokeInst*,16> &Invokes) {
// First step, split all critical edges from invoke instructions.