Commit Graph

3879 Commits

Author SHA1 Message Date
Folkert
1958112c75 Revert "code to link LLVM IR"
This reverts commit 2b13bdfd52.
2021-05-26 00:11:32 +02:00
Folkert
2b13bdfd52 code to link LLVM IR 2021-05-26 00:10:41 +02:00
Folkert
4d0216cf09 fix merge conflicts 2021-05-25 09:18:39 +02:00
Folkert de Vries
5724f82667
Merge branch 'trunk' into zig-list-set 2021-05-25 09:05:18 +02:00
Richard Feldman
666caef00c Fix scope and weak on dev wrapper generation 2021-05-24 23:28:39 -04:00
Richard Feldman
aa96d2373b Reorder args in decref 2021-05-24 22:06:35 -04:00
Richard Feldman
65542149a3 Fix alloc type sigs in utils.zig 2021-05-24 22:01:14 -04:00
Richard Feldman
2909c06e72 Add tail_call to ASM trait 2021-05-24 21:41:37 -04:00
Richard Feldman
595c704e88 Generate roc_alloc etc in dev_num tests 2021-05-24 21:36:27 -04:00
Richard Feldman
0b3715ebee Rearrange arg order for roc_alloc etc 2021-05-24 21:01:12 -04:00
Richard Feldman
7d7588ca19 Merge remote-tracking branch 'origin/trunk' into roc_alloc 2021-05-24 20:10:26 -04:00
Richard Feldman
75ec2ecc7b
Merge pull request #1300 from rtfeldman/specialize-lowlevel
Polyvariant defunctionalization
2021-05-24 19:54:17 -04:00
Folkert
799e4a3239 use new roc alloc stuff for List.set 2021-05-24 18:27:27 +02:00
Folkert
91b49ecf98 Merge remote-tracking branch 'origin/roc_alloc' into zig-list-set 2021-05-24 18:25:18 +02:00
Folkert
d620005cf3 Merge remote-tracking branch 'origin/trunk' into zig-list-set 2021-05-24 18:24:22 +02:00
Folkert de Vries
513a624d28
Merge branch 'trunk' into roc_alloc 2021-05-24 18:22:47 +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
Chadtech
ac7386fd27
Merge branch 'trunk' into hash-links 2021-05-24 09:14:52 -04: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
5b643467bf clippy 2021-05-24 14:44:00 +02:00
Folkert
53a4af99f4 mono tests 2021-05-24 14:41:37 +02:00
Folkert
ffa680ddbc in apply, zeroargumenttag becomes normal tag again 2021-05-24 14:33:32 +02:00
Richard Feldman
c8665fa9b2
Merge branch 'trunk' into hash-links 2021-05-24 08:25:11 -04: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
1aa71113ca rename for clarity 2021-05-24 12:03:06 +02:00
Folkert
cae4225504 clippy 2021-05-24 11:59:20 +02:00
Folkert
7bcab24fa0 clippy 2021-05-24 11:57:52 +02:00
Richard Feldman
0e0cf8a16e Renamed gen_dev/gen_num to dev_num 2021-05-23 23:47:09 -04:00
Richard Feldman
81d758d647 Fix gen_compare tests 2021-05-23 23:46:09 -04:00
Richard Feldman
e3267dbf61 Fix some test module names 2021-05-23 23:46:09 -04:00
Richard Feldman
6c4ba49086 Move add_intrinsics back 2021-05-23 23:46:09 -04:00
Richard Feldman
fae2aac5f8 Drop duplicate intrinsic definitions 2021-05-23 23:46:09 -04:00
Richard Feldman
2125235e3a Use add_func to avoid funcunction redefinitions 2021-05-23 23:46:09 -04:00
Richard Feldman
ebad3597c9 Call add_intrinsics after add_default_roc_externs
This is necessary to prevent defining things twice
2021-05-23 23:46:09 -04:00
Richard Feldman
e6ece40f76 Extract externs helpers into gen 2021-05-23 23:46:09 -04:00
Richard Feldman
017ba59775 Have test_gen provide roc_alloc etc 2021-05-23 23:46:09 -04:00
Richard Feldman
18df7fd24f Make alignment be a u32 2021-05-23 23:46:09 -04:00
Richard Feldman
13198bce37 Update comments to no longer reference malloc 2021-05-23 23:46:09 -04:00
Richard Feldman
f31060af34 Fix pointer type in call to dealloc 2021-05-23 23:46:09 -04:00
Richard Feldman
0a1b57060d Fix some comments 2021-05-23 23:46:09 -04:00
Richard Feldman
19a8bd634e Don't make this function look private 2021-05-23 23:46:09 -04:00
Richard Feldman
d1a561c30f Call roc_alloc and friends from llvm 2021-05-23 23:46:09 -04:00
Richard Feldman
a4209a84e6 Add llvm intrinsics for roc_alloc etc 2021-05-23 23:46:09 -04:00
Richard Feldman
797bed6d18 Add a comment 2021-05-23 23:46:09 -04:00
Richard Feldman
12c353afaf zig fmt 2021-05-23 23:46:09 -04:00