diff options
author | Heejin Ahn <aheejin@gmail.com> | 2021-06-19 23:06:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-19 23:06:27 -0700 |
commit | 9fc276298b36080658236f0bc93d94cdf774492c (patch) | |
tree | b60592556b9edf4bb2dcd40034cb760c504cf576 /test/lit/passes/remove-unused-module-elements-eh.wast | |
parent | aae35755e1d047c1f6fba9abfd2d836feafa5f66 (diff) | |
download | binaryen-9fc276298b36080658236f0bc93d94cdf774492c.tar.gz binaryen-9fc276298b36080658236f0bc93d94cdf774492c.tar.bz2 binaryen-9fc276298b36080658236f0bc93d94cdf774492c.zip |
Remove (attr 0) from tag text format (#3946)
This attribute is always 0 and reserved for future use. In Binayren's
unofficial text format we were writing this field as `(attr 0)`, but we
have recently come to the conclusion that this is not necessary.
Relevant discussion:
https://github.com/WebAssembly/exception-handling/pull/160#discussion_r653254680
Diffstat (limited to 'test/lit/passes/remove-unused-module-elements-eh.wast')
-rw-r--r-- | test/lit/passes/remove-unused-module-elements-eh.wast | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/lit/passes/remove-unused-module-elements-eh.wast b/test/lit/passes/remove-unused-module-elements-eh.wast index 2a6a3b6b9..da6d6ff8a 100644 --- a/test/lit/passes/remove-unused-module-elements-eh.wast +++ b/test/lit/passes/remove-unused-module-elements-eh.wast @@ -8,13 +8,13 @@ ;; CHECK: (tag $e-export ;; CHECK: (tag $e-throw ;; CHECK: (tag $e-catch - (tag $e-remove (attr 0) (type $0)) ;; can be removed - (tag $e-export (attr 0) (param i64)) ;; cannot be removed (exported) - (tag $e-throw (attr 0) (type $0)) ;; cannot be removed (used in throw) - (tag $e-catch (attr 0) (type $0)) ;; cannot be removed (used in catch) + (tag $e-remove (type $0)) ;; can be removed + (tag $e-export (param i64)) ;; cannot be removed (exported) + (tag $e-throw (type $0)) ;; cannot be removed (used in throw) + (tag $e-catch (type $0)) ;; cannot be removed (used in catch) (export "e-export" (tag $e-export)) - (import "env" "e" (tag $e-import (attr 0) (param i32))) + (import "env" "e" (tag $e-import (param i32))) (start $start) (func $start |