aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/eval.c
Commit message (Collapse)AuthorAgeFilesLines
* c: SYM expr should store decl ref as an index, not pointer lemon2025-12-301-1/+1
| | | | | | | | Because envdecls (now declsbuf) can be resized and invalidate those pointers. I missed this because the default initialization size of that buffer (and the fact that it would mostly only manifest with function-local expressions) made it not really come up in practice. Silly
* eval: long double placeholder lemon2025-12-141-1/+2
|
* c: handle more static eval edgecases for int -> ptr lemon2025-12-131-4/+19
| | | | | sqlite3 was falling back to `((void*)&((char*)0)[X])` for INT_TO_PTR, which this handles now.
* eval: &*x address constants lemon2025-12-081-0/+4
|
* eval: fix float cmps lemon2025-12-051-0/+2
|
* c: more static initializer fixes lemon2025-11-261-0/+2
|
* c: fix static eval for address of some array refs lemon2025-11-221-1/+4
|
* eval: fix enum edge case lemon2025-11-191-2/+2
|
* eval: fix b0c0f2d2d885 for ptr convertible lemon2025-11-191-1/+1
|
* eval: only isaddrconst for ptrs lemon2025-11-161-1/+1
|
* amd64: fix aggregate abi stuff;; ir: fold, peephole optimizing constructors lemon2025-11-051-2/+4
|
* c erratas lemon2025-10-231-1/+1
|
* eval: fix indexing string literal lemon2025-10-231-2/+2
|
* c irgen fixes lemon2025-10-191-6/+14
|
* Organize source files into directories lemon2025-10-191-0/+316