Commit Graph

1011 Commits (97e105489085fcf4530b3944499531d76848bbd1)

Author SHA1 Message Date
Andrew Kelley 97e1054890 fix compiler rt 2017-01-05 04:20:07 -05:00
Andrew Kelley ed21be011a pass unreachable variable test 2017-01-05 04:03:25 -05:00
Andrew Kelley 438feebbcf pass undeclared identifier test 2017-01-05 04:01:11 -05:00
Andrew Kelley 3b5e26b7f7 self hosted tests import std library 2017-01-05 03:57:48 -05:00
Andrew Kelley ee09eb7f54 fix hash map implementation
standard library passes all tests now
2017-01-05 03:40:12 -05:00
Andrew Kelley 9d94c2ccd0 fix mul and sub overflow ops being rendered as addition 2017-01-05 03:29:50 -05:00
Andrew Kelley 349cd79fe4 containers created during eval get names for parameters 2017-01-05 03:22:00 -05:00
Andrew Kelley 27a633b32a fix mem.sliceAsInt regression 2017-01-05 01:23:59 -05:00
Andrew Kelley 6ec6589bd8 IR: pass MT19937_64 test 2017-01-05 00:59:37 -05:00
Andrew Kelley c32a060d4f IR: add unreachable code compiler error 2017-01-04 23:21:33 -05:00
Andrew Kelley 664b41af65 fix debug information for function pointers in structs 2017-01-04 01:56:21 -05:00
Andrew Kelley dbb1018ca6 IR: std library passes codegen 2016-12-31 19:48:17 -05:00
Andrew Kelley ff5120c584 IR: std makes it to codegen 2016-12-31 18:25:10 -05:00
Andrew Kelley 69132bdeda IR: progress toward compiling standard library
* comptime fn call
 * is_comptime doesn't count as an instruction dependency
 * update more std code to latest zig
2016-12-31 17:10:29 -05:00
Andrew Kelley 5f89393acb IR: implement binary not instruction 2016-12-31 02:23:39 -05:00
Andrew Kelley 2ccdaee101 IR: add error for goto jumping over variable declaration 2016-12-31 01:58:37 -05:00
Andrew Kelley 76fa6cdce3 eradicate use of zeroes in std 2016-12-31 01:31:23 -05:00
Andrew Kelley 29bb175f4f IR: handle phi instruction with 0 resulting incoming values 2016-12-30 18:47:54 -05:00
Andrew Kelley 6bbee194b9 IR: better basic block dependency detection 2016-12-30 18:34:05 -05:00
Andrew Kelley a9acc8cb45 IR: error for returning from defer expression
also fix peer type resolution for pure error mixed with error union
2016-12-28 03:47:02 -05:00
Andrew Kelley dc26dec8e0 rename self_hosted3 to self_hosted 2016-12-28 01:36:13 -05:00
Andrew Kelley 94f977a6c1 IR: pass genericFnWithImplicitCast test 2016-12-28 01:35:13 -05:00
Andrew Kelley f6ac2fa70e IR: pass pointerToVoidReturnType test 2016-12-28 01:31:46 -05:00
Andrew Kelley 25a5fc32fe IR: pass passSliceOfEmptyStructToFn test 2016-12-28 01:15:09 -05:00
Andrew Kelley 15f843e70f IR: pass castSliceToU8Slice test 2016-12-26 17:11:36 -05:00
Andrew Kelley 66a83d8738 IR: pass intToEnum test 2016-12-26 16:34:18 -05:00
Andrew Kelley c8a7ab7eff IR: pass cStringConcatenation test 2016-12-26 16:04:14 -05:00
Andrew Kelley 7504be923b IR: pass pointerComparison test 2016-12-26 15:49:03 -05:00
Andrew Kelley 735cdbfdac IR: pass intToPtrCast test 2016-12-26 15:45:50 -05:00
Andrew Kelley aee7ad3de2 IR: port all passing tests over 2016-12-26 03:44:59 -05:00
Andrew Kelley 73a751911e IR: pass staticEvalListInit test 2016-12-26 03:16:19 -05:00
Andrew Kelley 6ed835ca67 IR: port more tests 2016-12-26 03:05:33 -05:00
Andrew Kelley 3ef6663b72 IR: pass genericMallocFree test 2016-12-26 03:02:20 -05:00
Andrew Kelley 110a6f39ca IR: pass explicitCastMaybePointers test 2016-12-26 02:53:42 -05:00
Andrew Kelley 6c9ec3688e IR testing: rename cases3 dir to cases 2016-12-26 02:49:30 -05:00
Andrew Kelley 66777ccd7d IR: port more tests 2016-12-26 02:47:52 -05:00
Andrew Kelley 4664f793dc IR: pass enumToInt test 2016-12-26 02:36:04 -05:00
Andrew Kelley 1b5d1877ae IR: port more tests 2016-12-26 01:37:33 -05:00
Andrew Kelley 2b5c7b1b8e IR: port more tests 2016-12-25 18:36:45 -05:00
Andrew Kelley f47dea2a2e IR: support compile time global pointer reinterpret
this required moving the place we store types to ConstExprValue
2016-12-25 04:15:23 -05:00
Andrew Kelley 6f91fb4c37 IR: support const ref 2016-12-22 10:39:10 -05:00
Andrew Kelley 8dc45bc505 port more tests 2016-12-22 10:10:04 -05:00
Andrew Kelley ba8af0f1e2 IR: fix missing implicit casts in init expressions
and implement runtime struct init instruction
2016-12-22 09:35:07 -05:00
Andrew Kelley ed962d9d21 IR: port another test 2016-12-22 08:48:08 -05:00
Andrew Kelley 3e25ff65c3 IR: fix switch enum variable for void enum field 2016-12-22 08:05:37 -05:00
Andrew Kelley dab3ddab45 IR: port more tests 2016-12-22 01:42:30 -05:00
Andrew Kelley 5a71718757 IR: port more tests 2016-12-22 01:20:08 -05:00
Andrew Kelley 5fc95c2a53 IR: port some tests 2016-12-22 00:55:21 -05:00
Andrew Kelley 46033a2128 pass void parameters test 2016-12-22 00:46:17 -05:00
Andrew Kelley 23bebdbcd5 IR: port some tests 2016-12-22 00:20:14 -05:00