diff options
author | Abbas Mashayekh <martianboy2005@gmail.com> | 2021-03-24 21:43:45 +0430 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-24 10:13:45 -0700 |
commit | ffac06650507ac413d60d72aadc1e33fb1f91ccf (patch) | |
tree | f581d02da66df8db2a775fc731d39baf15d96c82 /test/passes/fuzz_metrics_noprint.bin.txt | |
parent | 683c31381f5798016f683a6b42e2a8fad0f871cb (diff) | |
download | binaryen-ffac06650507ac413d60d72aadc1e33fb1f91ccf.tar.gz binaryen-ffac06650507ac413d60d72aadc1e33fb1f91ccf.tar.bz2 binaryen-ffac06650507ac413d60d72aadc1e33fb1f91ccf.zip |
[RT] Support expressions in element segments (#3666)
This PR adds support for `ref.null t` as a valid element segment
item. The abbreviated format of `(elem ... func $f $g...)` is kept in
both printing and binary emitting if all items are `ref.func`s. Public
APIs aren't updated in this PR.
Diffstat (limited to 'test/passes/fuzz_metrics_noprint.bin.txt')
-rw-r--r-- | test/passes/fuzz_metrics_noprint.bin.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/passes/fuzz_metrics_noprint.bin.txt b/test/passes/fuzz_metrics_noprint.bin.txt index eb24adfa4..d2b5e37e9 100644 --- a/test/passes/fuzz_metrics_noprint.bin.txt +++ b/test/passes/fuzz_metrics_noprint.bin.txt @@ -7,7 +7,7 @@ total [memory-data] : 4 [table-data] : 17 [tables] : 1 - [total] : 5797 + [total] : 5814 [vars] : 160 Binary : 467 Block : 810 @@ -24,6 +24,7 @@ total LocalSet : 292 Loop : 127 Nop : 69 + RefFunc : 17 Return : 259 Select : 53 Store : 53 |