[wasm][anyref] Allow element section entries for multiple tables
With the introduction of multiple tables the element section is able to initialize any of the defined tables. However, the spec says that only tables of type AnyFunc can be initialized. With this CL we validate that entries in the element section only target AnyFunc tables. R=titzer@chromium.org Bug: v8:7581 Change-Id: Ifea383b13c91f582813b2aa4f01a5f724575cfa0 Reviewed-on: https://chromium-review.googlesource.com/1130519 Commit-Queue: Andreas Haas <ahaas@chromium.org> Reviewed-by: Clemens Hammacher <clemensh@chromium.org> Cr-Commit-Position: refs/heads/master@{#54400}
Showing
This diff is collapsed.
Please
register
or
sign in
to comment