diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-06-07 04:51:26 -0400 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-06-12 13:55:41 +0100 |
| commit | c95b1bf2d3c3ae7595e15ad521952b77d5063801 (patch) | |
| tree | a1260ddf1454688e6732a22a6e3c4cc60bd81986 /src/Compilation.zig | |
| parent | c4ec382fc806e0cb4484c1cb2edcc5fc40c3c9d8 (diff) | |
| download | zig-c95b1bf2d3c3ae7595e15ad521952b77d5063801.tar.gz zig-c95b1bf2d3c3ae7595e15ad521952b77d5063801.zip | |
x86_64: remove air references from mir
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index b9b51222eb..fe4671848d 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -4589,10 +4589,8 @@ fn processOneJob(tid: usize, comp: *Compilation, job: Job) JobError!void { comp.dispatchZcuLinkTask(tid, .{ .link_func = .{ .func = func.func, .mir = shared_mir, - .air = undefined, } }); } else { - const emit_needs_air = !zcu.backendSupportsFeature(.separate_thread); { const pt: Zcu.PerThread = .activate(comp.zcu.?, @enumFromInt(tid)); defer pt.deactivate(); @@ -4602,7 +4600,6 @@ fn processOneJob(tid: usize, comp: *Compilation, job: Job) JobError!void { comp.dispatchZcuLinkTask(tid, .{ .link_func = .{ .func = func.func, .mir = shared_mir, - .air = if (emit_needs_air) &air else undefined, } }); air.deinit(gpa); } |
