summaryrefslogtreecommitdiff
path: root/scripts/fuzz_opt.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-03-20 08:55:18 -0700
committerGitHub <noreply@github.com>2023-03-20 08:55:18 -0700
commitf4b0ea75aa56349c970b9ae7c156e2f6fd87de3d (patch)
treef3c1945a85d6ef7d28367091a6f1a3d7b1ccf191 /scripts/fuzz_opt.py
parent8f57b66171f6166f35f8549ea5cf7c047a2a7a28 (diff)
downloadbinaryen-f4b0ea75aa56349c970b9ae7c156e2f6fd87de3d.tar.gz
binaryen-f4b0ea75aa56349c970b9ae7c156e2f6fd87de3d.tar.bz2
binaryen-f4b0ea75aa56349c970b9ae7c156e2f6fd87de3d.zip
Ensure a deterministic order in the type names section (#5590)
Before this PR we iterated over an unordered set. Replace that with an iteration on a vector. (Also, the value in the set was not even used, so this should even be faster.) Add random names in the fuzzer to types, the lack of which is I believe the reason this was not detected before.
Diffstat (limited to 'scripts/fuzz_opt.py')
0 files changed, 0 insertions, 0 deletions