summaryrefslogtreecommitdiff
path: root/src/shell-interface.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-12-02 13:26:18 -0800
committerGitHub <noreply@github.com>2020-12-02 13:26:18 -0800
commite5f5d924ddee6d896203b3d1da862c463c01df24 (patch)
tree92ced9654091bba36b05d98d42d7016d6e748bdd /src/shell-interface.h
parent16c1e3caff045666c5807b90998857da6ed8da74 (diff)
downloadbinaryen-e5f5d924ddee6d896203b3d1da862c463c01df24.tar.gz
binaryen-e5f5d924ddee6d896203b3d1da862c463c01df24.tar.bz2
binaryen-e5f5d924ddee6d896203b3d1da862c463c01df24.zip
[GC types] Refactoring to allow future heap type parsing. NFC (#3409)
Defined types in wasm are really one of the "heap types": a signature type, or (with GC) a struct or an array type. This refactors the binary and text parsers to load the defined types into an array of heap types, so that we can start to parse GC types. This replaces the existing array of signature types (which could not support a struct or an array). Locally this PR can parse and print as text simple GC types. For that it was necessary to also fix Type::getFeatures for GC.
Diffstat (limited to 'src/shell-interface.h')
0 files changed, 0 insertions, 0 deletions