Commit graph

1002 commits

Author SHA1 Message Date
Richard Feldman
ffb6ced18f Move InPlace from llvm to mono 2021-05-25 18:12:11 -04:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set 2021-05-25 09:05:18 +02:00
Folkert
d620005cf3 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-24 18:24:22 +02:00
Folkert
f8078b0bfa fix mono 2021-05-24 16:11:25 +02:00
Folkert
5f408c42b0 enable tag unions as functions in code gen 2021-05-24 16:01:51 +02:00
Folkert
174daeb3b5 fix codegen 2021-05-24 15:28:41 +02:00
Folkert
e81087f913 Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:17:28 +02:00
Folkert
fbb711b2ca Merge remote-tracking branch 'origin/trunk' into specialize-lowlevel 2021-05-24 15:11:40 +02:00
Folkert
f480919186 Merge remote-tracking branch 'origin/trunk' into no-arg-tag-union-func 2021-05-24 14:44:32 +02:00
Folkert
53a4af99f4 mono tests 2021-05-24 14:41:37 +02:00
Folkert
06bf614437 fix recursion layout issue 2021-05-24 14:15:52 +02:00
Richard Feldman
b60988d63e
Merge branch 'trunk' into morphic-lib 2021-05-24 07:18:59 -04:00
Folkert
cae4225504 clippy 2021-05-24 11:59:20 +02:00
Richard Feldman
a7518a675a Clean up some clippy warnings 2021-05-23 20:28:23 -04:00
tarjei
a53c7b5546 Add FunctionOrTagUnion case to all matches 2021-05-23 20:52:38 +02:00
Folkert
090488a248 Merge remote-tracking branch 'origin/trunk' into no-arg-tag-union-func 2021-05-23 16:58:08 +02:00
Folkert
2e8a246095 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-23 16:28:20 +02:00
Folkert
c3af4522bf if a function returns a record/tag, do the perceus thing 2021-05-23 16:13:46 +02:00
Richard Feldman
c5da16f071
Merge branch 'trunk' into morphic-lib 2021-05-22 15:21:50 -04:00
Folkert
3946a8631d remove incorrect debug assert 2021-05-22 19:44:07 +02:00
Folkert
9e16c8c5ce cleanup 2021-05-22 19:29:15 +02:00
Folkert
3b47fbc89a module thunk is function 2021-05-22 14:57:25 +02:00
Folkert
43c4f24515 Remove extra case from ByName calls
we now always call by name, so we can just assert that the function is
defined
2021-05-22 14:53:38 +02:00
Folkert
ae5b0d8cfd remove by-pointer calls 2021-05-22 13:52:06 +02:00
Folkert
45111ec7e6 zucht 2021-05-21 09:36:50 +02:00
Folkert
bc7834a23a sigh 2021-05-21 09:22:19 +02:00
Folkert
780e6b28b8 fix import missing from release mode 2021-05-21 09:06:59 +02:00
Folkert
1d7ca32101 passing tests! 2021-05-20 22:43:55 +02:00
Folkert
910a7e5113 fix bug where results of top-level thunks are not RC'd 2021-05-20 22:39:14 +02:00
Folkert
083f8275bf update morphic 2021-05-19 22:51:33 +02:00
Folkert
d01d539d6b first pass for List.keep 2021-05-19 21:30:43 +02:00
Folkert
e3b102e0c3 fix List.map3 2021-05-19 16:41:12 +02:00
Folkert
d2b0ecdd04 fix List.map2 2021-05-19 16:07:50 +02:00
Folkert
87b9f866d3 WIP fixing the borrowing in HOFs 2021-05-19 15:28:20 +02:00
tarjei
f45d89270b Implement basic List.drop that satisfies tests
Issues with uniqueness and copying which leaks memory obviously needs to be fixed.
2021-05-18 22:59:55 +02:00
Folkert
184c71d669 implement RC 2021-05-18 20:53:50 +02:00
Eric Henry
d34f984169 Starting to add no arg tag union 2021-05-17 17:07:19 -04:00
Folkert
925355eb4e use add_unknown_with 2021-05-17 19:51:46 +02:00
Folkert
8dddf952a8 WIP List.map + RC'd closure troubles 2021-05-17 19:31:52 +02:00
Folkert
2b72f9e733 add HigherOrderLowLevel 2021-05-16 22:49:57 +02:00
Folkert
bb3fe92251 Revert "add ir unknowninc instruction"
This reverts commit ebd62485df.
2021-05-16 21:52:30 +02:00
Folkert
7520dfee06 Revert "formatting"
This reverts commit 3540a048d8.
2021-05-16 21:52:20 +02:00
Folkert
3540a048d8 formatting 2021-05-16 20:25:18 +02:00
Folkert
ebd62485df add ir unknowninc instruction 2021-05-16 17:25:01 +02:00
Folkert
3ca6ffade9 make List.map borrow based on passed function 2021-05-16 14:09:39 +02:00
Folkert
3a4a78fdbb conditional import 2021-05-16 01:05:29 +02:00
Folkert
309a677213 fix update of 1-element record 2021-05-16 00:54:57 +02:00
Folkert
2d2418a514 fix mono tests 2021-05-16 00:54:33 +02:00
Folkert
691fa56d50 make repl evaluate 0-argument thunk 2021-05-16 00:23:04 +02:00
Folkert
27f8465e9c clippy 2021-05-15 23:59:54 +02:00