| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-12-10 | behavior: add test coverage for slice and array-related issues | r00ster91 | |
| Closes #10684 Closes #6905 Closes #8646 | |||
| 2022-12-10 | behavior: add test coverage for corrupted slice in release | r00ster91 | |
| Closes #7325 | |||
| 2022-12-10 | behavior: add test coverage for slicing zero length array field of struct | r00ster91 | |
| Closes #11787 | |||
| 2022-12-08 | TypedValue: fix handling of tuples represented as empty_struct_value | Veikka Tuominen | |
| 2022-12-07 | disable failing behavior tests with -ofmt=c -target x86_64-windows | Andrew Kelley | |
| and enable CI checks for the C backend on Windows. | |||
| 2022-12-06 | remove references to stage1 in behavior tests | Andrew Kelley | |
| Good riddance. | |||
| 2022-12-03 | cbe: add forward declarations for optionals and error unions | Jacob Young | |
| Arrays will have to wait for type rewrite. | |||
| 2022-12-03 | cbe: implement multiple exports of a symbols | Jacob Young | |
| 2022-12-03 | cbe: don't emit extern decls that are already exported | Jacob Young | |
| 2022-12-03 | Sema: fix comparisons between lazy and runtime values | Veikka Tuominen | |
| Closes #12498 | |||
| 2022-12-01 | Merge pull request #13715 from Vexu/cbe | Andrew Kelley | |
| cbe bug fixes and improvements | |||
| 2022-11-30 | wasm: enable behavior tests for packed structs | Luuk de Gram | |
| 2022-11-30 | AstGen: fix incorrect handling of source cursor with shift builtins | Veikka Tuominen | |
| Closes #13714 | |||
| 2022-11-30 | cbe: ensure test and tagName function names are unique | Veikka Tuominen | |
| 2022-11-29 | llvm: implement `union_init` for packed unions | Veikka Tuominen | |
| Closes #13664 | |||
| 2022-11-18 | Sema: optimize compare comptime float with int | kkHAIKE | |
| 2022-11-10 | Add test case for #12043 | Cody Tapscott | |
| This bug is already resolved, just want to make sure we don't lose the test case. Closes #12043 | |||
| 2022-11-10 | stage2: Be more strict about eliding loads | Cody Tapscott | |
| This change makes any of the `*_val` instructions check whether it's safe to elide copies for by-ref types rather than performing this elision blindly. AIR instructions fixed: - .array_elem_val - .struct_field_val - .unwrap_errunion_payload - .try - .optional_payload These now all respect value semantics, as expected. P.S. Thanks to Andrew for the new way to approach this. Many of the lines here are from his recommended change, which comes with the significant advantage that loads are now as small as the intervening memory access allows. Co-authored by: Andrew Kelley <andrew@ziglang.org> | |||
| 2022-11-10 | stage2: Fix comptime array initialization | Cody Tapscott | |
| This is a follow-up to 9dc98fba, which made comptime initialization patterns for union/struct more robust, especially when storing to comptime-known pointers (and globals). Resolves #13063. | |||
| 2022-11-04 | Sema: resolve lazy align in zirReify for union fields | Micah Switzer | |
| Closes #13435 | |||
| 2022-11-01 | cbe: support arrays in more places | Jacob Young | |
| 2022-11-01 | cbe: fix optional access | Jacob Young | |
| 2022-11-01 | cbe: fix threadlocal | Jacob Young | |
| 2022-10-30 | behavior: enable fixed cbe tests | Jacob Young | |
| 2022-10-29 | cbe: implement optional slice representation change | Jacob Young | |
| 2022-10-27 | Merge pull request #13288 from Vexu/opt-slice | Andrew Kelley | |
| Optimize size of optional slices (+ some fixes) | |||
| 2022-10-27 | Sema: use `runtime_value` instead of creating allocs | Veikka Tuominen | |
| 2022-10-27 | AstGen: fix `ref`ing inferred allocs | Veikka Tuominen | |
| Closes #13285 | |||
| 2022-10-27 | llvm: handle namespace like packed structs | Veikka Tuominen | |
| Closes #13159 Closes #13188 | |||
| 2022-10-25 | cbe: add support for all float literals types | Jacob Young | |
| 2022-10-25 | cbe: implement 128-bit and fix smaller integer builtins | Jacob Young | |
| 2022-10-25 | cbe: fix typedef declaration order | Jacob Young | |
| 2022-10-25 | cbe: get enough things working to support basic programs | Jacob Young | |
| * Enable advanced start support. * Enable advanced test_runner support. * Zig Language Reference's Hello World now works. | |||
| 2022-10-25 | cbe: fix atomics | Jacob Young | |
| 2022-10-25 | cbe: misc fixes | Jacob Young | |
| 2022-10-25 | cbe: implement ptr slice ptr | Jacob Young | |
| 2022-10-25 | cbe: fix global access fix | Jacob Young | |
| 2022-10-25 | cbe: fix infinite recursion on recursive types | Jacob Young | |
| 2022-10-25 | behavior: enable stage2_c tests that are currently passing | Jacob Young | |
| Also fix C warnings triggered by these tests. | |||
| 2022-10-25 | c: hacks to fix incompatible redeclaration of library function warnings | Jacob Young | |
| 2022-10-21 | Re-factor: Change AstGen.ResultLoc to be a struct | Cody Tapscott | |
| This re-factor is intended to make it easier to track what kind of operator/expression consumes a result location, without overloading the ResultLoc union for this purpose. This is used in the following commit to keep track of initializer expressions of `const` variables to avoid popping error traces pre-maturely. Hopefully this will also be useful for implementing RLS temporaries in the future. | |||
| 2022-10-20 | Sema: add missing calls to `wip_captures.finalize` | Veikka Tuominen | |
| Closes #13171 | |||
| 2022-10-19 | Sema: resolve tuple default values before hashing | Veikka Tuominen | |
| Closes #12488 | |||
| 2022-10-19 | Sema: remove unresolved inferred allocs | Veikka Tuominen | |
| Closes #2557 | |||
| 2022-10-19 | Sema: respect inline call semantics | Veikka Tuominen | |
| If an argument is comptime-known but shouldn't be create an alloc to store it in to get a runtime-known value. | |||
| 2022-10-17 | Sema: handle noreturn in boolBr | Veikka Tuominen | |
| Closes #13112 | |||
| 2022-10-15 | llvm: fix lowering of runtime refs to comptime-only decls | Jacob Young | |
| When we want a runtime pointer to a zero-bit value we use an undef pointer, but what if we want a runtime pointer to a comptime-only value? Normally, if `T` is a comptime-only type such as `*const comptime_int`, then `*const T` would also be a comptime-only type, so anything referencing a comptime-only value is usually also comptime-only, and therefore not emitted to the executable. However, what if instead we have a `*const anyopaque` pointing to a comptime-only value? Certainly, `*const anyopaque` is a runtime type, and so we need some runtime value to store, even when it happens to be pointing to a comptime-only value. In this case we want to do the same thing as we do when pointing to a zero-bit value, so we use `hasRuntimeBits` to handle both cases instead of ignoring comptime. Closes #12025 | |||
| 2022-10-15 | llvm: fix bug lowering aggregate_init with a byref sentinel | Jacob Young | |
| Closes #12972 | |||
| 2022-10-13 | stage1: Skip new tests that never passed in stage1 | Cody Tapscott | |
| This gets the behavior tests passing for stage1 again. | |||
| 2022-10-13 | Sema: add float128IntPartToBigInt to fix compare comptime float with int | kkHAIKE | |
