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 |
|
Folkert
|
3946a8631d
|
remove incorrect debug assert
|
2021-05-22 19:44:07 +02:00 |
|
Folkert
|
9c32965a3d
|
remove unused var
|
2021-05-22 19:35:35 +02:00 |
|
Folkert
|
9e16c8c5ce
|
cleanup
|
2021-05-22 19:29:15 +02:00 |
|
Folkert
|
3c8c727d8d
|
more cleanup
|
2021-05-22 19:23:08 +02:00 |
|
Folkert
|
96eba5fb31
|
cleanup
|
2021-05-22 19:10:43 +02:00 |
|
Folkert
|
e30ef29e3b
|
be aggressive
|
2021-05-22 19:09:02 +02:00 |
|
Folkert
|
9b02165f00
|
remove unused function
|
2021-05-22 19:08:25 +02:00 |
|
Folkert
|
ba804a97c7
|
remove dead code
|
2021-05-22 17:27:36 +02:00 |
|
Folkert
|
f0fc8a268f
|
cleanup
|
2021-05-22 17:26:01 +02:00 |
|
Folkert
|
6bc72ee804
|
add extra test for unresolved type variables
|
2021-05-22 17:20:52 +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 |
|
tarjei
|
46a8567427
|
Uncomment rust link stuff
|
2021-05-22 00:59:13 +02:00 |
|
tarjei
|
e062bdaad8
|
Fix dec ref for empty list
|
2021-05-22 00:54:03 +02:00 |
|
tarjei
|
85e5b0ff82
|
Fix most of deref logic
Still doesn't handle empty lists properly.
|
2021-05-21 21:53:55 +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 |
|
Brendan Hansknecht
|
ae6cd1ca4e
|
Update test since frontend doesn't stack overflow anymore
|
2021-05-20 20:45:06 -07:00 |
|
Brendan Hansknecht
|
1a98ec290e
|
Fix dev backend pointer bug
When using pointers as keys, new ones shouldn't get created. Always
reference an existing item.
|
2021-05-20 20:36:49 -07:00 |
|