diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-03-19 04:58:59 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2019-03-19 04:58:59 +0000 |
commit | db1579bf88f1a45d81d3648745067afa4ac95956 (patch) | |
tree | 1e4b6c6e02b805b60ff69dd2fdf52cc6f9d46ce8 /include/clang/Basic/BuiltinsWebAssembly.def | |
parent | bada7f5143e28101db8a88252bdb5cd56f0c417e (diff) | |
download | clang-db1579bf88f1a45d81d3648745067afa4ac95956.tar.gz |
[WebAssembly] Change wasm.throw's first argument to an immediate
Summary:
`wasm.throw` builtin's first 'tag' argument should be an immediate index
into the event section.
Reviewers: dschuff, craig.topper
Subscribers: sbc100, jgravelle-google, sunfish, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D59448
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/BuiltinsWebAssembly.def')
-rw-r--r-- | include/clang/Basic/BuiltinsWebAssembly.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/BuiltinsWebAssembly.def b/include/clang/Basic/BuiltinsWebAssembly.def index e109ee620b..57ebb27ab4 100644 --- a/include/clang/Basic/BuiltinsWebAssembly.def +++ b/include/clang/Basic/BuiltinsWebAssembly.def @@ -36,7 +36,7 @@ BUILTIN(__builtin_wasm_min_f64, "ddd", "nc") BUILTIN(__builtin_wasm_max_f64, "ddd", "nc") // Exception handling builtins. -TARGET_BUILTIN(__builtin_wasm_throw, "vUiv*", "r", "exception-handling") +TARGET_BUILTIN(__builtin_wasm_throw, "vIUiv*", "r", "exception-handling") TARGET_BUILTIN(__builtin_wasm_rethrow_in_catch, "v", "r", "exception-handling") // Atomic wait and notify. |