Ryan Hunt 86ee2237e3 Bug 1774837 - wasm: Add anyref. r=jseward
This commit adds the 'any' heap type.

Our type hierarchies are now:

```
anyref
  |
eqref  ------------
  |                \
(concrete structs) |
        (concrete arrays)

funcref
  |
(concrete funcs)

externref
```

anyref contains all of eqref in addition to any values that
are the result of extern.internalize. anyref is not allowed
to be used on the JS-Wasm so it is made to be not 'exposable'
which will ensure our stub functions handle it correctly.

Differential Revision: https://phabricator.services.mozilla.com/D159790
2022-11-14 17:09:10 +00:00
..