|
@@ -31,8 +31,12 @@ def int_wasm_mem_grow : Intrinsic<[llvm_anyint_ty],
|
|
|
def int_wasm_current_memory : Intrinsic<[llvm_anyint_ty], [], [IntrReadMem]>;
|
|
|
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]>;
|
|
|
+//===----------------------------------------------------------------------===//
|
|
|
|
|
|
+// throw / rethrow
|
|
|
+def int_wasm_throw : Intrinsic<[], [llvm_i32_ty, llvm_ptr_ty],
|
|
|
+ [Throws, IntrNoReturn]>;
|
|
|
+def int_wasm_rethrow : Intrinsic<[], [], [Throws, IntrNoReturn]>;
|
|
|
}
|