aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
AgeCommit message (Collapse)Author
2016-07-17rename NodeTypeStructDecl to NodeTypeContainerDeclAndrew Kelley
2016-07-09ability to cast explicitly from int to enumAndrew Kelley
This commit also fixes a bug where pure functions are marked with the read-only attribute in debug mode. This resulted in incorrect codegen because calls to read-only functions with unused values were not generated. For example, a call to assert() would not be generated if assert is marked with read-only. Which it *is* marked with in release mode.
2016-05-18support extern C ABI for return typesAndrew Kelley
2016-05-15add int_type builtin functionAndrew Kelley
2016-05-14add compile_err builtinAndrew Kelley
2016-05-13ability to cast maybe pointer to isize/usizeAndrew Kelley
also ability to put noalias on maybe pointer
2016-05-12For the sake of correctness: we can always rely on ZIG_STD_DIRJosé Miguel Sánchez
2016-05-12Add --zig-std-dirJosé Miguel Sánchez
2016-05-11add readonly attribute to relevant functions and parametersAndrew Kelley
2016-05-11recognize ar program and pass --gc-sections to ldAndrew Kelley
See #54
2016-05-09add hashmap to standard libraryAndrew Kelley
closes #22
2016-05-09add debug safety for shortening castsAndrew Kelley
closes #150
2016-05-08add list implementation to standard libraryAndrew Kelley
2016-05-08ability to cast u8 slice to bigger sliceAndrew Kelley
2016-05-07add div_exact builtin fnAndrew Kelley
closes #149
2016-05-07add debug safety for divisionAndrew Kelley
See #149
2016-05-07ability to cast slice to u8 sliceAndrew Kelley
2016-05-07self hosted tests test release mode tooAndrew Kelley
closes #69
2016-05-07better array concatenation semanticsAndrew Kelley
closes #87
2016-05-06add frame_address and return_address builtinsAndrew Kelley
2016-05-06add shl_with_overflow builtin functionAndrew Kelley
See #46
2016-05-06add debug safety for left shiftingAndrew Kelley
See #46
2016-05-05add tests for integer overflow crashingAndrew Kelley
see #46
2016-05-05add integer wrappingAndrew Kelley
see #46
2016-05-04add fence builtin functionAndrew Kelley
2016-05-04add cmpxchg builtin functionAndrew Kelley
2016-05-03beginnings of network standard library codeAndrew Kelley
2016-05-03support maybe destructuring into a pointer variableAndrew Kelley
2016-04-28add array multiplication operatorAndrew Kelley
2016-04-28better alignment value for stack variablesAndrew Kelley
fixes debug info sometimes not being available for parameters
2016-04-27better parameter codegenAndrew Kelley
* ability to take address of a parameter (closes #97) * debug symbols work for parameters
2016-04-26add missing debug entry for breakpointAndrew Kelley
2016-04-26ability to compare booleansAndrew Kelley
2016-04-26add array bounds checking in debug modeAndrew Kelley
closes #27
2016-04-25support switching on error union typeAndrew Kelley
closes #23
2016-04-24rename unknown_size_array to sliceAndrew Kelley
2016-04-24add codegen for pointer comparisonAndrew Kelley
see #145
2016-04-24add skeleton for union supportAndrew Kelley
2016-04-23fix handling of slice of zero bits typeAndrew Kelley
closes #143
2016-04-23fix returning empty struct from functionAndrew Kelley
closes #142
2016-04-21ability to use a struct with no fieldsAndrew Kelley
2016-04-20for loop: add ability to get pointer to elem varAndrew Kelley
see #51
2016-04-19add optional continue expression to while loopAndrew Kelley
closes #139
2016-04-19enum init uses container init syntax instead of fn callAndrew Kelley
See #5
2016-04-19implement constant initialization of enum valuesAndrew Kelley
see #5
2016-04-18add @embed_file builtin functionAndrew Kelley
2016-04-14move more tests to self-hosted landAndrew Kelley
2016-04-13fix evaluating generic functions in wrong contextAndrew Kelley
2016-04-12eval: ability to eval more thingsAndrew Kelley
2016-04-12eval: support more node typesAndrew Kelley