[PATCH] D43740: [WebAssembly] Add IntrNoReturn property to throw/rethrow intrinsics
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 25 05:59:18 PST 2018
aheejin updated this revision to Diff 135819.
aheejin added a comment.
- style change
Repository:
rL LLVM
https://reviews.llvm.org/D43740
Files:
include/llvm/IR/IntrinsicsWebAssembly.td
Index: include/llvm/IR/IntrinsicsWebAssembly.td
===================================================================
--- include/llvm/IR/IntrinsicsWebAssembly.td
+++ include/llvm/IR/IntrinsicsWebAssembly.td
@@ -32,7 +32,9 @@
def int_wasm_grow_memory : Intrinsic<[llvm_anyint_ty], [LLVMMatchType<0>], []>;
// Exception handling intrinsics
-def int_wasm_throw: Intrinsic<[], [llvm_i32_ty, llvm_ptr_ty], [Throws]>;
-def int_wasm_rethrow: Intrinsic<[], [], [Throws]>;
+def int_wasm_throw : Intrinsic<[],
+ [llvm_i32_ty, llvm_ptr_ty],
+ [Throws, IntrNoReturn]>;
+def int_wasm_rethrow : Intrinsic<[], [], [Throws, IntrNoReturn]>;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43740.135819.patch
Type: text/x-patch
Size: 692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180225/ef252748/attachment.bin>
More information about the llvm-commits
mailing list