diff options
author | Alon Zakai <azakai@google.com> | 2024-10-22 09:17:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 09:17:05 -0700 |
commit | 0d9b7508e5de1ca7befef493ed3e357b8a5613a1 (patch) | |
tree | c14721e0059d5c05ea3f2c80424b9fd3d3e7b92c /test/lit/exec/fuzzing-api.wast | |
parent | bc36c02d1a54c91d9fc4bdbffe00608929ec3169 (diff) | |
download | binaryen-0d9b7508e5de1ca7befef493ed3e357b8a5613a1.tar.gz binaryen-0d9b7508e5de1ca7befef493ed3e357b8a5613a1.tar.bz2 binaryen-0d9b7508e5de1ca7befef493ed3e357b8a5613a1.zip |
[GC] Fix assertion in GlobalTypeOptimization about public super (#7026)
We only checked for the case of the immediate super being public while we
are private, but it might be a grandsuper instead. That is, any ancestor that
is public will prevent GTO from removing a field (since we can only add
fields on top of our ancestors). Also, the ancestors might not all have the
field, which would add more complexity to that particular assertion, so just
remove it, and add comprehensive tests.
Diffstat (limited to 'test/lit/exec/fuzzing-api.wast')
0 files changed, 0 insertions, 0 deletions