aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/inliner.c
Commit message (Collapse)AuthorAgeFilesLines
* REFACTOR: move sources to src/ lemon2026-03-171-309/+0
|
* ir: fix inlining getting stuck on complex recursive call sequences lemon2026-03-081-8/+17
| | | | | By maintaining a proper stack of inline expansions and refusing to expand callers already present in the stack.
* inline: fix undefined value returns lemon2026-02-241-1/+2
| | | | | | Previously if an inlined function has a return statement with no value (control flow reaching the closing brace of the function), would use an invalid null reference in the inlined body. Turn it into undef.
* IR: just use an array for extended constants lemon2026-02-191-4/+3
| | | | | The extra work of using a hashtable to intern them is probably unnecessary.
* ir: basic inlining pass implementation lemon2026-02-181-0/+300