Fix an incorrect prototype for this intrinsic, fixing
authorChris Lattner <sabre@nondot.org>
Thu, 13 Apr 2006 18:23:48 +0000 (18:23 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 13 Apr 2006 18:23:48 +0000 (18:23 +0000)
CFrontend/2003-08-18-SigSetJmp.c  with llvm-gcc3.  This is part of PR733.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27670 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Intrinsics.td

index 63da44960bf314e28d0fc08cb0add764f3118b4f..3b1fae3be30d29be01d5b3b7425d3f8797c2693c 100644 (file)
@@ -176,7 +176,7 @@ let Properties = [IntrNoMem] in {
 // NOTE: these are internal interfaces.
 def int_setjmp     : Intrinsic<[llvm_int_ty , llvm_ptr_ty]>;
 def int_longjmp    : Intrinsic<[llvm_void_ty, llvm_ptr_ty, llvm_int_ty]>;
-def int_sigsetjmp  : Intrinsic<[llvm_int_ty , llvm_ptr_ty]>;
+def int_sigsetjmp  : Intrinsic<[llvm_int_ty , llvm_ptr_ty, llvm_int_ty]>;
 def int_siglongjmp : Intrinsic<[llvm_void_ty, llvm_ptr_ty, llvm_int_ty]>;
 
 //===-------------------- Bit Manipulation Intrinsics ---------------------===//