llvm.org GIT mirror llvm / bfa9646
As it turns out, things will be simpler than I first expected. We no longer need any exception handling intrinsics beyond llvm.unwind. (yaay) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8145 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
3 changed file(s) with 0 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
2222 va_copy, // Used to represent a va_copy call in C
2323
2424 unwind, // Unwind stack until containing invoke is found
25
26 // Exception handling intrinsics...
27 exc_setcurrent, // Set the current pending exception
28 exc_getcurrent, // Get the current pending exception
2925
3026 // Setjmp/Longjmp intrinsics...
3127 setjmp, // Used to represent a setjmp call in C
194194 if (getName() == alpha_intrinsics[i].name)
195195 return alpha_intrinsics[i].id;
196196 break;
197 case 'e':
198 if (getName() == "llvm.exc.getcurrent")return LLVMIntrinsic::exc_getcurrent;
199 if (getName() == "llvm.exc.setcurrent")return LLVMIntrinsic::exc_setcurrent;
200 break;
201197 case 'l':
202198 if (getName() == "llvm.longjmp") return LLVMIntrinsic::longjmp;
203199 break;
522522 case LLVMIntrinsic::va_copy: NumArgs = 2; break;
523523
524524 case LLVMIntrinsic::unwind: NumArgs = 0; break;
525 case LLVMIntrinsic::exc_setcurrent: NumArgs = 1; break;
526 case LLVMIntrinsic::exc_getcurrent: NumArgs = 0; break;
527525
528526 case LLVMIntrinsic::setjmp: NumArgs = 1; break;
529527 case LLVMIntrinsic::longjmp: NumArgs = 2; break;