diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-10-15 17:37:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-16 00:37:23 +0000 |
commit | 0bec0a4bbaf4859bb4c7a2f1c4ecda60ccab72f2 (patch) | |
tree | ce9ad99518d896956260e7f27a56eba0b8a5f7fd /test/lit/help/wasm-split.test | |
parent | 980bb397fa713385d7e0a7f1ddc0318a3da7234c (diff) | |
download | binaryen-0bec0a4bbaf4859bb4c7a2f1c4ecda60ccab72f2.tar.gz binaryen-0bec0a4bbaf4859bb4c7a2f1c4ecda60ccab72f2.tar.bz2 binaryen-0bec0a4bbaf4859bb4c7a2f1c4ecda60ccab72f2.zip |
Add a --structural flag (#4252)
Just as the --nominal flag forces all types to be parsed as nominal, the
--structural flag forces all types to be parsed as equirecursive. This is the
current default behavior, but a future PR will change the default to parse types
as either structural or nominal according to their syntax or encoding. This new
flag will then be necessary to get the current behavior.
Also take this opportunity to deduplicate more flags in the help tests.
Diffstat (limited to 'test/lit/help/wasm-split.test')
-rw-r--r-- | test/lit/help/wasm-split.test | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/test/lit/help/wasm-split.test b/test/lit/help/wasm-split.test index fe48e5e25..bb4acbd28 100644 --- a/test/lit/help/wasm-split.test +++ b/test/lit/help/wasm-split.test @@ -10,18 +10,7 @@ ;; Skip standard tool options -;; CHECK: --no-validation,-n Disables validation, assumes inputs are -;; CHECK-NEXT: correct -;; CHECK-NEXT: -;; CHECK-NEXT: --pass-arg,-pa An argument passed along to optimization -;; CHECK-NEXT: passes being run. Must be in the form -;; CHECK-NEXT: KEY@VALUE -;; CHECK-NEXT: -;; CHECK-NEXT: --nominal Use the prototype nominal type system -;; CHECK-NEXT: instead of the normal equirecursive type -;; CHECK-NEXT: system. -;; CHECK-NEXT: -;; CHECK-NEXT: --split Split an input module into two output +;; CHECK: --split Split an input module into two output ;; CHECK-NEXT: modules. The default mode. ;; CHECK-NEXT: ;; CHECK-NEXT: --instrument Instrument an input module to allow it to |