diff options
author | Heejin Ahn <aheejin@gmail.com> | 2017-09-16 01:07:43 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2017-09-16 01:07:43 +0000 |
commit | f6dda016eefbf589e41a5015a17f03996fdf70bb (patch) | |
tree | 78adbb08501393fd60d468074b50cce6b6d0a6a5 /include/clang/Basic/BuiltinsWebAssembly.def | |
parent | 893d8dc5ec7eb1ab21cfe1b0c6acaf6429de58b5 (diff) |
[WebAssembly] Restore __builtin_wasm_rethrow builtin
Summary:
Restore the `__builtin_wasm_rethrow` builtin deleted in D37931. On second
thought, it appears it can be used to implement `__cxa_rethrow`.
Reviewers: dschuff, sunfish
Reviewed By: dschuff
Subscribers: jfb, sbc100, jgravelle-google
Differential Revision: https://reviews.llvm.org/D37942
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@313430 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/BuiltinsWebAssembly.def')
-rw-r--r-- | include/clang/Basic/BuiltinsWebAssembly.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/BuiltinsWebAssembly.def b/include/clang/Basic/BuiltinsWebAssembly.def index e9d8ea6325..19318dcebb 100644 --- a/include/clang/Basic/BuiltinsWebAssembly.def +++ b/include/clang/Basic/BuiltinsWebAssembly.def @@ -23,5 +23,6 @@ BUILTIN(__builtin_wasm_grow_memory, "zz", "n") // Exception handling builtins. BUILTIN(__builtin_wasm_throw, "vUiv*", "r") +BUILTIN(__builtin_wasm_rethrow, "v", "r") #undef BUILTIN |