| ... | ... | @@ -12608,8 +12608,7 @@ fn ccAbiPromoteInt(cc: std.builtin.CallingConvention, zcu: *Zcu, ty: Type) ?std. |
| 12608 | 12608 | } |
| 12609 | 12609 | const int_info = switch (ty.zigTypeTag(zcu)) { |
| 12610 | 12610 | .bool => Type.u1.intInfo(zcu), |
| 12611 | | .int, .@"enum", .error_set => ty.intInfo(zcu), |
| 12612 | | else => return null, |
| 12611 | else => if (ty.isAbiInt(zcu)) ty.intInfo(zcu) else return null, |
| 12613 | 12612 | }; |
| 12614 | 12613 | return switch (target.os.tag) { |
| 12615 | 12614 | .driverkit, .ios, .maccatalyst, .macos, .watchos, .tvos, .visionos => switch (int_info.bits) { |