diff options
author | Thomas Lively <tlively@google.com> | 2023-06-13 10:31:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 10:31:14 -0700 |
commit | 491f596fd13cdba5b4230ebf5a5c076bcafdab6f (patch) | |
tree | e5aad2c9a764463f66ec552f364858b3bdc6394e /test/lit/help | |
parent | b2eef24296ac1d2c5ab46cabdff639ec129ca7c1 (diff) | |
download | binaryen-491f596fd13cdba5b4230ebf5a5c076bcafdab6f.tar.gz binaryen-491f596fd13cdba5b4230ebf5a5c076bcafdab6f.tar.bz2 binaryen-491f596fd13cdba5b4230ebf5a5c076bcafdab6f.zip |
[NFC] Simplify the HeapTypeStore (#5765)
Now that we support only isorecursive typing, which canonicalizes heap types by
the rec group rather than individually, we no longer need a canonicalizing store
for heap types. Simplify the `Store` implementation, which was previously
generic over both `HeapType`s and `Type`s, to instead work only for `Type`s.
Replace `globalHeapTypeStore` with a simple vector to keep canonicalized
`HeapTypeInfo`s alive. Also simplify global canonicalization to not replace heap
type uses, since that is already done separately as part of isorecursive rec
group canonicalization.
This simplification does require adding new information to
`CanonicalizationState`, but further work will simplify that away as well.
Diffstat (limited to 'test/lit/help')
0 files changed, 0 insertions, 0 deletions