| ... | @@ -190,7 +190,7 @@ pub const CallingConvention = enum { | ... | @@ -190,7 +190,7 @@ pub const CallingConvention = enum { |
| 190 | | 190 | |
| 191 | /// This data structure is used by the Zig language code generation and | 191 | /// This data structure is used by the Zig language code generation and |
| 192 | /// therefore must be kept in sync with the compiler implementation. | 192 | /// therefore must be kept in sync with the compiler implementation. |
| 193 | pub const AddressSpace = enum { | 193 | pub const AddressSpace = enum(u4) { |
| 194 | generic, | 194 | generic, |
| 195 | gs, | 195 | gs, |
| 196 | fs, | 196 | fs, |
| ... | @@ -283,7 +283,7 @@ pub const Type = union(enum) { | ... | @@ -283,7 +283,7 @@ pub const Type = union(enum) { |
| 283 | | 283 | |
| 284 | /// This data structure is used by the Zig language code generation and | 284 | /// This data structure is used by the Zig language code generation and |
| 285 | /// therefore must be kept in sync with the compiler implementation. | 285 | /// therefore must be kept in sync with the compiler implementation. |
| 286 | pub const Size = enum { | 286 | pub const Size = enum(u2) { |
| 287 | One, | 287 | One, |
| 288 | Many, | 288 | Many, |
| 289 | Slice, | 289 | Slice, |