diff options
author | Alon Zakai <azakai@google.com> | 2023-05-23 10:38:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 10:38:00 -0700 |
commit | e8ac658a5db2fadc93c3d317d465eed253e191ed (patch) | |
tree | 29a02aa1bea161be7c25713a5ae435f708b42b87 /test/heap-types.wast.fromBinary | |
parent | 5beebc6b249c6393e0dbf69f0ec2374eca5d387b (diff) | |
download | binaryen-e8ac658a5db2fadc93c3d317d465eed253e191ed.tar.gz binaryen-e8ac658a5db2fadc93c3d317d465eed253e191ed.tar.bz2 binaryen-e8ac658a5db2fadc93c3d317d465eed253e191ed.zip |
Revert "Update br_on_cast binary and text format (#5734)" (#5740)
This reverts commit b7b1d0df29df14634d2c680d1d2c351b624b4fbb.
See comment at the end of #5734: It turns out that dropping the old opcodes causes
problems for current users, so let's revert this for now, and later we can figure out
how best to do the update.
Diffstat (limited to 'test/heap-types.wast.fromBinary')
-rw-r--r-- | test/heap-types.wast.fromBinary | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/heap-types.wast.fromBinary b/test/heap-types.wast.fromBinary index 7c304a906..99637f92b 100644 --- a/test/heap-types.wast.fromBinary +++ b/test/heap-types.wast.fromBinary @@ -331,7 +331,7 @@ (drop (block $label$1 (result (ref $struct.B)) (local.set $temp.A - (br_on_cast $label$1 nullref (ref $struct.B) + (br_on_cast $label$1 $struct.B (ref.null none) ) ) @@ -341,7 +341,7 @@ (drop (block $label$2 (result (ref null $struct.A)) (local.set $temp.B - (br_on_cast_fail $label$2 nullref (ref $struct.B) + (br_on_cast_fail $label$2 $struct.B (ref.null none) ) ) |