aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SjLjEHPrepare.cpp
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
commit03d478c3834bcfc03a2527c6c9c7879b80119b8a (patch)
tree671747747d5b28f49138caeefe1e729ee8679b41 /lib/CodeGen/SjLjEHPrepare.cpp
parent8bbac7d3b3d5811e0c74a4c55142cd7b79f5c44c (diff)
downloadexternal_llvm-03d478c3834bcfc03a2527c6c9c7879b80119b8a.zip
external_llvm-03d478c3834bcfc03a2527c6c9c7879b80119b8a.tar.gz
external_llvm-03d478c3834bcfc03a2527c6c9c7879b80119b8a.tar.bz2
Add a FIXME
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105282 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SjLjEHPrepare.cpp')
-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 e94d4d3..825376d 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.