diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-12-12 15:32:37 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-12-13 12:52:21 +0200 |
| commit | 7b2a936173165002105ba5e76bed69654e132fea (patch) | |
| tree | 54a77e6d627b2cdec08b57d4402f35011fd064df /src/type.zig | |
| parent | 4832677c3bce61725c67306c4683921296abdff9 (diff) | |
| download | zig-7b2a936173165002105ba5e76bed69654e132fea.tar.gz zig-7b2a936173165002105ba5e76bed69654e132fea.zip | |
remove `stack` option from `@call`
Diffstat (limited to 'src/type.zig')
| -rw-r--r-- | src/type.zig | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/type.zig b/src/type.zig index e64f310d79..93e8c4b502 100644 --- a/src/type.zig +++ b/src/type.zig @@ -129,7 +129,6 @@ pub const Type = extern union { .empty_struct, .empty_struct_literal, .@"struct", - .call_options, .prefetch_options, .export_options, .extern_options, @@ -147,6 +146,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, + .modifier, => return .Enum, .@"union", @@ -885,7 +885,6 @@ pub const Type = extern union { // we can't compare these based on tags because it wouldn't detect if, // for example, a was resolved into .@"struct" but b was one of these tags. - .call_options, .prefetch_options, .export_options, .extern_options, @@ -914,6 +913,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, + .modifier, => unreachable, // needed to resolve the type before now .@"union", .union_safety_tagged, .union_tagged => { @@ -1194,7 +1194,6 @@ pub const Type = extern union { }, // we can't hash these based on tags because they wouldn't match the expanded version. - .call_options, .prefetch_options, .export_options, .extern_options, @@ -1222,6 +1221,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, + .modifier, => unreachable, // needed to resolve the type before now .@"union", .union_safety_tagged, .union_tagged => { @@ -1333,7 +1333,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -1665,7 +1665,7 @@ pub const Type = extern union { .address_space => return writer.writeAll("std.builtin.AddressSpace"), .float_mode => return writer.writeAll("std.builtin.FloatMode"), .reduce_op => return writer.writeAll("std.builtin.ReduceOp"), - .call_options => return writer.writeAll("std.builtin.CallOptions"), + .modifier => return writer.writeAll("std.builtin.CallModifier"), .prefetch_options => return writer.writeAll("std.builtin.PrefetchOptions"), .export_options => return writer.writeAll("std.builtin.ExportOptions"), .extern_options => return writer.writeAll("std.builtin.ExternOptions"), @@ -1943,7 +1943,7 @@ pub const Type = extern union { .address_space => unreachable, .float_mode => unreachable, .reduce_op => unreachable, - .call_options => unreachable, + .modifier => unreachable, .prefetch_options => unreachable, .export_options => unreachable, .extern_options => unreachable, @@ -2311,7 +2311,7 @@ pub const Type = extern union { .address_space => return Value.initTag(.address_space_type), .float_mode => return Value.initTag(.float_mode_type), .reduce_op => return Value.initTag(.reduce_op_type), - .call_options => return Value.initTag(.call_options_type), + .modifier => return Value.initTag(.modifier_type), .prefetch_options => return Value.initTag(.prefetch_options_type), .export_options => return Value.initTag(.export_options_type), .extern_options => return Value.initTag(.extern_options_type), @@ -2385,7 +2385,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -2631,7 +2631,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -2873,7 +2873,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -3257,7 +3257,7 @@ pub const Type = extern union { .inferred_alloc_mut => unreachable, .var_args_param => unreachable, .generic_poison => unreachable, - .call_options => unreachable, // missing call to resolveTypeFields + .modifier => unreachable, // missing call to resolveTypeFields .prefetch_options => unreachable, // missing call to resolveTypeFields .export_options => unreachable, // missing call to resolveTypeFields .extern_options => unreachable, // missing call to resolveTypeFields @@ -3753,7 +3753,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -4279,7 +4279,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -4306,7 +4306,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -4990,7 +4990,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -5165,7 +5165,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -5483,7 +5483,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -5565,7 +5565,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -5878,7 +5878,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -5926,7 +5926,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, @@ -5991,7 +5991,7 @@ pub const Type = extern union { address_space, float_mode, reduce_op, - call_options, + modifier, prefetch_options, export_options, extern_options, @@ -6131,7 +6131,7 @@ pub const Type = extern union { .address_space, .float_mode, .reduce_op, - .call_options, + .modifier, .prefetch_options, .export_options, .extern_options, |
