diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-12-14 18:22:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-14 18:22:36 -0800 |
commit | 5a9d816e514add80a31410a7a180dee748ddcbb3 (patch) | |
tree | dec00267e0d48e9be959d4854cc2d8288f079fed /src/wasm/wasm-binary.cpp | |
parent | 01e6429a13abd2d8f5b3d4019a273e992fdd3a66 (diff) | |
download | binaryen-5a9d816e514add80a31410a7a180dee748ddcbb3.tar.gz binaryen-5a9d816e514add80a31410a7a180dee748ddcbb3.tar.bz2 binaryen-5a9d816e514add80a31410a7a180dee748ddcbb3.zip |
[NFC] Reuse `globallyCanonicalize` for nominal types (#4395)
Hashing and comparison of nominal HeapTypeInfos previously observed their child
Types, so the Types had to be canonicalized before the HeapTypes. Unfortunately
equirecursive canonicalization requires that the HeapTypes be canonicalized
before the Types, so this was a point of divergence between the two systems.
However, #4394 updated hashing and comparison of nominal types to not depend on
child Types, so now we can harmonize the two systems by having them use the same
`globallyCanonicalize` function to canonicalize their HeapTypes followed by
their Types.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions