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 |
|
Richard Feldman
|
2a68c0c2cd
|
Revert "Add __cxa_throw to utils"
This reverts commit 23f4802b8773043bd0bb32cdf2f235d023a38050.
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
b02ae3794f
|
Add __cxa_throw to utils
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
5efed85d81
|
Use test allocators for roc_alloc etc in tests
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
64dbf5a777
|
Have realloc take old_size too
After all, we always know it, and it means host authors don't
necessarily have to store it.
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
ab51582541
|
Switch builtins to use roc_alloc and friends
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
a7518a675a
|
Clean up some clippy warnings
|
2021-05-23 20:28:23 -04:00 |
|
Richard Feldman
|
f4b1e74895
|
Add a note explaining why commented out
|
2021-05-23 20:06:06 -04:00 |
|
tarjei
|
0ee15f15ee
|
Unify FunctionOrTagUnion with regular tags and functions
|
2021-05-23 23:14:17 +02: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 |
|
Folkert
|
bbca98a4db
|
willreturn is not valid if function can diverge
|
2021-05-23 16:12:44 +02:00 |
|
Folkert
|
a4ed13d714
|
optimize zig code
|
2021-05-23 15:58:08 +02:00 |
|
Chadtech
|
46f5c7fadc
|
Merge branch 'trunk' into hash-links
|
2021-05-22 20:34:55 -04:00 |
|
Richard Feldman
|
6f8804f24a
|
Merge branch 'trunk' into gen_dev/mac-os
|
2021-05-22 18:20:37 -04:00 |
|
Folkert
|
44c2297d08
|
cleanup
|
2021-05-22 22:15:14 +02:00 |
|
Folkert
|
25ec057b2b
|
write List.set in zig
|
2021-05-22 22:13:54 +02:00 |
|
Richard Feldman
|
7a408e44da
|
s/Pkg-Config/Package-Config/g
|
2021-05-22 15:29:18 -04:00 |
|
Richard Feldman
|
c5da16f071
|
Merge branch 'trunk' into morphic-lib
|
2021-05-22 15:21:50 -04:00 |
|
tarjei
|
f581b017e8
|
Enable writing dev backend on macOS
|
2021-05-22 20:56:40 +02:00 |
|
Richard Feldman
|
8666a2ad58
|
Avoid recomputing loop termination condition
LLVM might take care of this for us, but just to be safe!
|
2021-05-22 14:51:19 -04:00 |
|
Chadtech
|
1d3f004370
|
Merge branch 'trunk' into hash-links
|
2021-05-22 14:46:08 -04:00 |
|
Richard Feldman
|
f9f708b362
|
Merge branch 'trunk' into builtin-list-drop
|
2021-05-22 14:28:59 -04:00 |
|
Chadtech
|
12c0067348
|
Created scope and idents for module docs, but they appear to be empty when the doc links function tries to use them
|
2021-05-22 14:06:56 -04:00 |
|