summaryrefslogtreecommitdiff
path: root/scripts/test/shared.py
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2024-08-13 00:32:49 -0400
committerGitHub <noreply@github.com>2024-08-12 21:32:49 -0700
commitd7955a34e332a78cc71bf77800114cba008185bb (patch)
tree8d06474d8af8c3784345a022dac6de76733d39b1 /scripts/test/shared.py
parenta4f9128f94b540fa04b67610eb501cb32ea203b4 (diff)
downloadbinaryen-d7955a34e332a78cc71bf77800114cba008185bb.tar.gz
binaryen-d7955a34e332a78cc71bf77800114cba008185bb.tar.bz2
binaryen-d7955a34e332a78cc71bf77800114cba008185bb.zip
Add a TypeBuilder API for copying a heap type (#6828)
Given a function that maps the old child heap types to new child heap types, the new API takes care of copying the rest of the structure of a given heap type into a TypeBuilder slot. Use the new API in GlobalTypeRewriter::rebuildTypes. It will also be used in an upcoming type optimization. This refactoring also required adding the ability to clear the supertype of a TypeBuilder slot, which was previously not possible.
Diffstat (limited to 'scripts/test/shared.py')
0 files changed, 0 insertions, 0 deletions