diff options
author | Thomas Lively <tlively@google.com> | 2023-04-14 17:54:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 17:54:25 -0700 |
commit | d0621e5820b4ce1b72907f5cdb3c68487ce20c60 (patch) | |
tree | 60832f328708f01ea6eed4cffc2da95cccc58c70 /test/lit/nominal-named-field.wast | |
parent | 56fe22d30ddd4deac619e41824fc69079dcd7a47 (diff) | |
download | binaryen-d0621e5820b4ce1b72907f5cdb3c68487ce20c60.tar.gz binaryen-d0621e5820b4ce1b72907f5cdb3c68487ce20c60.tar.bz2 binaryen-d0621e5820b4ce1b72907f5cdb3c68487ce20c60.zip |
Remove the --hybrid and --nominal command line options (#5669)
After this change, the only type system usable from the tools will be the
standard isorecursive type system. The nominal type system is still usable via
the API, but it will be removed entirely in a follow-on PR.
Diffstat (limited to 'test/lit/nominal-named-field.wast')
-rw-r--r-- | test/lit/nominal-named-field.wast | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/test/lit/nominal-named-field.wast b/test/lit/nominal-named-field.wast deleted file mode 100644 index e7a5f9628..000000000 --- a/test/lit/nominal-named-field.wast +++ /dev/null @@ -1,30 +0,0 @@ -;; NOTE: Assertions have been generated by update_lit_checks.py and should not be edited. - -;; Regression test for a bug in which field names were not printed in nominal mode. - -;; RUN: wasm-opt %s -all --nominal -S -o - | filecheck %s -;; RUN: wasm-opt %s -all --nominal --roundtrip -S -o - | filecheck %s - -(module - ;; CHECK: (type $struct (struct (field (mut i32)) (field f32) (field $named f64))) - (type $struct (struct - (field (mut i32)) - (field f32) - (field $named f64) - )) - - ;; CHECK: (func $foo (type $ref|$struct|_=>_none) (param $0 (ref $struct)) - ;; CHECK-NEXT: (drop - ;; CHECK-NEXT: (struct.get $struct $named - ;; CHECK-NEXT: (local.get $0) - ;; CHECK-NEXT: ) - ;; CHECK-NEXT: ) - ;; CHECK-NEXT: ) - (func $foo (param (ref $struct)) - (drop - (struct.get $struct $named - (local.get 0) - ) - ) - ) -) |