| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-02-25 | ir: Fix array to slice conversion for zero-sized arrays | LemonBoy | |
| Closes #3848 | |||
| 2020-02-25 | ir: Various fixes for comptime ptr handling | LemonBoy | |
| * Correctly fold ptrToInt on optional types * Generate null as ConstPtrSpecialNull in intToPtr * Correctly stop ptrToInt on ?*T where T is zero-sized Closes #4535 | |||
| 2020-02-25 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-02-25 | Merge pull request #4515 from mikdusan/stage1-gen-constants | Michael Dusan | |
| stage1: free more heap after analysis | |||
| 2020-02-25 | remove `@IntType` and `@ArgType` (mostly) from the compiler | Vexu | |
| 2020-02-24 | remove `@typeId`, `@memberCount`, `@memberName` and `@memberType` from the ↵ | Vexu | |
| compiler | |||
| 2020-02-23 | nuke @bytesToSlice, @sliceToBytes in stage1 | xackus | |
| 2020-02-20 | stage1: free more heap after analysis | Michael Dusan | |
| - immediately free dangling IrInstGenConst after analysis - fixup mem::List params `&Allocator` → `*Allocator` | |||
| 2020-02-20 | ir: Compile error on result_loc type mismatch w/ slicing | LemonBoy | |
| Closes #4508 | |||
| 2020-02-18 | Merge pull request #4474 from LemonBoy/saukerkraut | Andrew Kelley | |
| Patches | |||
| 2020-02-18 | Makes the declaration slice resolve lazely when using `@typeInfo` | Timon Kruiper | |
| This way all the declarations in a container won't be resolved untill the user actually uses the decls slice in the builtin TypeInfo union. | |||
| 2020-02-16 | ir: Avoid invalidating the decl_table iterator | LemonBoy | |
| Collect the declarations to resolve first and run resolve_top_level_decl on them later. Closes #4310 | |||
| 2020-02-16 | ir: Prevent crash when indexing undefined ptr to array | LemonBoy | |
| Closes #4471 | |||
| 2020-02-16 | Implement noasync awaits | Andrew Kelley | |
| Note that there is not yet runtime safety for this. See #3157 | |||
| 2020-02-14 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-02-14 | ir: Make all the payload captures do a copy | LemonBoy | |
| The payload doesn't alias anymore the same memory it comes from and is instead a fresh copy of the original object. | |||
| 2020-02-13 | ir: Don't crash when converting undefined ptrs | LemonBoy | |
| 2020-02-13 | ir: Allow implicit conversion between vector types | LemonBoy | |
| Only valid when the number of elements match and the types are compatible. Fixes #4334 | |||
| 2020-02-11 | ir: Fix erroneous error message for ptr casts | LemonBoy | |
| Don't blindly throw an error if two integer types are checked for compatibility. Bug reported in #4430 | |||
| 2020-02-10 | Merge pull request #4389 from mikdusan/stage1-mem | Michael Dusan | |
| stage1: memory/report overhaul | |||
| 2020-02-10 | stage1: memory/report overhaul | Michael Dusan | |
| - split util_base.hpp from util.hpp - new namespaces: `mem` and `heap` - new `mem::Allocator` interface - new `heap::CAllocator` impl with global `heap::c_allocator` - new `heap::ArenaAllocator` impl - new `mem::TypeInfo` extracts names without RTTI - name extraction is enabled w/ ZIG_ENABLE_MEM_PROFILE=1 - new `mem::List` takes explicit `Allocator&` parameter - new `mem::HashMap` takes explicit `Allocator&` parameter - add Codegen.pass1_arena and use for all `ZigValue` allocs - deinit Codegen.pass1_arena early in `zig_llvm_emit_output()` | |||
| 2020-02-10 | Add cast between [*c]T and ?[*:0]T on fn parameter | Timon Kruiper | |
| Fixes #4176 | |||
| 2020-02-10 | compile error instead of abort for unimplemented `@typeInfo` | Andrew Kelley | |
| of `@Frame(func)`. Closes #3995 | |||
| 2020-02-10 | fix compiler assertion when duplicating fields... | Andrew Kelley | |
| ...in nested anonymous struct literals closes #4391 | |||
| 2020-02-10 | Merge remote-tracking branch 'origin/master' into llvm10 | Andrew Kelley | |
| 2020-02-10 | Merge pull request #4404 from ziglang/async-std | Andrew Kelley | |
| a big step towards std lib integration with async I/O | |||
| 2020-02-09 | fix not checking type of return pointer | Andrew Kelley | |
| Thanks to Vexu for the test cases. Closes #3422 Closes #3646 Closes #3224 Closes #3327 Closes #3269 | |||
| 2020-02-09 | fix defer interfering with return value spill | Andrew Kelley | |
| 2020-02-08 | solve previous commit a better way | Andrew Kelley | |
| 2020-02-08 | Revert "properly spill optional payload capture value" | Andrew Kelley | |
| This reverts commit 80ba21b83cd13849c1d1d9cdebfa070b03f334d3. | |||
| 2020-02-08 | properly spill optional payload capture value | Andrew Kelley | |
| 2020-02-05 | Fix edge case in cast between fn with varargs | LemonBoy | |
| * Prevent the next_param_index to become greater than the param_count one as it's expected by every other function. * Fix a typo in a error message. Closes #4381 | |||
| 2020-01-30 | drop @newStackCall | Andrew Kelley | |
| this was causing unrelated behavior tests to fail. if this commit is reverted, the docs are good, but `@newStackCall` is already deprecated in favor of `@call`, supplying the `stack` property. | |||
| 2020-01-29 | simplify int/float comparison | Andrew Kelley | |
| 2020-01-29 | Fix comptime float-int comparisons | LemonBoy | |
| Closes #4259 | |||
| 2020-01-29 | Fix edge case in switch with single else | LemonBoy | |
| ir_gen_switch_expr doesn't set the switch_br field at all if there are zero cases, detect this situation and handle it gracefully. Closes #4322 | |||
| 2020-01-29 | Add a spill to while error union | Benjamin Feng | |
| 2020-01-28 | Add a spill to while optional | Benjamin Feng | |
| 2020-01-28 | fix more compile error test regressions | Andrew Kelley | |
| 2020-01-28 | fix result locations not handling undefined correctly | Andrew Kelley | |
| 2020-01-28 | fix error message column/line number regressions | Andrew Kelley | |
| 2020-01-28 | fix regression of storing optional with 0-bit payload | Andrew Kelley | |
| 2020-01-28 | fix 0-bit child type coerced to optional return ptr result location | Andrew Kelley | |
| by un-special-casing 0 bit types in result locations | |||
| 2020-01-27 | fix line, column numbers of compile errors | Andrew Kelley | |
| 2020-01-27 | add missing spill for for loops with pointer elems | Andrew Kelley | |
| 2020-01-27 | fix auto created variables not having correct alignment | Andrew Kelley | |
| 2020-01-27 | fix not handling undefined u0 correctly | Andrew Kelley | |
| 2020-01-27 | fix triple level result location with bitcast sandwich | Andrew Kelley | |
| ...passed as tuple element | |||
| 2020-01-27 | `@bitCast` result location: fix passing invalid alignment | Andrew Kelley | |
| when the value has 0 bits | |||
| 2020-01-27 | fix nested bitcast passed as tuple element | Andrew Kelley | |
