[wasm-split] Deduplicate loops in shareImportableItems (NFC) (#8992)
We have six mostly identical loops in `shareImportableItems`, each for memories, tables, globals, tags, data segments, and element segments. This factors the core logic out as a generic lambda function.
H
Heejin Ahn committed
b8c151259b349b25233ba6486b186d16feaf6d9f
Parent: 9bb57b3
Committed by GitHub <noreply@github.com>
on 8/18/2026, 10:22:58 PM