summaryrefslogtreecommitdiff
path: root/src/shell-interface.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2022-05-16 10:55:35 -0700
committerGitHub <noreply@github.com>2022-05-16 10:55:35 -0700
commitcc0d5fcfcdc4740793816531c89e30ec56823777 (patch)
tree5798b1b39cc3e0174ad09509836de09412f991c0 /src/shell-interface.h
parent4edfcc9f8cfc6a340411b791e7d7889b836dc772 (diff)
downloadbinaryen-cc0d5fcfcdc4740793816531c89e30ec56823777.tar.gz
binaryen-cc0d5fcfcdc4740793816531c89e30ec56823777.tar.bz2
binaryen-cc0d5fcfcdc4740793816531c89e30ec56823777.zip
Allow TypeBuilder::grow to take 0 as an argument (#4668)
There's no reason not to allow growing by zero slots, but previously doing so would trigger an assertion. This caused a crash when roundtripping a trivial module. Fixes #4667.
Diffstat (limited to 'src/shell-interface.h')
0 files changed, 0 insertions, 0 deletions