mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
back this out for now. Growing Function is not good.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94097 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -474,10 +474,8 @@ bool SjLjEHPass::insertSjLjEHSupport(Function &F) {
|
||||
// At this point, we are all set up, update the invoke instructions
|
||||
// to mark their call_site values, and fill in the dispatch switch
|
||||
// accordingly.
|
||||
for (unsigned i = 0, e = Invokes.size(); i != e; ++i) {
|
||||
F.setCallSiteNumber(Invokes[i], i+1);
|
||||
for (unsigned i = 0, e = Invokes.size(); i != e; ++i)
|
||||
markInvokeCallSite(Invokes[i], i+1, CallSite, DispatchSwitch);
|
||||
}
|
||||
|
||||
// The front end has likely added calls to _Unwind_Resume. We need
|
||||
// to find those calls and mark the call_site as -1 immediately prior.
|
||||
|
||||
Reference in New Issue
Block a user