diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2020-10-06 22:29:29 -0600 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-10-07 04:31:20 -0400 |
| commit | 0a6863a267d88e73ec62aca2c157654020682b00 (patch) | |
| tree | 282697ef070d592623474502e02696c9b7d4011f /src/stage1/analyze.cpp | |
| parent | ae161863db544e2db20ba7705bf0ada7d3ce5c94 (diff) | |
| download | zig-0a6863a267d88e73ec62aca2c157654020682b00.tar.gz zig-0a6863a267d88e73ec62aca2c157654020682b00.zip | |
Remove .Cold calling convention.
This isn't a stable, defined calling convention, so it shouldn't be
grouped in with the others.
Closes https://github.com/ziglang/zig/issues/6556
Diffstat (limited to 'src/stage1/analyze.cpp')
| -rw-r--r-- | src/stage1/analyze.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stage1/analyze.cpp b/src/stage1/analyze.cpp index 99af1db098..88bbf6b9ac 100644 --- a/src/stage1/analyze.cpp +++ b/src/stage1/analyze.cpp @@ -949,7 +949,6 @@ const char *calling_convention_name(CallingConvention cc) { switch (cc) { case CallingConventionUnspecified: return "Unspecified"; case CallingConventionC: return "C"; - case CallingConventionCold: return "Cold"; case CallingConventionNaked: return "Naked"; case CallingConventionAsync: return "Async"; case CallingConventionInterrupt: return "Interrupt"; @@ -971,7 +970,6 @@ bool calling_convention_allows_zig_types(CallingConvention cc) { case CallingConventionAsync: return true; case CallingConventionC: - case CallingConventionCold: case CallingConventionNaked: case CallingConventionInterrupt: case CallingConventionSignal: @@ -3603,7 +3601,6 @@ static void resolve_decl_fn(CodeGen *g, TldFn *tld_fn) { tld_fn->base.resolution = TldResolutionInvalid; return; case CallingConventionC: - case CallingConventionCold: case CallingConventionNaked: case CallingConventionInterrupt: case CallingConventionSignal: |
