Commit graph

2985 commits

Author SHA1 Message Date
Folkert
c10c442473 add better debug info 2021-02-19 17:12:11 +01:00
Folkert
207a5eb537 change how invoke refcounting works (the live variable calculation was incorrect) 2021-02-19 17:11:29 +01:00
Folkert
b24882eb95 adjust borrow signatures of builtins 2021-02-19 17:10:30 +01:00
Folkert
20921f94fb don't abuse var symbols 2021-02-19 17:08:22 +01:00
Folkert
9faf84be16 correct RC for List.repeat, List.keepIf, List.keepOks 2021-02-19 01:08:33 +01:00
Folkert
d29b8764f0 List.repeat in zig 2021-02-18 23:39:50 +01:00
Folkert
32bba5206a Merge remote-tracking branch 'origin/specialize-owned' into dict-more 2021-02-18 22:42:17 +01:00
Folkert
4ef527324d fix another oversight 2021-02-18 22:38:48 +01:00
Folkert
2afc804a9b fix oversight 2021-02-18 22:34:46 +01:00
Folkert
3a9999f723 provide more debug info if a function symbol is not found 2021-02-18 22:22:42 +01:00
Folkert
2200a930f9 fix Deriv 2021-02-18 21:57:07 +01:00
Folkert
34007651ac fix Closure3 2021-02-18 20:27:37 +01:00
Folkert
0cdea4e36a remove passed_by_pointer infrastructure 2021-02-18 19:48:36 +01:00
Folkert
0d64d5ac1b wrap by-pointer functions so they own all arguments 2021-02-18 19:11:02 +01:00
Folkert
68a459cd95 wrap calls by pointer 2021-02-18 16:46:31 +01:00
Folkert
0b6975fa77 de-alias same symbol with different layouts in borrow inference 2021-02-18 15:53:37 +01:00
Richard Feldman
fe98229aa3
Merge branch 'trunk' into dict-more 2021-02-17 23:47:13 -05:00
Richard Feldman
390ce06fa7
Merge pull request #1000 from rtfeldman/specialize-owned
Specialize owned
2021-02-17 23:14:12 -05:00
Folkert
418be685ad store tag id in closure unions 2021-02-18 02:50:07 +01:00
Folkert
6806585b51 stop treating closure unions in a special way 2021-02-18 02:49:04 +01:00
Folkert
76e299fe83 consistently name inc and dec (same layout, same number) 2021-02-18 01:54:39 +01:00
Folkert
85f40eb7d2 prevent excessive rebuilding of builtins 2021-02-18 00:32:35 +01:00
Folkert
40d75462fd Merge remote-tracking branch 'origin/trunk' into specialize-owned 2021-02-18 00:31:08 +01:00
Folkert
5501580fb3 clippy 2021-02-17 23:45:36 +01:00
Folkert
27dc420617 don't rebuild when zig cache changes 2021-02-17 23:42:28 +01:00
Folkert
3be7df1cac fix tests 2021-02-17 22:56:37 +01:00
Folkert
65ab08728a List.mapWithIndex 2021-02-17 22:29:15 +01:00
Folkert
7bd228ca9b List.contains in Zig 2021-02-17 22:04:54 +01:00
Folkert
a3d0dc2fc3 move bitcode support functions around 2021-02-17 21:52:19 +01:00
Folkert
619749c954 use generic function to define the stepper wrapper 2021-02-17 21:16:00 +01:00
Folkert
3fe80b1a1e List.keepOks and List.keepErrs 2021-02-17 21:03:21 +01:00
Folkert
45edb12b22 move equality tests 2021-02-17 20:00:03 +01:00
Folkert
56427c5fac List.walk in zig 2021-02-17 17:37:06 +01:00
Folkert
7aceb8dc70 List.keepIf in zig 2021-02-17 16:45:21 +01:00
Folkert
3093fe9e18 Merge remote-tracking branch 'origin/dict-more' into zig-list 2021-02-17 16:19:36 +01:00
Folkert
2166b1355b check for empty key/value (not doing so caused problems for set) 2021-02-17 16:18:42 +01:00
Folkert
42c5662872 List.map in zig! 2021-02-17 15:38:55 +01:00
Anton-4
60edbaffee
Merge branch 'trunk' into dict-more 2021-02-17 14:52:48 +01:00
Folkert
821e750876 implement primitives 2021-02-17 14:08:59 +01:00
Folkert
b8b0156c7b factor out utils.zig 2021-02-17 13:56:40 +01:00
Folkert
6154ce1254 clippy 2021-02-17 01:22:16 +01:00
Folkert
b09f82ff51 clippy 2021-02-17 01:08:24 +01:00
Folkert
e6ec85eeba revert mono tests 2021-02-17 01:05:03 +01:00
Folkert
80736f93b9 fix mono tests 2021-02-17 00:48:37 +01:00
Folkert
6d6c7a294a improved debug printing of layouts 2021-02-17 00:39:34 +01:00
Folkert
f59e79d779 RC expansion of nested structs 2021-02-17 00:38:14 +01:00
Folkert
c788965182 only reference count closures if the captured values are RC'd 2021-02-16 22:00:15 +01:00
Folkert
bc0a6f24ef cover the closure case in RC expansion 2021-02-16 21:59:08 +01:00
Folkert
4b20f969de never borrow a closure layout 2021-02-16 21:58:52 +01:00
Folkert
22a9779fe4 test case for alias diff reporting 2021-02-16 17:22:06 +01:00