diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-07-14 04:19:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-14 04:19:13 +0200 |
| commit | 5696bbb307effecc2bf6dd1b28f6954186558b94 (patch) | |
| tree | be8b75bf52518a2a0ea8750681816810cf39f86c /src/Sema.zig | |
| parent | e7b18a7ce69f30c85f21ec8ad6a70211abf5f24b (diff) | |
| parent | a558885321714ea1a21ee3d585b7f79f002adfd7 (diff) | |
| download | zig-5696bbb307effecc2bf6dd1b28f6954186558b94.tar.gz zig-5696bbb307effecc2bf6dd1b28f6954186558b94.zip | |
Merge pull request #23552 from alichraghi
Progress towards support for running LLVM backend in a separate thread
Diffstat (limited to 'src/Sema.zig')
| -rw-r--r-- | src/Sema.zig | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/Sema.zig b/src/Sema.zig index 92f6705e4e..81331f3ccc 100644 --- a/src/Sema.zig +++ b/src/Sema.zig @@ -9705,7 +9705,6 @@ fn funcCommon( func_inst, cc_src, is_noinline, - is_generic, ); } @@ -9745,7 +9744,6 @@ fn funcCommon( func_inst, cc_src, is_noinline, - is_generic, ); } @@ -9762,7 +9760,6 @@ fn funcCommon( func_inst, cc_src, is_noinline, - is_generic, ); } @@ -9779,7 +9776,6 @@ fn finishFunc( func_inst: Zir.Inst.Index, cc_src: LazySrcLoc, is_noinline: bool, - is_generic: bool, ) CompileError!Air.Inst.Ref { const pt = sema.pt; const zcu = pt.zcu; @@ -9911,13 +9907,6 @@ fn finishFunc( }), } - if (!is_generic and sema.wantErrorReturnTracing(return_type)) { - // Make sure that StackTrace's fields are resolved so that the backend can - // lower this fn type. - const unresolved_stack_trace_ty = try sema.getBuiltinType(block.nodeOffset(.zero), .StackTrace); - try unresolved_stack_trace_ty.resolveFields(pt); - } - return Air.internedToRef(if (opt_func_index != .none) opt_func_index else func_ty); } |
