wasm: ensure unique function indexes

We cannot keep function indexes as maxInt(u32) due to functions being
dedupliated when they point to the same function. For this reason we now
use a regular arraylist which will have new functions appended to, and
when deleted, its index is appended to the free list, allowing us to
re-use slots in the function list.
c153f94c89Luuk de Gram committed on 2/29/2024, 2:23:04 PMparentfde8c2f
3 files changedLine totals unavailable