mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 01:37:16 +00:00

The main changes here are: * Element segments that carry an elementexpr can carry a type T that is other than 'funcref', though we require T <: anyref * We generalize type handling around table initialization so that a table-of-T can be initialized from segment-of-U if U <: T. Also: * A declared element segment needs to have type funcref. The spec is silent on this, but it's a conservative choice. * A drive-by fix in serialize/deserialize, the 'kind' field was not being handled properly. This doesn't affect any shipping product as the serialize/deserialize code is currently unused. Differential Revision: https://phabricator.services.mozilla.com/D48690 --HG-- extra : moz-landing-system : lando