aboutsummaryrefslogtreecommitdiff
path: root/src/InternPool.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/InternPool.zig')
-rw-r--r--src/InternPool.zig7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig
index 8b826458a8..130bcc1cad 100644
--- a/src/InternPool.zig
+++ b/src/InternPool.zig
@@ -959,7 +959,6 @@ pub const Index = enum(u32) {
const_slice_u8_sentinel_0_type,
anyerror_void_error_union_type,
generic_poison_type,
- var_args_param_type,
/// `@TypeOf(.{})`
empty_struct_type,
@@ -1002,6 +1001,8 @@ pub const Index = enum(u32) {
/// is not known until generic function instantiation.
generic_poison,
+ /// Used by Air/Sema only.
+ var_args_param_type = std.math.maxInt(u32) - 1,
none = std.math.maxInt(u32),
_,
@@ -1195,9 +1196,6 @@ pub const static_keys = [_]Key{
// generic_poison_type
.{ .simple_type = .generic_poison },
- // var_args_param_type
- .{ .simple_type = .var_args_param },
-
// empty_struct_type
.{ .anon_struct_type = .{
.types = &.{},
@@ -1570,7 +1568,6 @@ pub const SimpleType = enum(u32) {
type_info,
generic_poison,
- var_args_param,
};
pub const SimpleValue = enum(u32) {