summaryrefslogtreecommitdiffstats
path: root/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-06-09 20:06:24 +0000
committerJohn McCall <rjmccall@apple.com>2011-06-09 20:06:24 +0000
commitfc1ca36866073875c07e5722a04216184f0cde31 (patch)
tree7a61d949151fca13e3b4025d5a14247e3cc99518 /llvm/examples/HowToUseJIT/HowToUseJIT.cpp
parent73f93930e0a460bd154171a41932a3c230843b4a (diff)
downloadbcm5719-llvm-fc1ca36866073875c07e5722a04216184f0cde31.tar.gz
bcm5719-llvm-fc1ca36866073875c07e5722a04216184f0cde31.zip
SplitCriticalEdge can sometimes split the edge from an invoke to a landing
pad, separating the exception and selector calls from the new lpad. Teaching it not to do that, or to properly adjust the CFG afterwards, is out of scope because it would require the other edges to the landing pad to be split as well (effectively). Instead, just recover from the most likely cases during inlining. The best long-term solution is to change the exception representation and commit to either requiring or not requiring the more complex edge-splitting logic; this is just a shorter-term hack. llvm-svn: 132799
Diffstat (limited to 'llvm/examples/HowToUseJIT/HowToUseJIT.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud