summaryrefslogtreecommitdiff
path: root/src/wasm-builder.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-10-13 13:22:40 -0700
committerGitHub <noreply@github.com>2022-10-13 20:22:40 +0000
commit7183a3be321ac76abcede1ecb05d5eea8d42d78f (patch)
treec0cd3071f17a741955505dd8eab34e92691426af /src/wasm-builder.h
parentb30ab74e349eed23f949ba92842ac474bd991607 (diff)
downloadbinaryen-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-builder.h')
0 files changed, 0 insertions, 0 deletions