diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2022-05-19 10:34:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 10:34:58 -0700 |
commit | 63df2257ce5215e672810cfb0d9c4e7952921e18 (patch) | |
tree | 7c0892e097f6e0a5f94dcdcc689b2f6b60a845a0 /test/binaryen.js | |
parent | 5e613af62b466cb8a9a235a4ea64ace2e003aaa8 (diff) | |
download | binaryen-63df2257ce5215e672810cfb0d9c4e7952921e18.tar.gz binaryen-63df2257ce5215e672810cfb0d9c4e7952921e18.tar.bz2 binaryen-63df2257ce5215e672810cfb0d9c4e7952921e18.zip |
[NFC] Deduplicate imported global parsing (#4678)
Share the logic for parsing imported and non-imported globals of the formats:
(import "module" "base" (global $name? type))
(global $name? type init)
This fixes #4676, since the deleted logic for parsing imported globals did not
handle parsing GC types correctly.
Diffstat (limited to 'test/binaryen.js')
0 files changed, 0 insertions, 0 deletions