From fa9e1fba8ccf73e1de13989c935ab5aa8168f5da Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Fri, 15 Sep 2017 22:01:22 +0000 Subject: Remove __builtin_wasm_rethrow builtin Summary: Remove `__builtin_wasm_rethrow` builtin. I thought it was required to implement `__cxa_rethrow` function in libcxxabi, but it turned out it will be using `__builtin_wasm_throw` instead. Reviewers: dschuff, jgravelle-google Reviewed By: jgravelle-google Subscribers: jfb, sbc100, jgravelle-google Differential Revision: https://reviews.llvm.org/D37931 llvm-svn: 313402 --- clang/test/CodeGen/builtins-wasm.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'clang/test/CodeGen/builtins-wasm.c') diff --git a/clang/test/CodeGen/builtins-wasm.c b/clang/test/CodeGen/builtins-wasm.c index e0f72d2e503..2361fdf40ce 100644 --- a/clang/test/CodeGen/builtins-wasm.c +++ b/clang/test/CodeGen/builtins-wasm.c @@ -20,9 +20,3 @@ void f3(unsigned int tag, void *obj) { // WEBASSEMBLY32: call void @llvm.wasm.throw(i32 %{{.*}}, i8* %{{.*}}) // WEBASSEMBLY64: call void @llvm.wasm.throw(i32 %{{.*}}, i8* %{{.*}}) } - -void f4() { - return __builtin_wasm_rethrow(); -// WEBASSEMBLY32: call void @llvm.wasm.rethrow() -// WEBASSEMBLY64: call void @llvm.wasm.rethrow() -} -- cgit v1.2.3