diff options
author | Alon Zakai <azakai@google.com> | 2022-10-13 13:22:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-13 20:22:40 +0000 |
commit | 7183a3be321ac76abcede1ecb05d5eea8d42d78f (patch) | |
tree | c0cd3071f17a741955505dd8eab34e92691426af /src/wasm/wasm-s-parser.cpp | |
parent | b30ab74e349eed23f949ba92842ac474bd991607 (diff) | |
download | binaryen-7183a3be321ac76abcede1ecb05d5eea8d42d78f.tar.gz binaryen-7183a3be321ac76abcede1ecb05d5eea8d42d78f.tar.bz2 binaryen-7183a3be321ac76abcede1ecb05d5eea8d42d78f.zip |
[Wasm GC] Add a getMaxDepths() helper for heap types (#5134)
This computes how deep the children of a heap type are. This will be useful in
cone type optimizations, since we want to "normalize" cones: a cone of depth
infinity can just be a cone of the actual maximum depth of existing children, etc.,
and it's simpler to have a single canonical representation to avoid extra work.
Diffstat (limited to 'src/wasm/wasm-s-parser.cpp')
0 files changed, 0 insertions, 0 deletions