summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-07-15 22:49:25 +0000
committerHeejin Ahn <aheejin@gmail.com>2019-07-15 22:49:25 +0000
commit9f96a58cccb63110ca9515644c454620c86c566d (patch)
tree177627ee6e16992d4466cce9b1e0fb3c0588cc01 /llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
parentc9e3c8301446f20efef6721dd3a05f2f9da217d8 (diff)
downloadbcm5719-llvm-9f96a58cccb63110ca9515644c454620c86c566d.tar.gz
bcm5719-llvm-9f96a58cccb63110ca9515644c454620c86c566d.zip
[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 llvm-svn: 366145
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
index 31ba6f0e4c2..a120a647101 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
@@ -834,9 +834,9 @@ bool WebAssemblyRegStackify::runOnMachineFunction(MachineFunction &MF) {
// entering blocks, which is a part of multi-value proposal.
//
// Once we support live-in values of wasm blocks, this can be:
- // catch ; push except_ref value onto stack
- // block except_ref -> i32
- // br_on_exn $__cpp_exception ; pop the except_ref value
+ // catch ; push exnref value onto stack
+ // block exnref -> i32
+ // br_on_exn $__cpp_exception ; pop the exnref value
// end_block
//
// But because we don't support it yet, the catch instruction's dst
OpenPOWER on IntegriCloud