diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-10-03 22:42:40 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-10-03 22:42:40 +0000 |
commit | 97a8695fff3c53eac4e3b3f242275100eecf986f (patch) | |
tree | fbcef557551df726b9bb575e82e34042cfaf53b0 /llvm | |
parent | 3dc26e839c2458a897f2372e162f5c20b959900b (diff) | |
download | bcm5719-llvm-97a8695fff3c53eac4e3b3f242275100eecf986f.tar.gz bcm5719-llvm-97a8695fff3c53eac4e3b3f242275100eecf986f.zip |
Don't carry over the dispatchsetup hack from the old system.
llvm-svn: 141040
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/CodeGen/SjLjEHPrepare.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/SjLjEHPrepare.cpp b/llvm/lib/CodeGen/SjLjEHPrepare.cpp index 127ebcf6606..76b327a8eb2 100644 --- a/llvm/lib/CodeGen/SjLjEHPrepare.cpp +++ b/llvm/lib/CodeGen/SjLjEHPrepare.cpp @@ -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. |