| author | |
| committer | |
| log | b3aed4e2c8b4d48b8b12f606f56e5aae7ec4693b |
| tree | 5f387c409a0801d371edfaf9396b1934b5fbaa5d |
| parent | 9211938e6ee8d84ce7a70b9193ed08f7e0b5aa95 |
This unblocks backend errors after #18814.5 files changed, 5 insertions(+), 5 deletions(-)
src/link/Coff.zig+1-1| ... | ... | @@ -1154,7 +1154,7 @@ pub fn updateFunc(self: *Coff, mod: *Module, func_index: InternPool.Index, air: |
| 1154 | 1154 | const code = switch (res) { |
| 1155 | 1155 | .ok => code_buffer.items, |
| 1156 | 1156 | .fail => |em| { |
| 1157 | decl.analysis = .codegen_failure; | |
| 1157 | func.analysis(&mod.intern_pool).state = .codegen_failure; | |
| 1158 | 1158 | try mod.failed_decls.put(mod.gpa, decl_index, em); |
| 1159 | 1159 | return; |
| 1160 | 1160 | }, |
src/link/Elf/ZigObject.zig+1-1| ... | ... | @@ -1106,7 +1106,7 @@ pub fn updateFunc( |
| 1106 | 1106 | const code = switch (res) { |
| 1107 | 1107 | .ok => code_buffer.items, |
| 1108 | 1108 | .fail => |em| { |
| 1109 | decl.analysis = .codegen_failure; | |
| 1109 | func.analysis(&mod.intern_pool).state = .codegen_failure; | |
| 1110 | 1110 | try mod.failed_decls.put(mod.gpa, decl_index, em); |
| 1111 | 1111 | return; |
| 1112 | 1112 | }, |
src/link/MachO/ZigObject.zig+1-1| ... | ... | @@ -552,7 +552,7 @@ pub fn updateFunc( |
| 552 | 552 | const code = switch (res) { |
| 553 | 553 | .ok => code_buffer.items, |
| 554 | 554 | .fail => |em| { |
| 555 | decl.analysis = .codegen_failure; | |
| 555 | func.analysis(&mod.intern_pool).state = .codegen_failure; | |
| 556 | 556 | try mod.failed_decls.put(mod.gpa, decl_index, em); |
| 557 | 557 | return; |
| 558 | 558 | }, |
src/link/Plan9.zig+1-1| ... | ... | @@ -444,7 +444,7 @@ pub fn updateFunc(self: *Plan9, mod: *Module, func_index: InternPool.Index, air: |
| 444 | 444 | const code = switch (res) { |
| 445 | 445 | .ok => try code_buffer.toOwnedSlice(), |
| 446 | 446 | .fail => |em| { |
| 447 | decl.analysis = .codegen_failure; | |
| 447 | func.analysis(&mod.intern_pool).state = .codegen_failure; | |
| 448 | 448 | try mod.failed_decls.put(mod.gpa, decl_index, em); |
| 449 | 449 | return; |
| 450 | 450 | }, |
src/link/Wasm.zig+1-1| ... | ... | @@ -1515,7 +1515,7 @@ pub fn updateFunc(wasm: *Wasm, mod: *Module, func_index: InternPool.Index, air: |
| 1515 | 1515 | const code = switch (result) { |
| 1516 | 1516 | .ok => code_writer.items, |
| 1517 | 1517 | .fail => |em| { |
| 1518 | decl.analysis = .codegen_failure; | |
| 1518 | func.analysis(&mod.intern_pool).state = .codegen_failure; | |
| 1519 | 1519 | try mod.failed_decls.put(mod.gpa, decl_index, em); |
| 1520 | 1520 | return; |
| 1521 | 1521 | }, |