From 175463d75dbde1e8e4c5a55159ab4e9446fd211c Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Tue, 7 Dec 2021 19:34:44 +0100 Subject: AstGen: implement @prefetch() builtin --- src/value.zig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/value.zig') diff --git a/src/value.zig b/src/value.zig index 02e27cd498..5df194d511 100644 --- a/src/value.zig +++ b/src/value.zig @@ -67,6 +67,7 @@ pub const Value = extern union { float_mode_type, reduce_op_type, call_options_type, + prefetch_options_type, export_options_type, extern_options_type, type_info_type, @@ -244,6 +245,7 @@ pub const Value = extern union { .float_mode_type, .reduce_op_type, .call_options_type, + .prefetch_options_type, .export_options_type, .extern_options_type, .type_info_type, @@ -434,6 +436,7 @@ pub const Value = extern union { .float_mode_type, .reduce_op_type, .call_options_type, + .prefetch_options_type, .export_options_type, .extern_options_type, .type_info_type, @@ -652,6 +655,7 @@ pub const Value = extern union { .float_mode_type => return out_stream.writeAll("std.builtin.FloatMode"), .reduce_op_type => return out_stream.writeAll("std.builtin.ReduceOp"), .call_options_type => return out_stream.writeAll("std.builtin.CallOptions"), + .prefetch_options_type => return out_stream.writeAll("std.builtin.PrefetchOptions"), .export_options_type => return out_stream.writeAll("std.builtin.ExportOptions"), .extern_options_type => return out_stream.writeAll("std.builtin.ExternOptions"), .type_info_type => return out_stream.writeAll("std.builtin.TypeInfo"), @@ -829,6 +833,7 @@ pub const Value = extern union { .float_mode_type => Type.initTag(.float_mode), .reduce_op_type => Type.initTag(.reduce_op), .call_options_type => Type.initTag(.call_options), + .prefetch_options_type => Type.initTag(.prefetch_options), .export_options_type => Type.initTag(.export_options), .extern_options_type => Type.initTag(.extern_options), .type_info_type => Type.initTag(.type_info), -- cgit v1.2.3