From 7ada59f873738931b4d162372dff0a33442112b6 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Mon, 4 May 2020 09:06:20 -0600 Subject: remove nakedcc/stdcallcc/async fn/extern fn fnproto --- src/analyze.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/analyze.cpp') diff --git a/src/analyze.cpp b/src/analyze.cpp index 4c3103c48c..39f797a9ec 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -1528,8 +1528,6 @@ ZigType *get_generic_fn_type(CodeGen *g, FnTypeId *fn_type_id) { } CallingConvention cc_from_fn_proto(AstNodeFnProto *fn_proto) { - if (fn_proto->is_async) - return CallingConventionAsync; // Compatible with the C ABI if (fn_proto->is_extern || fn_proto->is_export) return CallingConventionC; -- cgit v1.2.3