aboutsummaryrefslogtreecommitdiff
path: root/src/link/Wasm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-12-27 17:52:59 -0700
committerAndrew Kelley <andrew@ziglang.org>2024-01-01 19:49:08 -0700
commit3a0b76b855b243867d84d8bfa5de550143bed2ae (patch)
tree01492575c1fa6957aab589fa0019157a7daf23e5 /src/link/Wasm.zig
parente47141a14e568b2aaa866de4e75496fcd63f1621 (diff)
downloadzig-3a0b76b855b243867d84d8bfa5de550143bed2ae.tar.gz
zig-3a0b76b855b243867d84d8bfa5de550143bed2ae.zip
link.File.Wasm: remove dead condition
Diffstat (limited to 'src/link/Wasm.zig')
-rw-r--r--src/link/Wasm.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/Wasm.zig b/src/link/Wasm.zig
index cdd40891da..a0907d6c51 100644
--- a/src/link/Wasm.zig
+++ b/src/link/Wasm.zig
@@ -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);