| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-06-15 | stage1: implement type coercion of anon struct literal to struct | Andrew Kelley | |
| closes #3672 | |||
| 2020-06-09 | Return u32 in @wasmMemorySize instead of i32 | Jakub Konka | |
| 2020-06-09 | Return should be i32 due to error signaling in memory.grow | Jakub Konka | |
| Also, fix tests. | |||
| 2020-06-09 | Fix builtins to return and accept u32 instead of i32 | Jakub Konka | |
| 2020-06-09 | Expose full llvm intrinsic | Jakub Konka | |
| 2020-06-09 | Add builtin for llvm.wasm.memory.grow.i32 intrinsic | Jakub Konka | |
| This will allow the developer to request additional memory pages from the runtime to be allocated for the Wasm app. Typical usage: ```zig var wasm_pages = @wasmMemorySize(); @wasmMemoryGrow(1); @import("std").debug.assert((wasm_pages + 1) == @wasmMemorySize()); ``` | |||
| 2020-06-09 | Add builtin for llvm.wasm.memory.size.i32 instrinsic | Jakub Konka | |
| This will allow the developer to poll the runtime for currently allocated memory in the number of Wasm pages. Typical usage: ```zig var wasm_pages = @wasmMemorySize(); @import("std").debug.assert(wasm_pages > 0); ``` | |||
| 2020-06-09 | Merge pull request #5539 from mikdusan/issue5474 | Andrew Kelley | |
| stage1: fix constness in some corner cases | |||
| 2020-06-08 | stage1: fix crash on slice byte reinterpretation | xackus | |
| 2020-06-05 | stage1: fix constness in some corner cases | Michael Dusan | |
| - for one-possible-value types, ir_analyze_struct_field_ptr() no longer hardcodes const/volatile - when slicing arrays, ir_analyze_instruction_slice() no longer consults ConstValSpecialStatic closes #5474 | |||
| 2020-05-31 | stage1: fix unresolved inferred error sets | xackus | |
| 2020-05-29 | Support equality comparison for optional to non-optional (?T ==/!= T) | foobles | |
| extracted function ir_try_evaluate_bin_op_const extracted type_is_self_comparable function renamed ir_try_evaluate_bin_op_const to ir_try_evaluate_bin_op_cmp_const implemented analysis of ?T == T added ir_set_cursor_at_end_and_append_basic_block_gen use build_br_gen and ir_set_cursor_at_end_and_append_block_gen added ir_append_basic_block_gen removed include of all_types in ir.cpp extracted compile-time and runtime evaluation of cmp_optional_non_optional to separate functions closes #5390 closes #1332 | |||
| 2020-05-30 | Merge pull request #5184 from alexnask/typeof_extern_call | Veikka Tuominen | |
| Extern functions are now evaluated to undefined values at comptime in TypeOf calls. | |||
| 2020-05-26 | Add caller location tracking for asserts (ir_assert, src_assert, ↵ | foobles | |
| ir_assert_gen) (#5393) | |||
| 2020-05-23 | fix regression in compile errors | Andrew Kelley | |
| 2020-05-20 | stage1: fix false positive redeclared variable compile error | Andrew Kelley | |
| 2020-05-18 | Add TypeOf resolution of dereferences and struct fields of undefined values | Alexandros Naskos | |
| 2020-05-17 | Merge pull request #5057 from xackus/opaque-param | Andrew Kelley | |
| stage1: fix assert fail on opaque fn ptr param | |||
| 2020-05-12 | fix `@intToFloat` on comptime_floats | Vexu | |
| 2020-05-08 | Merge pull request #4932 from Qix-/fix-private-access | Vexu | |
| Fix private access | |||
| 2020-05-08 | fix private member checking for non-canonical invocations (fixes #4909) | Josh Junon | |
| 2020-05-07 | stage1: handle all cases of invalid struct field default value | xackus | |
| 2020-05-05 | Merge pull request #5272 from tadeokondrak/noasync-to-nosuspend | Andrew Kelley | |
| Noasync to nosuspend | |||
| 2020-05-05 | Rename noasync to nosuspend in C++ compiler | Tadeo Kondrak | |
| 2020-05-04 | Merge pull request #5267 from Vexu/const-call | Vexu | |
| Fix missing compile error on call assigned to const | |||
| 2020-05-04 | fix missing compile error on call assigned to const | Vexu | |
| 2020-05-04 | stage1: fix assert fail on opaque fn ptr param | xackus | |
| 2020-05-01 | stage1: cleanup | Michael Dusan | |
| - remove unused IrInstSrcOptionalUnwrapPtr.initializing | |||
| 2020-04-28 | Validate vector types for @Vector | Tadeo Kondrak | |
| 2020-04-27 | implement @Type() for more types | Tadeo Kondrak | |
| 2020-04-27 | Cleaned up code, added a testcase for an extern member function call | Alexandros Naskos | |
| 2020-04-27 | Added tests. | Alexandros Naskos | |
| 2020-04-27 | Extern functions can now be evaluated to undefined values in TypeOfs | Alexandros Naskos | |
| 2020-04-24 | stage1: Prevent the creation of illegal ptr types | LemonBoy | |
| Closes #5140 | |||
| 2020-04-23 | stage1: fix crash on accessing an array of size zero with runtime index | xackus | |
| 2020-04-23 | stage1: Fix bitcast of immediate to ptr type (#5131) | LemonBoy | |
| Consider a (legal according to the `@bitCast` rules) conversion from u16 to [2]u8: since the former is a scalar and the latter is a pointer (arrays are represented at pointers in the codegen phase) we have to allocate a temporary slot on the stack and then bitcast the resulting pointer to the desired destination type. Beware that this means the lifetime of the resulting value is the same of the function it's contained in and for all intents and purposes should be regarded as a local (eg. it should not escape). Closes #4395 Closes #5121 | |||
| 2020-04-22 | Merge pull request #5130 from ziglang/stage2-ir | Andrew Kelley | |
| beginnings of non-LLVM self-hosted backend | |||
| 2020-04-22 | stage1: Prevent the creation of illegal pointer types | LemonBoy | |
| Changing the pointer length from Unknown to Single/C now resets the sentinel value too. Closes #5134 | |||
| 2020-04-21 | ir: analyze int casting | Andrew Kelley | |
| 2020-04-21 | Added peer type resolution for [*]T and *[N]T. | elucent | |
| 2020-04-21 | cleanup: IrBasicBlockGen | Michael Dusan | |
| remove unused param from `ir_ref_inst_gen` | |||
| 2020-04-21 | cleanup: IrBasicBlockGen | Michael Dusan | |
| remove unused members { parent, index, ref_count } | |||
| 2020-04-20 | stage1: Handle errors when generating block IR | LemonBoy | |
| Closes #5005 | |||
| 2020-04-19 | fix uninitialized ZigValue | xackus | |
| 2020-04-18 | fix typeInfo tests | Vexu | |
| 2020-04-17 | add error for non-exter variadic functions | Vexu | |
| 2020-04-17 | fix missing compile errors on builtin cast functions | Vexu | |
| 2020-04-14 | Shift error message now says "fixed-width integer type" instead of just ↵ | foobles | |
| "integer type" (#5028) * error message of ir_analyze_bit_shift now more accurate/specific * fixed compile error test to match bit shift error message | |||
| 2020-04-09 | add error message for invalid assignment | Vexu | |
| 2020-04-08 | Merge pull request #4975 from Vexu/param-reassign | Andrew Kelley | |
| Fix missing compile error on assign to slice and array parameters | |||
