Add a FIXME
authorJim Grosbach <grosbach@apple.com>
Tue, 1 Jun 2010 18:06:35 +0000 (18:06 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 1 Jun 2010 18:06:35 +0000 (18:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105282 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SjLjEHPrepare.cpp

index e94d4d35381240100245596e444e907e15389b46..825376d46766e05bf7b1e2083542cbcf4f6f0177 100644 (file)
@@ -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.