Commit graph

873 commits

Author SHA1 Message Date
Folkert
4829368ca8 code cleanup 2020-12-03 15:24:15 +01:00
Folkert
0a8415b48e fix closure not decremented 2020-12-02 22:51:16 +01:00
Folkert
654342fb54 cleanup 2020-12-02 21:42:27 +01:00
Richard Feldman
a9d4b38e44 Merge remote-tracking branch 'origin/trunk' into zig-str-concat 2020-12-01 21:50:08 -05:00
Folkert
674f336601 clippy things 2020-12-01 23:11:24 +01:00
Folkert
5dbe470933 fix typo 2020-12-01 23:07:35 +01:00
Folkert
5d00910a38 fix memory leaks in lists 2020-12-01 23:01:17 +01:00
Folkert
63f4fbf1ef use zig-defined Str.concat 2020-12-01 23:00:39 +01:00
Folkert
af3a4c16f4 List.map can call closures 2020-12-01 15:20:52 +01:00
Folkert
2475054174 Merge remote-tracking branch 'origin/fix-debug-infos' into llvm-debug-info 2020-11-26 21:32:01 +01:00
Folkert
1022b4ef42 fix the effect Main.roc file and lib.rs file 2020-11-26 20:53:33 +01:00
Richard Feldman
e1575beaa3
Merge pull request #738 from rtfeldman/fix-alignment
Fix alignment
2020-11-25 22:54:18 -05:00
Folkert
7f83d9d3a0 fix mono tests, again 2020-11-25 20:06:53 +01:00
Richard Feldman
e6fd9cd884
Merge branch 'trunk' into rvcas/list_functions 2020-11-24 20:20:51 -05:00
Folkert
0f1baef160 alignment in multi tag pattern match 2020-11-24 23:15:32 +01:00
Folkert
69734e837e alignment in pattern match on single element tag union 2020-11-24 22:36:09 +01:00
Folkert
ccd2e0ecf4 alignment in single element tag unions 2020-11-24 22:01:57 +01:00
Folkert
1e4f0e8b07 correct alignment in records! 2020-11-24 21:28:53 +01:00
rvcas
0fb2c4ff8b fix(List): clippy on list_walk and tests for the walk builtin 2020-11-24 13:20:05 -05:00
rvcas
f7bd803509 feat(Num): rename Float to F64 2020-11-24 10:25:21 -05:00
Lucas
dfcf7bb7a2
Merge branch 'trunk' into rvcas/list_functions 2020-11-24 09:07:28 -05:00
rvcas
8feab843ea feat(List): add walk function and fix walkBackwards 2020-11-24 09:01:03 -05:00
rvcas
d9e906b8fb feat(List): rename walkRight to walkBackwards 2020-11-23 19:39:30 -05:00
Folkert
9c7514c449 refactor record layout generation 2020-11-23 23:44:12 +01:00
Richard Feldman
144bdcb3bb Fix some gen_primitives tests 2020-11-23 00:33:56 -05:00
Richard Feldman
da328f9e78 Fix gen tests 2020-11-23 00:24:40 -05:00
Richard Feldman
88d2ad1ffc Use roc__ prefix for exposed app functions 2020-11-23 00:24:40 -05:00
Richard Feldman
5eee74f209
Merge pull request #726 from rtfeldman/llvm-dce
DCE zig builtins
2020-11-22 22:13:10 -05:00
Folkert
b6433f872a DCE unused functions everywhere 2020-11-23 02:15:40 +01:00
Folkert
58246ad572 DCE zig-defined builtins that aren't used in user code 2020-11-23 02:01:57 +01:00
Sébastien Besnier
b36c2bf499 implement startsWith builtin using Zig 2020-11-22 21:48:42 +01:00
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
Folkert
2f1ca9decf cleanup 2020-11-21 22:54:57 +01:00
Folkert
8013af7e97 change representation of list/str 2020-11-21 22:50:33 +01:00
Folkert
52772df2c3 improve list allocation 2020-11-21 22:50:31 +01:00
Chadtech
72009b1276 Comment in now passing test 2020-11-21 14:15:58 -05:00
Folkert
898a140f64 Merge remote-tracking branch 'origin/trunk' into str-split-small-str 2020-11-20 15:58:13 +01:00
Pit Capitain
2dee43a3ca Fix llvm debug info errors
*  create subprogram for {}_catcher
*  create subprogram for {}_size
*  don't create a second subprogram for {}_exposed
2020-11-19 22:46:37 +01:00
Folkert
e30893b66e round up alignment to ptr_bytes 2020-11-19 22:10:02 +01:00
Folkert
fd026ee9d8 clippy 2020-11-19 21:28:35 +01:00
Folkert
45c62dfa3c improve list allocation 2020-11-19 16:11:21 +01:00
Folkert
b61f5d02b9 refactor allocation 2020-11-19 16:09:23 +01:00
Folkert
5ce8a665f0 add finalize everywhere, and fix some oversights 2020-11-18 20:08:43 +01:00
Folkert
6f4585e7d8 add subprogram debug info 2020-11-18 19:24:49 +01:00
Folkert
4e7e196fe1 add function debug info helper 2020-11-17 20:34:29 +01:00
Folkert
7fcc05b0a4 add dibuilder 2020-11-17 20:26:07 +01:00
Folkert
b85f1e4128 add Safety docs to unsafe function 2020-11-17 20:01:38 +01:00
Folkert
9198638c23 allocate taking alignment into account 2020-11-17 20:01:38 +01:00
Folkert
e02cc3af2f use new decrement 2020-11-17 20:01:38 +01:00
Folkert
94a8d07fe7 use PointerToRefcount in == 1 comparison 2020-11-17 20:01:38 +01:00