| ... | ... | @@ -38539,21 +38539,6 @@ pub fn analyzeMemoizedState(sema: *Sema, block: *Block, simple_src: LazySrcLoc, |
| 38539 | 38539 | } |
| 38540 | 38540 | } |
| 38541 | 38541 | |
| 38542 | | if (stage == .panic) { |
| 38543 | | // We use `getBuiltinType` because this is from an earlier stage. |
| 38544 | | const stack_trace_ty = try sema.getBuiltinType(simple_src, .StackTrace); |
| 38545 | | const ptr_stack_trace_ty = try pt.singleMutPtrType(stack_trace_ty); |
| 38546 | | const opt_ptr_stack_trace_ty = try pt.optionalType(ptr_stack_trace_ty.toIntern()); |
| 38547 | | const null_stack_trace = try pt.intern(.{ .opt = .{ |
| 38548 | | .ty = opt_ptr_stack_trace_ty.toIntern(), |
| 38549 | | .val = .none, |
| 38550 | | } }); |
| 38551 | | if (null_stack_trace != zcu.null_stack_trace) { |
| 38552 | | zcu.null_stack_trace = null_stack_trace; |
| 38553 | | any_changed = true; |
| 38554 | | } |
| 38555 | | } |
| 38556 | | |
| 38557 | 38542 | return any_changed; |
| 38558 | 38543 | } |
| 38559 | 38544 | |