summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb24d5c6ce2b58318f21cc018fff398e18ff00565 (patch)
tree1a214676e17ee05a49dec1e01e69ab38f0bbc349 /llvm/lib/CodeGen/SjLjEHPrepare.cpp
parenta37af1622199d18ae7f7e5a0532ebfb0ac5b7aed (diff)
downloadbcm5719-llvm-b24d5c6ce2b58318f21cc018fff398e18ff00565.tar.gz
bcm5719-llvm-b24d5c6ce2b58318f21cc018fff398e18ff00565.zip
Add a FIXME
llvm-svn: 105282
Diffstat (limited to 'llvm/lib/CodeGen/SjLjEHPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/SjLjEHPrepare.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SjLjEHPrepare.cpp b/llvm/lib/CodeGen/SjLjEHPrepare.cpp
index e94d4d35381..825376d4676 100644
--- a/llvm/lib/CodeGen/SjLjEHPrepare.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud