From 5ea94e7715607e986298908536cdd3d9dfdd0ce9 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 14 Mar 2022 12:28:52 -0700 Subject: stage2: rework Value storage of structs and arrays Now they both use `Value.Tag.aggregate`. Additionally the LLVM backend now has implemented lowering of tuple values. --- src/type.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/type.zig') diff --git a/src/type.zig b/src/type.zig index 10f0b0325d..89f0e84b70 100644 --- a/src/type.zig +++ b/src/type.zig @@ -3568,6 +3568,8 @@ pub const Type = extern union { .const_slice_u8, .const_slice, .mut_slice, + .tuple, + .empty_struct_literal, => return null, .pointer => return self.castTag(.pointer).?.data.sentinel, -- cgit v1.2.3