aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-02-23 13:10:23 +0000
committergingerBill <bill@gingerbill.org>2021-02-23 13:10:23 +0000
commit28ed310f317d48835f089b6a6102259696b0f84c (patch)
tree80ce57ddd4d997d75458c108ce858fac24f10349 /src/types.cpp
parenta652c24ac3c8e592d413b3d3123e750fcaf314db (diff)
Remove `"pure"` and `"pure_none"` calling conventions
Diffstat (limited to 'src/types.cpp')
-rw-r--r--src/types.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/types.cpp b/src/types.cpp
index b1d69079b..aec6de8bd 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -903,7 +903,6 @@ Type *alloc_type_named(String name, Type *base, Entity *type_name) {
bool is_calling_convention_none(ProcCallingConvention calling_convention) {
switch (calling_convention) {
case ProcCC_None:
- case ProcCC_PureNone:
case ProcCC_InlineAsm:
return true;
}
@@ -3610,15 +3609,10 @@ gbString write_type_to_string(gbString str, Type *type) {
case ProcCC_FastCall:
str = gb_string_appendc(str, " \"fastcall\" ");
break;
- case ProcCC_PureNone:
- str = gb_string_appendc(str, " \"pure_none\" ");
break;
case ProcCC_None:
str = gb_string_appendc(str, " \"none\" ");
break;
- case ProcCC_Pure:
- str = gb_string_appendc(str, " \"pure\" ");
- break;
// case ProcCC_VectorCall:
// str = gb_string_appendc(str, " \"vectorcall\" ");
// break;