You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Print tables for call_indirects for nonzero table index
Rather than always printing the table like in WebAssembly#7839, this prints the
table only when either reference types is enabled or the table index is
not 0 (even if the features section or `--enable-reference-types` is not
provided)
This addresses the concern in WebAssembly#7802, while not printing table when it is
not necessary.
There is no test changes because
- At the moment wasm-dis enables all features so wasm-dis always prints
tables in `call_indirect`s. This will change in WebAssembly#7840.
- wasm-opt results didn't print table so far when reference-types is not
enabled, and all `call_indirect`s in those tests have table index 0.
0 commit comments