aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/builtin.c
Commit message (Collapse)AuthorAgeFilesLines
* move intern() to mem.c lemon2025-12-151-1/+0
| | | | | Being in lex.c was vestigial, since it was being used all over the frontend and backend.
* c/builtin: fix vacopy lemon2025-12-141-5/+6
|
* rename arraylength macro -> countof lemon2025-12-111-8/+8
|
* c: create dummy unreachable block after trap lemon2025-11-241-0/+1
| | | | | | Reverts 9abe27f6712. This simplies expr codegen, otherwise would manually have to check `fn->curblk != NULL` repeatedly. Later passes will easily delete those unreachable blocks
* c: __builtin_va_copy lemon2025-11-231-8/+21
|
* ir: 'trap' jump; c: __builtin_trap; lex: __has_builtin lemon2025-11-151-3/+21
|
* preeliminary va_list support lemon2025-11-141-0/+101