summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2020-07-25 12:52:49 -0700
committerGitHub <noreply@github.com>2020-07-25 12:52:49 -0700
commit2402dedc1d95b75ba6a005c9ba686cb77f316c7f (patch)
treeb60e0d00329ec4ab9778a62eb535fd359e9f650e /third_party
parentf414678326964001e4009daf58274006900d2f14 (diff)
downloadwabt-2402dedc1d95b75ba6a005c9ba686cb77f316c7f.tar.gz
wabt-2402dedc1d95b75ba6a005c9ba686cb77f316c7f.tar.bz2
wabt-2402dedc1d95b75ba6a005c9ba686cb77f316c7f.zip
Fix assert when function has struct type (#1498)
Function types and struct types share an index space, but a function can only be defined using a function type. Since `Module::GetFuncType` already returns `nullptr` for an OOB index, it makes sense to return `nullptr` for an invalid type too.
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions