link.File.Wasm: remove dead condition

This commit is contained in:
Andrew Kelley 2023-12-27 17:52:59 -07:00
parent e47141a14e
commit 3a0b76b855

View File

@ -3486,7 +3486,7 @@ pub fn flush(wasm: *Wasm, comp: *Compilation, prog_node: *std.Progress.Node) lin
if (use_lld) {
return wasm.linkWithLLD(comp, prog_node);
} else if (use_llvm and !use_lld) {
} else if (use_llvm) {
return wasm.linkWithZld(comp, prog_node);
} else {
return wasm.flushModule(comp, prog_node);