Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 15a3062

Browse files
committed
[WebAssembly] Rename except_ref type to exnref
Summary: We agreed to rename `except_ref` to `exnref` for consistency with other reference types in WebAssembly/exception-handling#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
1 parent 069aa4a commit 15a3062

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wasm/WriterUtils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ std::string lld::toString(ValType type) {
182182
return "f64";
183183
case ValType::V128:
184184
return "v128";
185-
case ValType::EXCEPT_REF:
186-
return "except_ref";
185+
case ValType::EXNREF:
186+
return "exnref";
187187
}
188188
llvm_unreachable("Invalid wasm::ValType");
189189
}

0 commit comments

Comments
 (0)