Commit graph

584 commits

Author SHA1 Message Date
Folkert
462f6ac8e5 use C calling convention (approximation) when calling foreign functions 2020-12-12 01:30:39 +01:00
Folkert
539f173472 set correct closure tag_id 2020-12-11 20:25:15 +01:00
Folkert
84421ad06d fix bug in closure argument unpacking 2020-12-10 20:45:59 +01:00
Folkert
d0686582d0 comment invalid assertion 2020-12-08 20:29:59 +01:00
Folkert
fc85761783 fix issue with one-element records containing a union in the closure argument 2020-12-08 16:05:51 +01:00
Folkert
ac77177932 fix stack overflow in llvm code gen 2020-12-06 02:29:41 +01:00
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
Folkert
82e87d04e3 rename str.len to str.number_of_bytes 2020-12-03 21:23:07 +01:00
Folkert
22d798b7c7 add Str.endsWith 2020-12-03 19:16:50 +01:00
Folkert
3162ab5fc4 simplify str_len 2020-12-03 16:22:47 +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
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
Folkert
ccd2e0ecf4 alignment in single element tag unions 2020-11-24 22:01:57 +01: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
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
58246ad572 DCE zig-defined builtins that aren't used in user code 2020-11-23 02:01:57 +01:00
Chadtech
385d0fda9f Resolving conflicts with remote trunk 2020-11-22 13:54:13 -05:00
Folkert
8013af7e97 change representation of list/str 2020-11-21 22:50:33 +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
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
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
Richard Feldman
0ad3ffe35a
Merge branch 'trunk' into rvcas/list_sum 2020-11-15 12:13:46 -05:00
Richard Feldman
346248a7c0
Merge pull request #692 from rtfeldman/refactor-layout
Extract LayoutIds from roc_gen to roc_mono::layout
2020-11-15 12:04:43 -05:00
rvcas
1c8bb74268 feat(List): add sum builtin 2020-11-15 11:08:27 -05:00
Brendan Hansknecht
2204ee82d5 Extract LayoutIds from roc_gen to roc_mono::layout 2020-11-14 17:48:04 -08:00
Folkert
e2521c1011 Merge remote-tracking branch 'origin/trunk' into big-nested-pattern-match 2020-11-14 03:07:34 +01:00
Folkert
4b6eaca284 fix oversight 2020-11-14 03:07:18 +01:00
Folkert
0dde6da77d fix mono test 2020-11-14 03:00:20 +01:00
Folkert
154b5cc29f get RBTree.balance to compile 2020-11-14 02:49:28 +01:00
Folkert
b7f7de8afb fix issue in refcounting 2020-11-13 23:27:42 +01:00
Chad Stearns
c9e3531ecd Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-13 00:58:37 -05:00
Folkert
70cba33fe4 fix bug in decision_tree 2020-11-13 01:39:39 +01:00
Chad Stearns
4f54b87817 Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-11 02:14:31 -05:00
Folkert
3f485b63d6 cleanup 2020-11-09 00:16:04 +01:00
Chad Stearns
58f0c48338 Str.split works for big str 2020-11-08 15:01:52 -05:00
Chad Stearns
5e0e3da3b7 Merging in remote trunk 2020-11-08 07:01:07 -05:00