Commit graph

1017 commits

Author SHA1 Message Date
Folkert
1b3bbaf5de define one global static str 2021-05-28 23:56:52 +02:00
Folkert
577d801829 Merge remote-tracking branch 'origin/trunk' into morphic-static-strings 2021-05-27 20:28:27 +02:00
Richard Feldman
519b4f2a12
Merge pull request #1340 from rtfeldman/layout-cleanup
Layout cleanup
2021-05-26 20:49:18 -04:00
Folkert
fdfc99e4e8 add constructor info in more cases 2021-05-26 21:51:18 +02:00
Folkert
498d3ba3b5 make sure to always switch on the tag id, not the tag itself 2021-05-26 20:18:59 +02:00
Folkert
06b2beb7ca tags have a union layout 2021-05-26 18:31:55 +02:00
Folkert
e2b200b84f simplify list layout 2021-05-26 14:28:56 +02:00
Folkert
bfe49d2188 remove Pointer 2021-05-26 14:18:19 +02:00
Folkert
ca5e9518d9 remove PhantomEmptyStruct 2021-05-26 14:14:53 +02:00
Folkert
1d7fa5bab4 remove TODOs 2021-05-26 13:39:55 +02:00
Folkert
dddb5cf204 Merge remote-tracking branch 'origin/trunk' into morphic-static-strings 2021-05-26 13:00:46 +02:00
Richard Feldman
ffb6ced18f Move InPlace from llvm to mono 2021-05-25 18:12:11 -04:00
Folkert
2a61c3108e start using the solutions 2021-05-25 09:08:01 +02:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set 2021-05-25 09:05:18 +02:00
Folkert de Vries
61f0fe0927
Merge branch 'specialize-lowlevel' into morphic-static-strings 2021-05-24 20:41:57 +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
630c1db5ef fix ownership 2021-05-21 15:20:00 +02:00
Folkert
f6c04d6646 make strings const 2021-05-21 15:06:40 +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