| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-08-18 | stage2/wasm: only free types after func overwrite | Isaac Freund | |
| Functions which are free'd are not immediately removed from the binary as this would cause a shifting of function indexes. Instead, they hang around until they can be overwritten by a new function. This means that the types associated with these dead functions must also remain until the function is overwritten to avoid a type mismatch. | |||
| 2020-08-18 | stage2/wasm: write exports on flush, cleanup | Isaac Freund | |
| Exports now have a dirty flag and are rewritten on flush if this flag has been set. A couple other minor changes have been made based on Andrew's review. | |||
| 2020-08-18 | stage2/wasm: implement trivial codegen | Isaac Freund | |
| We now generate code for returning constants of any of the basic types. | |||
| 2020-08-18 | stage2/wasm: implement basic container generation | Isaac Freund | |
| Thus far, we only generate the type, function, export, and code sections. These are sufficient to generate and export simple functions. Codegen is currently hardcoded to `i32.const 42`, the main goal of this commit is to create infrastructure for the container format which will work with incremental compilation. | |||
| 2020-08-18 | Merge pull request #6060 from Vexu/stage2 | Veikka Tuominen | |
| Stage2: more optionals stuff | |||
| 2020-08-17 | Merge pull request #6046 from heidezomp/std-log-scoped-part2 | Andrew Kelley | |
| std.log: (breaking) remove scope parameter from logging functions | |||
| 2020-08-17 | address review feedback | Vexu | |
| 2020-08-17 | Move Mach-O to link/MachO.zig submodule | Jakub Konka | |
| Remove `ptrWidth` since as of Catalina, all apps are 64bits only. Signed-off-by: Jakub Konka <kubkon@jakubkonka.com> | |||
| 2020-08-17 | Add skeleton for MachO support in stage2 | Jakub Konka | |
| This commit adds an empty skeleton for MachO format support in stage2. | |||
| 2020-08-17 | stage2: astgen for if and while with error unions | Vexu | |
| 2020-08-17 | stage2: astgen for if and while with optionals | Vexu | |
| 2020-08-17 | stage2: fix optimization causing wrong optional child types | Vexu | |
| 2020-08-17 | stage2: astgen for ptr types and address of | Vexu | |
| 2020-08-17 | Merge pull request #6048 from pixelherodev/cleanup | Andrew Kelley | |
| Some minor cleanup and error handling | |||
| 2020-08-17 | stage2: fix signed <-> unsigned Value casts | Isaac Freund | |
| 2020-08-16 | Astgen: further cleanup | Noam Preil | |
| 2020-08-16 | Module: panic when encountering unimplemented node | Noam Preil | |
| 2020-08-16 | CBE: minor doc change | Noam Preil | |
| 2020-08-16 | astgen: minor cleanup | Noam Preil | |
| 2020-08-15 | stage2: implement zig version | Andrew Kelley | |
| 2020-08-15 | stage2: codegen for labeled blocks | Andrew Kelley | |
| 2020-08-15 | stage2: astgen for labeled blocks and labeled breaks | Andrew Kelley | |
| 2020-08-14 | stage2: populate some of the astgen switch possibilities | Andrew Kelley | |
| Idea here is simply to entice people to contribute astgen code :) | |||
| 2020-08-14 | stage2 astgen for LabeledBlock | Andrew Kelley | |
| 2020-08-14 | std.zig.ast: extract out Node.LabeledBlock from Node.Block | Andrew Kelley | |
| This is part of an ongoing effort to reduce size of in-memory AST. This enum flattening pattern is widespread throughout the self-hosted compiler. This is a API breaking change for consumers of the self-hosted parser. | |||
| 2020-08-14 | stage2: proper semantic analysis of improper returning of implicit void | Andrew Kelley | |
| 2020-08-14 | stage2: astgen for non-labeled blocks | Andrew Kelley | |
| 2020-08-13 | stage2: implement while loops (bool condition) | Andrew Kelley | |
| * introduce a dump() function on Module.Fn which helpfully prints to stderr the ZIR representation of a function (can be called before attempting to codegen it). This is a debugging tool. * implement x86 codegen for loops * liveness: fix analysis of conditional branches. The logic was buggy in a couple ways: - it never actually saved the results into the IR instruction (fixed now) - it incorrectly labeled operands as dying when their true death was after the conditional branch ended (fixed now) * zir rendering is enhanced to show liveness analysis results. this helps when debugging liveness analysis. * fix bug in zir rendering not numbering instructions correctly closes #6021 | |||
| 2020-08-13 | stage2: zir_sema for loops | Andrew Kelley | |
| Also remove the "repeat" instruction and make it implied to be at the end of a Loop body. | |||
| 2020-08-14 | Merge pull request #6045 from Vexu/block | Veikka Tuominen | |
| Add error for unused/duplicate labels. | |||
| 2020-08-13 | stage2: implement safety checks at the zir_sema level | Andrew Kelley | |
| 2020-08-13 | translate-c: add return if one is needed | Vexu | |
| 2020-08-13 | update std and src-self-hosted for std.log breaking change | heidezomp | |
| 2020-08-13 | stage2: split unwrap_optional to safe and unsafe verions | Vexu | |
| 2020-08-13 | stage2: implement unwrap optional | Vexu | |
| 2020-08-13 | stage2: gen optional types | Vexu | |
| 2020-08-13 | stage2: add optional types | Vexu | |
| 2020-08-13 | translate-c: ensure generated labels are unique | Vexu | |
| 2020-08-12 | stage2: anyerror -> explicit error set | Andrew Kelley | |
| 2020-08-12 | CBE: renderValue pays attention to Type, not Tag | Noam Preil | |
| 2020-08-12 | CBE: fix handling of IR dependencies | Noam Preil | |
| 2020-08-12 | CBE: Sorta working intcasts? | Noam Preil | |
| 2020-08-12 | CBE: support unreachable on GCC | Noam Preil | |
| 2020-08-12 | CBE: working parameters | Noam Preil | |
| 2020-08-12 | Tests: print generated C on test failure | Noam Preil | |
| 2020-08-12 | CBE: Use zig_noreturn instead of noreturn to avoid namespace conflict | Noam Preil | |
| 2020-08-12 | CBE: improve noreturn definition, support noreturn on MSVC | Noam Preil | |
| 2020-08-12 | stage2: astgen for while loops | Andrew Kelley | |
| See #6021 | |||
| 2020-08-13 | add error for unused/duplicate block labels | Vexu | |
| 2020-08-11 | stage2: basic support for parameters .debug_info | Andrew Kelley | |
| see #6014 | |||
