diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-06-09 22:54:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-10 02:54:56 +0000 |
commit | 83ae39af1f8ffe67856b16f7ee13de066169b48f (patch) | |
tree | 91ed056401b27f90516c00395ea3c8858b516a3f /src/wasm/wasm-s-parser.cpp | |
parent | d8877922143219eada93568074f2a262de62d04f (diff) | |
download | binaryen-83ae39af1f8ffe67856b16f7ee13de066169b48f.tar.gz binaryen-83ae39af1f8ffe67856b16f7ee13de066169b48f.tar.bz2 binaryen-83ae39af1f8ffe67856b16f7ee13de066169b48f.zip |
Store signatures as HeapTypes when parsing binaries (#3929)
When parsing func.ref instructions, we need to get the HeapType corresponding to
the referenced function's signature. Since constructing HeapTypes from
Signatures can be expensive under equirecursive typing, keep track of the
original function signature HeapTypes directly during parsing rather than
storing them as Signatures.
Diffstat (limited to 'src/wasm/wasm-s-parser.cpp')
0 files changed, 0 insertions, 0 deletions