summaryrefslogtreecommitdiff
path: root/test/lit
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2024-01-30 17:26:39 -0800
committerGitHub <noreply@github.com>2024-01-30 17:26:39 -0800
commitcf14a9fa9cd6f99ef78a5ffa70cfcb024a524919 (patch)
tree44a80e74df693c1754d01ceb64eecdf80b839050 /test/lit
parent8504571fb7209d07670a06c42a868bbfc954c756 (diff)
downloadbinaryen-cf14a9fa9cd6f99ef78a5ffa70cfcb024a524919.tar.gz
binaryen-cf14a9fa9cd6f99ef78a5ffa70cfcb024a524919.tar.bz2
binaryen-cf14a9fa9cd6f99ef78a5ffa70cfcb024a524919.zip
[EH] Change translator option name (#6259)
The previous name feels too verbose and unwieldy. This also removes the "new-to-old EH" placeholder. I think it'd be better to add it back when it is actually added.
Diffstat (limited to 'test/lit')
-rw-r--r--test/lit/help/wasm-opt.test2
-rw-r--r--test/lit/help/wasm2js.test2
-rw-r--r--test/lit/passes/translate-to-new-eh.wast (renamed from test/lit/passes/translate-eh-old-to-new.wast)2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/lit/help/wasm-opt.test b/test/lit/help/wasm-opt.test
index 07d218007..fc33fce8d 100644
--- a/test/lit/help/wasm-opt.test
+++ b/test/lit/help/wasm-opt.test
@@ -486,7 +486,7 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --symbolmap (alias for print-function-map)
;; CHECK-NEXT:
-;; CHECK-NEXT: --translate-eh-old-to-new translate old EH instructions to
+;; CHECK-NEXT: --translate-to-new-eh translate old EH instructions to
;; CHECK-NEXT: new ones
;; CHECK-NEXT:
;; CHECK-NEXT: --trap-mode-clamp replace trapping operations with
diff --git a/test/lit/help/wasm2js.test b/test/lit/help/wasm2js.test
index e81d07718..7db564101 100644
--- a/test/lit/help/wasm2js.test
+++ b/test/lit/help/wasm2js.test
@@ -445,7 +445,7 @@
;; CHECK-NEXT:
;; CHECK-NEXT: --symbolmap (alias for print-function-map)
;; CHECK-NEXT:
-;; CHECK-NEXT: --translate-eh-old-to-new translate old EH instructions to
+;; CHECK-NEXT: --translate-to-new-eh translate old EH instructions to
;; CHECK-NEXT: new ones
;; CHECK-NEXT:
;; CHECK-NEXT: --trap-mode-clamp replace trapping operations with
diff --git a/test/lit/passes/translate-eh-old-to-new.wast b/test/lit/passes/translate-to-new-eh.wast
index 014661b27..da429bea4 100644
--- a/test/lit/passes/translate-eh-old-to-new.wast
+++ b/test/lit/passes/translate-to-new-eh.wast
@@ -1,5 +1,5 @@
;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
-;; RUN: wasm-opt %s -all --translate-eh-old-to-new -S -o - | filecheck %s
+;; RUN: wasm-opt %s -all --translate-to-new-eh -S -o - | filecheck %s
(module
;; CHECK: (type $0 (func (result i32 i64)))