OSDN Git Service

Fix another broken intrinsic.
authorChris Lattner <sabre@nondot.org>
Fri, 10 Mar 2006 18:01:03 +0000 (18:01 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Mar 2006 18:01:03 +0000 (18:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26696 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Intrinsics.td

index 9581932..dd716a8 100644 (file)
@@ -113,7 +113,7 @@ def int_gcwrite : Intrinsic<[llvm_void_ty, llvm_ptr_ty, llvm_ptrptr_ty],
 def int_returnaddress : Intrinsic<[llvm_ptr_ty, llvm_uint_ty], [InstrNoMem]>;
 def int_frameaddress  : Intrinsic<[llvm_ptr_ty, llvm_uint_ty], [InstrNoMem]>;
 def int_stacksave     : Intrinsic<[llvm_ptr_ty]>;
-def int_stackrestore  : Intrinsic<[llvm_ptr_ty]>;
+def int_stackrestore  : Intrinsic<[llvm_void_ty, llvm_ptr_ty]>;
 def int_prefetch      : Intrinsic<[llvm_void_ty, llvm_ptr_ty, 
                                    llvm_uint_ty, llvm_uint_ty]>;
 def int_pcmarker      : Intrinsic<[llvm_void_ty, llvm_uint_ty]>;