mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-05 00:59:19 +00:00
Don't carry over the dispatchsetup hack from the old system.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141040 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
68259145d9
commit
f8520d564c
@ -849,13 +849,7 @@ bool SjLjEHPass::setupEntryBlockAndCallSites(Function &F) {
|
||||
CastInst::Create(Instruction::BitCast, JBufPtr,
|
||||
Type::getInt8PtrTy(F.getContext()), "",
|
||||
EntryBB->getTerminator());
|
||||
Value *DispatchVal = CallInst::Create(BuiltinSetjmpFn, SetjmpArg,
|
||||
"dispatch",
|
||||
EntryBB->getTerminator());
|
||||
|
||||
// Add a call to dispatch_setup after the setjmp call. This is expanded to any
|
||||
// target-specific setup that needs to be done.
|
||||
CallInst::Create(DispatchSetupFn, DispatchVal, "", EntryBB->getTerminator());
|
||||
CallInst::Create(BuiltinSetjmpFn, SetjmpArg, "", EntryBB->getTerminator());
|
||||
|
||||
// Store a pointer to the function context so that the back-end will know
|
||||
// where to look for it.
|
||||
|
Loading…
x
Reference in New Issue
Block a user