aboutsummaryrefslogtreecommitdiff
path: root/src/type.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-05-30 21:18:10 -0400
committerGitHub <noreply@github.com>2022-05-30 21:18:10 -0400
commitc3ef4ac15f4aa0a4bbf546fb46745d445b97d717 (patch)
tree98158ea6835297c116bbaf2735d32e556e8741c2 /src/type.zig
parentc84f5a5f91d31b20b2e187d84fc8a80a190a1212 (diff)
parentbd89a73d5289536948b052eb7f052d6de193441b (diff)
downloadzig-c3ef4ac15f4aa0a4bbf546fb46745d445b97d717.tar.gz
zig-c3ef4ac15f4aa0a4bbf546fb46745d445b97d717.zip
Merge pull request #11752 from ziglang/zir-fancy-fns
stage2: add missing data to ZIR encoding of functions
Diffstat (limited to 'src/type.zig')
-rw-r--r--src/type.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/type.zig b/src/type.zig
index 145ae4904a..ebb8bfd7c3 100644
--- a/src/type.zig
+++ b/src/type.zig
@@ -6120,6 +6120,10 @@ pub const Type = extern union {
cc: std.builtin.CallingConvention,
is_var_args: bool,
is_generic: bool,
+ align_is_generic: bool = false,
+ cc_is_generic: bool = false,
+ section_is_generic: bool = false,
+ addrspace_is_generic: bool = false,
pub fn paramIsComptime(self: @This(), i: usize) bool {
assert(i < self.param_types.len);