wasm: migrate to new non-allocateDeclIndexes API

This commit is contained in:
Luuk de Gram
2023-01-27 19:24:15 +01:00
parent cc1d7a0e31
commit b25efb86e1
5 changed files with 53 additions and 44 deletions

View File

@@ -5328,6 +5328,7 @@ pub fn deleteUnusedDecl(mod: *Module, decl_index: Decl.Index) void {
.elf,
.macho,
.c,
.wasm,
=> {}, // this linker backend has already migrated to the new API
else => if (decl.has_tv) {