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
|
3eb75619ea
|
Provide roc_alloc etc imlementations to repl
|
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
|
24e22bc31b
|
Have roc_alloc return a nullable pointer
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
c89d022242
|
Fix custom-malloc example
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
9474e6c262
|
Drop some obsolete stuff
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
f9241cfa01
|
Use roc_alloc etc in roc_std
|
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
|
06cc873c0a
|
Fix cli_run tests
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
bfd8187d97
|
Try to specify roc_alloc etc in example Rust hosts
...but they're all broken for other reasons, so who knows
if it actually worked?
|
2021-05-23 23:46:09 -04:00 |
|
Richard Feldman
|
175115ee4e
|
Have examples with zig hosts use roc_alloc etc
|
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
|
3ea991f5a3
|
Fix typo in comment
|
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
|
8cafabc0c9
|
Merge pull request #1327 from rtfeldman/clippy
Clean up clippy annotations
|
2021-05-23 20:30:00 -04:00 |
|
Richard Feldman
|
a7518a675a
|
Clean up some clippy warnings
|
2021-05-23 20:28:23 -04:00 |
|
Richard Feldman
|
73f2ef6700
|
Merge pull request #1323 from rtfeldman/gen_dev/mac-os
Enable writing dev backend on macOS
|
2021-05-23 20:12:35 -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 |
|
Lucas
|
b942b78a34
|
Merge branch 'trunk' into constrain_access
|
2021-05-23 16:24:48 -04: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
|
2a0ba43515
|
rename var
|
2021-05-23 16:24:53 +02:00 |
|
Folkert
|
40c405c67b
|
don't generate code for decrement in Quicksort
|
2021-05-23 16:22:43 +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 |
|
Richard Feldman
|
ad86a06860
|
Merge pull request #1322 from rtfeldman/package-config
Rename Pkg-Config.roc to Package-Config.roc
|
2021-05-22 18:20:18 -04:00 |
|
Folkert
|
53871317d5
|
RocList should start with refcount one
|
2021-05-23 00:18:51 +02:00 |
|
Folkert
|
44c2297d08
|
cleanup
|
2021-05-22 22:15:14 +02:00 |
|