| ... | ... | @@ -2245,6 +2245,7 @@ pub const Type = extern union { |
| 2245 | 2245 | .prefetch_options, |
| 2246 | 2246 | .export_options, |
| 2247 | 2247 | .extern_options, |
| 2248 | .@"opaque", |
| 2248 | 2249 | => return 1, |
| 2249 | 2250 | |
| 2250 | 2251 | .fn_noreturn_no_args, // represents machine code; not a pointer |
| ... | ... | @@ -2432,7 +2433,6 @@ pub const Type = extern union { |
| 2432 | 2433 | .noreturn, |
| 2433 | 2434 | .inferred_alloc_const, |
| 2434 | 2435 | .inferred_alloc_mut, |
| 2435 | | .@"opaque", |
| 2436 | 2436 | .var_args_param, |
| 2437 | 2437 | .bound_fn, |
| 2438 | 2438 | => unreachable, |
| ... | ... | @@ -5287,10 +5287,8 @@ pub const Type = extern union { |
| 5287 | 5287 | // type, we change it to 0 here. If this causes an assertion trip because the |
| 5288 | 5288 | // pointee type needs to be resolved more, that needs to be done before calling |
| 5289 | 5289 | // this ptr() function. |
| 5290 | | if (d.@"align" != 0) { |
| 5291 | | if (d.pointee_type.zigTypeTag() == .Opaque or d.@"align" == d.pointee_type.abiAlignment(target)) { |
| 5292 | | d.@"align" = 0; |
| 5293 | | } |
| 5290 | if (d.@"align" != 0 and d.@"align" == d.pointee_type.abiAlignment(target)) { |
| 5291 | d.@"align" = 0; |
| 5294 | 5292 | } |
| 5295 | 5293 | |
| 5296 | 5294 | // Canonicalize host_size. If it matches the bit size of the pointee type, |