diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-07-15 22:49:25 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2019-07-15 22:49:25 +0000 |
commit | 15a306219ce5425c77f0f2afb17870c89e560cae (patch) | |
tree | 05d782177ac51b72645d2a8f94f810247e64b5eb | |
parent | 069aa4ac7bb75e2fc50e1b92b0df48863a5d3471 (diff) |
[WebAssembly] Rename except_ref type to exnref
Summary:
We agreed to rename `except_ref` to `exnref` for consistency with other
reference types in
https://github.com/WebAssembly/exception-handling/issues/79. This also
renames WebAssemblyInstrExceptRef.td to WebAssemblyInstrRef.td in order
to use the file for other reference types in future.
Reviewers: dschuff
Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64703
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@366145 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | wasm/WriterUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wasm/WriterUtils.cpp b/wasm/WriterUtils.cpp index d45f6a4c7..913723c4b 100644 --- a/wasm/WriterUtils.cpp +++ b/wasm/WriterUtils.cpp @@ -182,8 +182,8 @@ std::string lld::toString(ValType type) { return "f64"; case ValType::V128: return "v128"; - case ValType::EXCEPT_REF: - return "except_ref"; + case ValType::EXNREF: + return "exnref"; } llvm_unreachable("Invalid wasm::ValType"); } |