aboutsummaryrefslogtreecommitdiff
path: root/src/ir.cpp
AgeCommit message (Collapse)Author
2020-01-02Don't ptrCast a result-location assignment to _LemonBoy
After #4010 doing `_ = @bitCast(...)` triggered a nonsensical compiler error.
2020-01-01fix float ops with respect to vectorsAndrew Kelley
also remove the redundant type parameter
2020-01-01Merge pull request #4025 from ziglang/Vexu-stage-2-cimportAndrew Kelley
Use self hosted translate-c for cImport
2020-01-01fix segfault in bit shift safety checkVexu
2019-12-31Merge branch 'stage-2-cimport' of https://github.com/Vexu/zig into ↵Andrew Kelley
Vexu-stage-2-cimport
2019-12-30Merge pull request #3683 from Vexu/atomic-floatAndrew Kelley
Support floats with some atomic operations
2019-12-30fix comparing comptime_int against undefined literalAndrew Kelley
closes #4004
2019-12-30Resolve more types as neededLemonBoy
Closes #3994
2019-12-30Fix ptrCast of zero-sized typeLemonBoy
Closes #2431
2019-12-29use self hosted translate-c for cimportsVexu
2019-12-23support some atomic operations with floatsVexu
2019-12-22report compile errors instead of crashing when frame is invalidAndrew Kelley
2019-12-21fix incorrect `@typeInfo` for sentinelsAndrew Kelley
2019-12-20sentinel slicing improvementsAndrew Kelley
* add runtime safety for slicing pointers, arrays, and slices. * slicing without a sentinel value results in non-sentineled slice * improved `std.debug.panic` handling of panic-during-panic
2019-12-20fix std.mem.addNullByte and implement sentinel slicingAndrew Kelley
see #3770
2019-12-20Fix sentinel value of opaque pointers in typeInfoLemonBoy
Fixes #3888
2019-12-20Fix comptime evaluation of runtime array accessLemonBoy
Fix #3951
2019-12-17Make sure the fields array is always non-nullLemonBoy
Fixes #3497
2019-12-16avoid using undefined valueAndrew Kelley
closes #3933
2019-12-16Fix alignment query on unresolved typesLemonBoy
Fixes #3919
2019-12-16allow comparison of any numeric typesAndrew Kelley
2019-12-15improve extern enumVexu
2019-12-15Don't assume TLS storage has a fixed addressLemonBoy
Fixes #3433
2019-12-15Make sure the address is aligned for intToPtr opsLemonBoy
Closes #773
2019-12-13Merge pull request #3896 from Vexu/translate-c-2Andrew Kelley
Translate-c self-hosted var decl and remove translate mode
2019-12-13revert removal of translate mode in stage 1Vexu
2019-12-12un-special-case startup code in the std libAndrew Kelley
Previously, the compiler had special logic to determine whether to include the startup code, which was in `std/special/start.zig`. Now, the file is moved to `std/start.zig`, and there is no special logic in the compiler. Instead, the standard library unconditionally imports the `start.zig` file, which then has a `comptime` block that does the logic of determining what, if any, start symbols to export. Instead of `start.zig` being in its own special package, it is just another normal file that is part of the standard library. `std.builtin.TestFn` is now part of the standard library rather than specially generated by the compiler.
2019-12-12remove concept of translate modeVexu
2019-12-10improve dynamic library APIAndrew Kelley
2019-12-10Replace typeOf with TypeOf in stage0Robin Voetter
2019-12-09remove var args from the languageAndrew Kelley
closes #208
2019-12-09implement async function call with `@call`Andrew Kelley
this removes the last usage of var args in zig std lib
2019-12-09ability to give comptime and non-comptime types to same parameterAndrew Kelley
2019-12-08std.fmt.format: tuple parameter instead of var argsAndrew Kelley
2019-12-08implement tuple concatenationAndrew Kelley
2019-12-08tuple detection does not require AST nodeAndrew Kelley
2019-12-08Make array types (quasi-)lazyLemonBoy
Fixes #3843
2019-12-08fix anon struct literal field initialized with fn callAndrew Kelley
2019-12-08add syntax for comptime struct fieldsAndrew Kelley
2019-12-08implement comptime struct fieldsAndrew Kelley
2019-12-08Fix for @Type not picking up the sentinel valueLemonBoy
The code converted the whole TypeInfo payload into an optional type instead of using the "sentinel" field value. Fixes #3828
2019-12-07remove compile error for peer result comptime_int and nullAndrew Kelley
closes #2763
2019-12-06Merge pull request #3856 from ziglang/builtin-callAndrew Kelley
introduce `@call` and remove other builtin calls
2019-12-06remove `@newStackCall` from zigAndrew Kelley
2019-12-06remove `@inlineCall` from zigAndrew Kelley
2019-12-06Fix misinterpretation of sentinel constant valueLemonBoy
Fixes #3842
2019-12-05remove `@noInlineCall` from zigAndrew Kelley
2019-12-05implement `@call`Andrew Kelley
closes #3732
2019-12-03Pick up WinMain with proper CCLemonBoy
2019-12-02Accept comptime-known expression for asmLemonBoy