Commits
IR: ability to return a container from a function
ba008fb9d7 • Andrew Kelley • Dec 18, 2016
hello.zig working with all structs anonymous
37b13bf151 • Andrew Kelley • Dec 18, 2016
IR: all structs anonymous
e50ced44a2 • Andrew Kelley • Dec 18, 2016
IR: fix codegen of ref instruction
2e6aa6d813 • Andrew Kelley • Dec 18, 2016
IR: phi instruction handles unreachable values correctly
a76b048354 • Andrew Kelley • Dec 18, 2016
IR: fix err variable in ErrOkOr instruction
b59841a80f • Andrew Kelley • Dec 18, 2016
IR: fix container field access via container pointer
0cdfd5c141 • Andrew Kelley • Dec 18, 2016
IR: basic support for implicit casting to const pointer
0d2f2b79ea • Andrew Kelley • Dec 18, 2016
IR: fix type of decls accessed via namespace
69cf0ea568 • Andrew Kelley • Dec 18, 2016
IR: add runime negation
3e4194bf9e • Andrew Kelley • Dec 18, 2016
IR: update some std code to newest zig
05b3b6a45e • Andrew Kelley • Dec 18, 2016
IR: unreachable has lowest priority when resolving peer types
83a668b9ca • Andrew Kelley • Dec 18, 2016
IR: make generic function type have zero_bits flag
9f08bfb38d • Andrew Kelley • Dec 18, 2016
IR: support var type args and fix phi peer type resolution
85b6d14637 • Andrew Kelley • Dec 18, 2016
IR: allow undefined compile time values sometimes
e73faf9a9e • Andrew Kelley • Dec 18, 2016
IR: consolidate Ref and PrefixOpAddressOf instructions
d245fabb80 • Andrew Kelley • Dec 18, 2016
IR: fix `this` expression
0f047337ac • Andrew Kelley • Dec 18, 2016
IR: fix compile time switch eval for enums
a07d7ee53d • Andrew Kelley • Dec 17, 2016
IR: fix switching on enum
c64f9991d5 • Andrew Kelley • Dec 17, 2016
IR: add more instructions
12fcbecbf8 • Andrew Kelley • Dec 17, 2016
IR: panic with a TODO instead of generating invalid code
3a3cc7bf76 • Andrew Kelley • Dec 14, 2016
fix external function calls
cca49b84b6 • Andrew Kelley • Dec 14, 2016
IR: implement maybe return expression
647d13168a • Andrew Kelley • Dec 14, 2016
IR: implement the rest of the builtin functions
3f3630d7e3 • Andrew Kelley • Dec 13, 2016
IR: implement character literal
8bb5f54b29 • Andrew Kelley • Dec 13, 2016
IR: implement breakpoint builtin
a6d2bdf605 • Andrew Kelley • Dec 13, 2016
IR: implement memberCount builtin
76a849b1f2 • Andrew Kelley • Dec 12, 2016
IR: implement memcpy, memset, and slice expression
ef63bc9cca • Andrew Kelley • Dec 12, 2016
IR: implement alloca builtin
fb21570630 • Andrew Kelley • Dec 12, 2016
IR: implement compile time array concatenation
a963fba246 • Andrew Kelley • Dec 11, 2016
IR: implement compile time array multiplication
df0cdceff7 • Andrew Kelley • Dec 11, 2016
IR: implement intType builtin
9b17c0ff7f • Andrew Kelley • Dec 11, 2016
IR: implement truncate builtin
3429639e84 • Andrew Kelley • Dec 11, 2016
IR: implement divExact builtin
433c17aeb1 • Andrew Kelley • Dec 11, 2016
IR: implement fence and cmpxchg builtins
8fcb1a141b • Andrew Kelley • Dec 11, 2016
IR: implement embedFile builtin
10cea15cc3 • Andrew Kelley • Dec 11, 2016
IR: fix implementation of parseh
2dd85d52cc • Andrew Kelley • Dec 11, 2016
IR: don't crash if number literal used with pure error
3cfbec3eef • Andrew Kelley • Dec 10, 2016
IR: support error union type
6feae8a4e9 • Andrew Kelley • Dec 10, 2016
IR: fix errorName builtin
443e14afbd • Andrew Kelley • Dec 10, 2016
IR: better array len instruction
0ab953acb2 • Andrew Kelley • Dec 8, 2016
IR: omit debug safety checks in for loop codegen
d4a93dbac5 • Andrew Kelley • Dec 8, 2016
IR: a bunch of fixes and some additions
7d0fb281fe • Andrew Kelley • Dec 8, 2016
IR: add compileError builtin fn
a148096e6a • Andrew Kelley • Dec 7, 2016
IR: add minValue, maxValue, and negation
0ad580f001 • Andrew Kelley • Dec 7, 2016
delete unused builtin function stuff
5e4ee659a6 • Andrew Kelley • Dec 7, 2016
IR: add error for assigning runtime value to inline var
c0b2fe4d6c • Andrew Kelley • Dec 7, 2016
IR: implement compile time eval unwrap maybe
7d9fa01ed5 • Andrew Kelley • Dec 7, 2016
IR: implement defer
6ed202ab16 • Andrew Kelley • Dec 7, 2016
remove the boolean argument from setFnTest
0c531d447d • Andrew Kelley • Dec 6, 2016
IR: implement short circuit bool or, and
bed83bc5a1 • Andrew Kelley • Dec 6, 2016
IR: implement break and continue
24048b2af6 • Andrew Kelley • Dec 5, 2016
IR: implement generic function calls
0541532ed6 • Andrew Kelley • Dec 5, 2016
IR: inline function evaluation works on generic functions
363606d87b • Andrew Kelley • Dec 5, 2016
IR: compile time function evaluation
25a89e7a36 • Andrew Kelley • Dec 5, 2016
add missing copyright notices
9f23475b17 • Andrew Kelley • Dec 5, 2016
IR: re-organize where state goes to prepare for generics
2f259b8176 • Andrew Kelley • Dec 4, 2016
rewrite scope implementation
f6cbb73c74 • Andrew Kelley • Dec 2, 2016
rename BlockContext to Scope
c6ace9720c • Andrew Kelley • Dec 1, 2016
IR: function call porting progress
eb5693d91f • Andrew Kelley • Nov 28, 2016
IR: silence irrelevant function prototype errors
9e7c475979 • Andrew Kelley • Nov 27, 2016
IR: fix not checking for error in unary bool not
e5325c7ef3 • Andrew Kelley • Nov 27, 2016
IR: add ref instruction
d9329ed389 • Andrew Kelley • Nov 27, 2016
IR: detect error for exceeding branch quota
bd4d4ee51e • Andrew Kelley • Nov 27, 2016
IR: add inline goto
1fba7f3696 • Andrew Kelley • Nov 27, 2016
IR: fix crash when duplicate label error
b3ff28189c • Andrew Kelley • Nov 27, 2016
IR: support goto and labels
a52ede6494 • Andrew Kelley • Nov 27, 2016
IR: fix parsing while loop
a3db60b5d7 • Andrew Kelley • Nov 27, 2016
IR: support import builtin function
84f7805029 • Andrew Kelley • Nov 27, 2016
IR: support inline switch
4619b5de06 • Andrew Kelley • Nov 26, 2016
IR: add error for non static const on switch case range
24b65e41ee • Andrew Kelley • Nov 26, 2016
IR: support switch with range
697c768730 • Andrew Kelley • Nov 26, 2016
IR: switch expression works with numbers
bbf785bc1d • Andrew Kelley • Nov 26, 2016
IR: generating a switch statement
0c22358cc1 • Andrew Kelley • Nov 24, 2016
IR: implement setFnVisible builtin
a2257e4b81 • Andrew Kelley • Nov 21, 2016
IR: fix codegen for arrays
052cd44588 • Andrew Kelley • Nov 21, 2016
IR: fix detection of invalid codegen
e80e8a8099 • Andrew Kelley • Nov 21, 2016
IR: implement ctz and clz builtins
67d565136a • Andrew Kelley • Nov 21, 2016
IR: support unwrap maybe operation
71d95c6597 • Andrew Kelley • Nov 21, 2016
IR: support sizeOf builtin
b47e2fa060 • Andrew Kelley • Nov 20, 2016
IR: implement ir_print for maybe type
6c8b919d17 • Andrew Kelley • Nov 19, 2016
IR: error for uncasted null lit variable
2f8dd46174 • Andrew Kelley • Nov 19, 2016
IR: implement compileVar builtin and more
8a81f8aa13 • Andrew Kelley • Nov 19, 2016
IR: more maybe type support
19037014e5 • Andrew Kelley • Nov 19, 2016
IR: fix decl references pointerness
31565efe9d • Andrew Kelley • Nov 19, 2016
IR: correctly codegening memset and memcpy
d94cb0566b • Andrew Kelley • Nov 19, 2016
IR: support setDebugSafety builtin function
bf7cde62c5 • Andrew Kelley • Nov 19, 2016
IR: inline assembly working
ed31ae8867 • Andrew Kelley • Nov 18, 2016
remove AST cloning code and add AST render for while loops
c3b603fdf9 • Andrew Kelley • Nov 18, 2016
IR: pointers to constants use correct addresses
7a2a0672b4 • Andrew Kelley • Nov 18, 2016
IR: pointers to constants don't copy data
62d0d88b56 • Andrew Kelley • Nov 17, 2016
remove superseded eval code
a55555c99e • Andrew Kelley • Nov 17, 2016
IR: implement pointer dereferencing (even at compile time)
8d1c6138f9 • Andrew Kelley • Nov 15, 2016
IR: implement compile time array access
af4d4c882a • Andrew Kelley • Nov 15, 2016
IR: add assembly instruction
2edc6c1a3f • Andrew Kelley • Nov 14, 2016
IR: fix hang for unreachable functions
04c047463b • Andrew Kelley • Nov 13, 2016
IR: fix prefix op eval setting wrong type
e2fd3b2b1b • Andrew Kelley • Nov 13, 2016
IR handles global variables correctly
d4f2394dcf • Andrew Kelley • Nov 13, 2016
IR: gen string literal
a5c9da0de2 • Andrew Kelley • Nov 10, 2016
IR: move unused codegen code to commented out in bottom of ir.cpp
9d19b8d66e • Andrew Kelley • Nov 10, 2016