summaryrefslogtreecommitdiff
path: root/scripts/fuzz_shell.js
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-10-18 11:44:49 -0700
committerGitHub <noreply@github.com>2024-10-18 11:44:49 -0700
commitca3302b08c3f8e6b83e29b5582f6c3284e803df0 (patch)
tree8b45e0880b9e6f6efab061a4ec803cf640cf1dde /scripts/fuzz_shell.js
parent0b882b9e60f05db9e56f0c35cfbb38eb87619a76 (diff)
downloadbinaryen-ca3302b08c3f8e6b83e29b5582f6c3284e803df0.tar.gz
binaryen-ca3302b08c3f8e6b83e29b5582f6c3284e803df0.tar.bz2
binaryen-ca3302b08c3f8e6b83e29b5582f6c3284e803df0.zip
[GC] Ignore public types in SignaturePruning (#7018)
Similar to #7017 . As with that PR, this reduces some optimizations that were valid, as we tried to do something complex here and refine types in a public rec group when it seemed safe to do so, but our analysis was incomplete. The testcase here shows how another operation can end up causing a dependency that breaks things, if another type that uses one that we modify is public. To be safe, ignore all public types. In the future perhaps we can find a good way to handle "almost-private" types in public rec groups, in closed world.
Diffstat (limited to 'scripts/fuzz_shell.js')
0 files changed, 0 insertions, 0 deletions