diff options
| author | gingerBill <bill@gingerbill.org> | 2019-02-23 14:42:44 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-02-23 14:42:44 +0000 |
| commit | 64bd884d94fc45600eaed9566585d455b875a87a (patch) | |
| tree | 7eb8becaf379c2caa4c539243b5b2dad1e64a703 /src/ir_print.cpp | |
| parent | a07232ea6367337d785ef07a1de659c7555357bf (diff) | |
Add "none" calling convention
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index a3fdc282b..c6e717f74 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -1052,6 +1052,7 @@ void ir_print_calling_convention(irFileBuffer *f, irModule *m, ProcCallingConven case ProcCC_CDecl: ir_write_str_lit(f, "ccc "); break; case ProcCC_StdCall: ir_write_str_lit(f, "cc 64 "); break; case ProcCC_FastCall: ir_write_str_lit(f, "cc 65 "); break; + case ProcCC_None: ir_write_str_lit(f, ""); break; default: GB_PANIC("unknown calling convention: %d", cc); } } |