add setJumpBufSize() and setJumpBufAlignment() to target-lowering.

Call these from your backend to enjoy setjmp/longjmp goodness, see
lib/Target/IA64/IA64ISelLowering.cpp for an example


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30095 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duraid Madina
2006-09-04 06:21:35 +00:00
parent 362b3680c1
commit 2a0013f59f
5 changed files with 47 additions and 14 deletions
+1 -2
View File
@@ -286,8 +286,7 @@ FunctionPass *createLowerPackedPass();
// "my LLVM-to-LLVM pass doesn't support the invoke instruction yet" lowering
// pass.
//
FunctionPass *createLowerInvokePass(unsigned JumBufSize = 200,
unsigned JumpBufAlign = 0);
FunctionPass *createLowerInvokePass(const TargetLowering *TLI = NULL);
extern const PassInfo *LowerInvokePassID;