| ... | @@ -2447,7 +2447,14 @@ pub fn create(gpa: Allocator, arena: Allocator, io: Io, diag: *CreateDiagnostic, | ... | @@ -2447,7 +2447,14 @@ pub fn create(gpa: Allocator, arena: Allocator, io: Io, diag: *CreateDiagnostic, |
| 2447 | }, | 2447 | }, |
| 2448 | } | 2448 | } |
| 2449 | | 2449 | |
| 2450 | if (use_llvm) { | 2450 | if (use_llvm and |
| | 2451 | (comp.emit_bin != null or |
| | 2452 | comp.emit_asm != null or |
| | 2453 | comp.emit_llvm_ir != null or |
| | 2454 | comp.emit_llvm_bc != null or |
| | 2455 | comp.verbose_llvm_ir != null or |
| | 2456 | comp.verbose_llvm_bc != null)) |
| | 2457 | { |
| 2451 | if (opt_zcu) |zcu| { | 2458 | if (opt_zcu) |zcu| { |
| 2452 | zcu.llvm_object = try LlvmObject.create(arena, zcu); | 2459 | zcu.llvm_object = try LlvmObject.create(arena, zcu); |
| 2453 | } | 2460 | } |