Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-03-02 | add data $name = section "section" ... | Drew DeVault | |
This allows you to explicitly specify the section to emit the data directive for, allowing for sections other than .data: for example, .bss or .init_array. | |||
2017-02-15 | add support for closure calls | Quentin Carbonneaux | |
Compiling languages with closures often requires passing an extra environment parameter to the called function. One solution is to use a convention, and reserve, say, the first argument for that purpose. However, that makes binding to C a little less smooth. Alternatively, QBE now provides a way to remain fully ABI compatible with C by having a "hidden" environment argument (marked with the keyword 'env'). Calling a function expecting an environment from C will make the contents of the environment undefined, but the normal arguments will be passed without alteration. Conversely, calling a C function like it is a closure by passing it an environemnt will work smoothly. | |||
2017-02-10 | support variable argument lists | Quentin Carbonneaux | |
This change is backward compatible, calls to "variadic" functions (like printf) must now be annotated (with ...). | |||
2017-01-04 | more performance improvements in the parser | Quentin Carbonneaux | |
2016-12-31 | minor bugs in lexh tool | Quentin Carbonneaux | |
2016-12-30 | new tool to improve lexing speed | Quentin Carbonneaux | |