llvm.org GIT mirror llvm / f112c71
[WebAssembly] Add IntrNoReturn property to throw/rethrow intrinsics Reviewers: dschuff Subscribers: jfb, sbc100, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D43740 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326984 91177308-0d34-0410-b5e6-96231b3b80d8 Heejin Ahn 2 years ago
1 changed file(s) with 6 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3030 def int_wasm_current_memory : Intrinsic<[llvm_anyint_ty], [], [IntrReadMem]>;
3131 def int_wasm_grow_memory : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>], []>;
3232
33 //===----------------------------------------------------------------------===//
3334 // Exception handling intrinsics
34 def int_wasm_throw: Intrinsic<[], [llvm_i32_ty, llvm_ptr_ty], [Throws]>;
35 def int_wasm_rethrow: Intrinsic<[], [], [Throws]>;
35 //===----------------------------------------------------------------------===//
3636
37 // throw / rethrow
38 def int_wasm_throw : Intrinsic<[], [llvm_i32_ty, llvm_ptr_ty],
39 [Throws, IntrNoReturn]>;
40 def int_wasm_rethrow : Intrinsic<[], [], [Throws, IntrNoReturn]>;
3741 }