| Age | Commit message (Collapse) | Author |
|
The two-pass parsing of function pointer declaration is referenced from chibicc:
https://github.com/rui314/chibicc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Previously, all results of expression evaluation are pushed onto the stack. This
commit changes it to register-based evaluation. All results are stored in rax
register.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In this C code,
for (T v = expr1, u = expr2; ...; ...) { ... }
the "expr2" was silently discarded before.
|
|
|
|
|
|
|