aboutsummaryrefslogtreecommitdiff
path: root/src-self-hosted/type.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-06 14:07:56 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-01-06 14:07:56 -0500
commit0a9daeb37e997ff75dcd16d1fc3b4cc143314e85 (patch)
tree05ca7f6b64b1e40fc16a595816f3a632a986617c /src-self-hosted/type.zig
parentc30106c90665079f525129e344cc1c13e4db162b (diff)
parentd09bd3d86c4d36ad608a91b36c9a6eb6208c9626 (diff)
downloadzig-0a9daeb37e997ff75dcd16d1fc3b4cc143314e85.tar.gz
zig-0a9daeb37e997ff75dcd16d1fc3b4cc143314e85.zip
Merge branch 'cc-work' of https://github.com/LemonBoy/zig into LemonBoy-cc-work
Diffstat (limited to 'src-self-hosted/type.zig')
-rw-r--r--src-self-hosted/type.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/src-self-hosted/type.zig b/src-self-hosted/type.zig
index d3f3ba746a..d4ffc355c0 100644
--- a/src-self-hosted/type.zig
+++ b/src-self-hosted/type.zig
@@ -337,7 +337,7 @@ pub const Type = struct {
}
};
- const CallingConvention = builtin.TypeInfo.CallingConvention;
+ const CallingConvention = builtin.CallingConvention;
pub const Param = struct {
is_noalias: bool,
@@ -352,6 +352,7 @@ pub const Type = struct {
.Naked => "nakedcc ",
.Stdcall => "stdcallcc ",
.Async => "async ",
+ else => unreachable,
};
}