summaryrefslogtreecommitdiff
path: root/src/parsing.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2021-03-24 21:01:55 -0700
committerGitHub <noreply@github.com>2021-03-24 21:01:55 -0700
commit4506ffba7da377044e5a4a6d9385591ff730221c (patch)
tree66da23d3c146688e07214e3fb45161e33bcb448d /src/parsing.h
parent78de694ceb1b642076050d75c26ce4c1bf996b31 (diff)
downloadbinaryen-4506ffba7da377044e5a4a6d9385591ff730221c.tar.gz
binaryen-4506ffba7da377044e5a4a6d9385591ff730221c.tar.bz2
binaryen-4506ffba7da377044e5a4a6d9385591ff730221c.zip
Refactor TypeBuilder (#3728)
Makes TypeBuilders growable, adds a `getTempHeapType` method, allows the `getTemp*Type` methods to take arbitrary temporary or canonical HeapTypes rather than just an index, and allows BasicHeapTypes to be assigned to TypeBuilder slots. All of these changes are necessary for the upcoming re-implementation of equirecursive LUB calculation. Also adds a new utility to TypeBuilder for using `operator[]` as an intuitive and readable wrapper around the `getTempHeapType` and `setHeapType` methods.
Diffstat (limited to 'src/parsing.h')
0 files changed, 0 insertions, 0 deletions