| ... | ... | @@ -2222,7 +2222,7 @@ pub fn ptrField(parent_ptr: Value, field_idx: u32, pt: Zcu.PerThread) !Value { |
| 2222 | 2222 | const aggregate_ty = parent_ptr_ty.childType(zcu); |
| 2223 | 2223 | |
| 2224 | 2224 | const parent_ptr_info = parent_ptr_ty.ptrInfo(zcu); |
| 2225 | | assert(parent_ptr_info.flags.size == .one); |
| 2225 | assert(parent_ptr_info.flags.size == .one or parent_ptr_info.flags.size == .c); |
| 2226 | 2226 | |
| 2227 | 2227 | // Exiting this `switch` indicates that the `field` pointer representation should be used. |
| 2228 | 2228 | // `field_align` may be `.none` to represent the natural alignment of `field_ty`, but is not necessarily. |