diff options
| author | Alexandros Naskos <alex_naskos@hotmail.com> | 2018-04-27 04:29:50 +0300 |
|---|---|---|
| committer | Alexandros Naskos <alex_naskos@hotmail.com> | 2018-04-27 04:29:50 +0300 |
| commit | 8f703f919f13e23b2c09f577a446aabb7799e27c (patch) | |
| tree | 23300f102b624e9867c5fc58bc229f1f38bd61b2 /src/codegen.cpp | |
| parent | a2dadbc206f80dcf39b42f3be97a8d74795d0381 (diff) | |
| download | zig-8f703f919f13e23b2c09f577a446aabb7799e27c.tar.gz zig-8f703f919f13e23b2c09f577a446aabb7799e27c.zip | |
Added Fn TypeInfo generation.
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 873cf18072..ee85d7d3c4 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -6480,16 +6480,17 @@ static void define_builtin_compile_vars(CodeGen *g) { " };\n" "\n" " pub const FnArg = struct {\n" - " is_comptime: bool,\n" - " name: []const u8,\n" + " is_generic: bool,\n" + " is_noalias: bool,\n" " arg_type: type,\n" " };\n" "\n" " pub const Fn = struct {\n" " calling_convention: CallingConvention,\n" " is_generic: bool,\n" - " is_varargs: bool,\n" + " is_var_args: bool,\n" " return_type: type,\n" + " async_allocator_type: type,\n" " args: []FnArg,\n" " };\n" "\n" |
