diff options
author | Thomas Lively <tlively@google.com> | 2024-07-15 21:50:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 18:50:06 -0700 |
commit | 5bdc0f40934a8b6b9887f345a5779dc8faa7660a (patch) | |
tree | bfe4b4cdc76c754be9df06dcb81d4c8cb9037c53 /test/lit/validation/array-init-data.wast | |
parent | 503fc4bb767d4f1861feba71b127799b89d9d663 (diff) | |
download | binaryen-5bdc0f40934a8b6b9887f345a5779dc8faa7660a.tar.gz binaryen-5bdc0f40934a8b6b9887f345a5779dc8faa7660a.tar.bz2 binaryen-5bdc0f40934a8b6b9887f345a5779dc8faa7660a.zip |
Simplify fuzzer generation of function references (#6745)
When creating a reference to `func`, fix the probability of choosing to
continue on to choose some function other than the last one rather than
making it depend on the number of functions. Then, do not eagerly pick
from the rest of the candidate functions. Instead, fall through to the
more general logic that will already pick a random candidate function.
Also move the logic for coming up with a concrete signature down to
where it is needed.
These simplifications will make it easier to update the code to handle
shared types.
Diffstat (limited to 'test/lit/validation/array-init-data.wast')
0 files changed, 0 insertions, 0 deletions