[lld] r366145 - [WebAssembly] Rename except_ref type to exnref
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 15:49:25 PDT 2019
Author: aheejin
Date: Mon Jul 15 15:49:25 2019
New Revision: 366145
URL: http://llvm.org/viewvc/llvm-project?rev=366145&view=rev
Log:
[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
Modified:
lld/trunk/wasm/WriterUtils.cpp
Modified: lld/trunk/wasm/WriterUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/wasm/WriterUtils.cpp?rev=366145&r1=366144&r2=366145&view=diff
==============================================================================
--- lld/trunk/wasm/WriterUtils.cpp (original)
+++ lld/trunk/wasm/WriterUtils.cpp Mon Jul 15 15:49:25 2019
@@ -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");
}
More information about the llvm-commits
mailing list