aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* c: fix qualifiers for array declarators lemon2026-03-191-7/+10
| | | | | | `const int x[]` was being treated as `const int x[const]`, which is wrong, and matters when `x` is a function parameter that really decays to a pointer (`int const *const x`)
* ir: do not always try to put small literals in .text lemon2026-03-192-4/+13
| | | | | OpenBSD enforces read xor execute (XOM) even in x86-64. Not aware of any other platforms that do this.
* preeliminary support for openBSD lemon2026-03-194-10/+34
|
* regalloc & emit: explicit comparisons over memcmp of small structures lemon2026-03-192-3/+19
| | | | | The one in x86-64_emit was not portable due to relying on zero initialization of inactive union fields/padding.
* cpp: fix nullptr deref for unknown target predefs lemon2026-03-191-1/+1
|
* c: remove unused initialization of decl.align lemon2026-03-191-3/+3
| | | | | The intent is for _Alignas declarations but those aren't implemented yet. And initializing that field in declarator() can mess with .sym.
* c: fix edge cases with zero sized bitfields and static initializers lemon2026-03-182-9/+12
|
* regalloc: use in-place mergesort for intervals lemon2026-03-181-60/+60
| | | | | | Instead of constructing an array and doing quicksort. i love .02% speedup microoptimizations
* cpp: do not warn for "#define X(){}" with no space after the ) lemon2026-03-181-1/+1
|
* 0.2.0 lemon2026-03-181-3/+3
| | | | Changed directory/source files structure warrants minor version update.
* Use #pragma once lemon2026-03-188-17/+12
|
* c.h: accidentally removed a const lemon2026-03-181-1/+1
|
* Refactor: use typedefs and CamelCase for aggregate types lemon2026-03-1842-2066/+2092
| | | | Looks nicer
* Refactor: antcc.h move things around lemon2026-03-171-10/+10
|
* Refactor: move some utils from antcc.h to their own headers lemon2026-03-1712-117/+136
|
* REFACTOR: finish renaming lemon2026-03-1731-116/+121
|
* REFACTOR: move sources to src/ lemon2026-03-1746-0/+21998