aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c_eval.c
Commit message (Collapse)AuthorAgeFilesLines
* eval: fix errata in EGETF addr caselemon2026-03-221-1/+1
| | | | | | | The symref given by staticaddrof is in ex2, not sub. This worked by chance (with sub->ssym.off happening to be zero) on linux, but on OpenBSD it would give garbage. Which would result in messed up relocations later leading to miscompilations.
* IR: add 3rd operand to Instrlemon2026-03-221-1/+2
| | | | | The motivation is for aarch64 msub/madd instrs, for isel to produce. But it should be useful for other things too.
* c: better preserve source location in some caseslemon2026-03-201-0/+4
|
* c: fix edge cases with zero sized bitfields and static initializerslemon2026-03-181-2/+6
|
* Refactor: use typedefs and CamelCase for aggregate typeslemon2026-03-181-21/+21
| | | | Looks nicer
* REFACTOR: finish renaminglemon2026-03-171-1/+1
|
* REFACTOR: move sources to src/lemon2026-03-171-0/+437