diff options
author | Thomas Lively <tlively@google.com> | 2023-09-11 19:47:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 00:47:08 +0000 |
commit | 592f6ccba11e0d9b74d9fb6965eae17c76aa45b8 (patch) | |
tree | 3ef82e0feab0539980b61a709abf660d02f16c19 /test/lit/passes | |
parent | e9d0fb7251dd6dd3d629fe6c389490a0a0e92c24 (diff) | |
download | binaryen-592f6ccba11e0d9b74d9fb6965eae17c76aa45b8.tar.gz binaryen-592f6ccba11e0d9b74d9fb6965eae17c76aa45b8.tar.bz2 binaryen-592f6ccba11e0d9b74d9fb6965eae17c76aa45b8.zip |
Remove legacy GC text syntax (#5929)
Remove the old forms of ref.test and ref.cast that took heap types instead of
ref types and remove the old array.init_static name for array.new_fixed.
Diffstat (limited to 'test/lit/passes')
-rw-r--r-- | test/lit/passes/remove-unused-brs-gc.wast | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit/passes/remove-unused-brs-gc.wast b/test/lit/passes/remove-unused-brs-gc.wast index 1bdd6f680..5b4e09a25 100644 --- a/test/lit/passes/remove-unused-brs-gc.wast +++ b/test/lit/passes/remove-unused-brs-gc.wast @@ -620,10 +620,10 @@ (drop ;; This should not crash due to the new unreachable below. (br_on_cast $outer (ref none) (ref none) - (ref.cast none + (ref.cast (ref none) ;; This will be optimized to a drop + unreachable. (br_on_cast $outer (ref none) (ref none) - (ref.cast none + (ref.cast (ref none) (local.get $0) ) ) |