aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
AgeCommit message (Collapse)Author
2016-12-08IR: a bunch of fixes and some additionsAndrew Kelley
* add errorName builtin function * add assertion for generated memcopy being on correct types * respect handle_is_ptr for constant values * fix return codegen to respect sret semantics * remove ArrayLen IR instruction; we already have StructFieldPtr with "len" field * fix gen_const_val for pointers inside aggregates
2016-12-07IR: add compileError builtin fnAndrew Kelley
2016-12-07IR: add minValue, maxValue, and negationAndrew Kelley
2016-12-05remove the boolean argument from setFnTestAndrew Kelley
2016-12-05IR: implement break and continueAndrew Kelley
2016-12-04add missing copyright noticesAndrew Kelley
2016-12-04IR: re-organize where state goes to prepare for genericsAndrew Kelley
* Rip out legacy code for generics * put scope in instruction instead of AST nodes * separate top level decl stuff from AST nodes - remove the assumption that there is a 1:1 correspondence between an output instruction and an AST node - This way we won't have to clone AST nodes for generics.
2016-11-28IR: function call porting progressAndrew Kelley
also implemented container init generics is still todo
2016-11-27IR: add ref instructionAndrew Kelley
2016-11-26IR: support import builtin functionAndrew Kelley
2016-11-26IR: add error for non static const on switch case rangeAndrew Kelley
2016-11-26IR: switch expression works with numbersAndrew Kelley
2016-11-24IR: generating a switch statementAndrew Kelley
2016-11-21IR: implement setFnVisible builtinAndrew Kelley
2016-11-21IR: fix codegen for arraysAndrew Kelley
2016-11-21IR: implement ctz and clz builtinsAndrew Kelley
2016-11-21IR: support unwrap maybe operationAndrew Kelley
2016-11-20IR: support sizeOf builtinAndrew Kelley
2016-11-19IR: implement ir_print for maybe typeAndrew Kelley
2016-11-19IR: error for uncasted null lit variableAndrew Kelley
2016-11-19IR: implement compileVar builtin and moreAndrew Kelley
* implicit array to slice cast * fix if statements at global scope * implement array type IR
2016-11-18IR: support setDebugSafety builtin functionAndrew Kelley
2016-11-17IR: pointers to constants don't copy dataAndrew Kelley
2016-11-13IR: add assembly instructionAndrew Kelley
2016-11-10IR: gen string literalAndrew Kelley
2016-11-07IR: support slice typesAndrew Kelley
2016-11-04WIP moving all analysis to IRAndrew Kelley
2016-11-03add concept of inline for, inline while, inline varAndrew Kelley
2016-10-30*WIP*Andrew Kelley
2016-10-28IR: ability to assign to an array at runtimeAndrew Kelley
2016-10-27IR analysis unrolls a complicated loopAndrew Kelley
2016-10-27IR can inline loopsAndrew Kelley
2016-10-23IR supports variable assignmentAndrew Kelley
2016-10-23IR: introduce concept of lvaluesAndrew Kelley
2016-10-18add variable declaration IRAndrew Kelley
2016-10-16IR working for if statementsAndrew Kelley
2016-10-11IR if statements WIPAndrew Kelley
2016-10-09explicit casting works with IRAndrew Kelley
2016-10-06IR in 2 passesAndrew Kelley
2016-10-02simple add function works with IRAndrew Kelley
2016-09-30empty function compiles successfully with IRAndrew Kelley