aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SplitKit.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-03-03 23:14:05 +0000
committerBill Wendling <isanbard@gmail.com>2011-03-03 23:14:05 +0000
commitf3658f3872933fa36220d4c5645fbc035e9885ff (patch)
tree9272497ab1bd4dacba94907824832b6d60c4fd7d /llvm/lib/CodeGen/SplitKit.cpp
parentf5d23beff76b1a74bf28a4daafde0e06404a1b81 (diff)
downloadllvm-f3658f3872933fa36220d4c5645fbc035e9885ff.zip
llvm-f3658f3872933fa36220d4c5645fbc035e9885ff.tar.gz
llvm-f3658f3872933fa36220d4c5645fbc035e9885ff.tar.bz2
There are times when the landing pad won't have a call to 'eh.selector' in
it. It's been assumed up til now that it would be in its immediate successor. However, this isn't necessarily the case. It could be in one of its successor's successors. Modify the code to more thoroughly check for an 'eh.selector' call in successors. It only looks at a successor if we get there as a result of an unconditional branch. Testcase ObjC/exceptions-4.m in r126968. llvm-svn: 126969
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions