Commit graph

161 commits

Author SHA1 Message Date
Folkert
36fc9b5f1f update target-lexicon 2021-08-26 21:39:33 +02:00
Folkert
fca5463751 more faithfully implement the C abi
when generating llvm/roc functions for e.g. roc_fx_putLine
2021-08-26 21:22:21 +02:00
Folkert
b9cd254b9a allow 4byte alignment in dict values 2021-08-25 22:07:16 +02:00
Folkert
f04ad1643f fix some things 2021-08-25 20:54:34 +02:00
Folkert
05d2b8150f make dict functions work on 32bit platforms 2021-08-25 20:49:07 +02:00
Folkert
194918fe4b remove Invoke 2021-08-20 19:32:55 +02:00
Folkert de Vries
86d46825aa
Merge branch 'trunk' into NumBytesTo 2021-08-20 11:32:20 +02:00
Joshua Hoeflich
b57ebb6229 Remove castToNat 2021-08-19 16:11:21 -05:00
Richard Feldman
f279485edf
Merge branch 'trunk' into roc_panic 2021-08-19 07:20:26 -04:00
Richard Feldman
0bebb64bae
Merge branch 'trunk' into NumBytesTo 2021-08-19 01:37:39 -04:00
Joshua Hoeflich
06313a7736 cargo clippy 2021-08-18 18:05:47 -05:00
Folkert
1c7301ea58 refactor 2021-08-18 18:39:12 +02:00
Folkert
e31f5d4fa0 more cleanup 2021-08-18 18:38:18 +02:00
Folkert
012b4baa2e clippy 2021-08-18 18:33:33 +02:00
Joshua Hoeflich
92da003fba Adds castToNat 2021-08-18 11:02:20 -05:00
Folkert
73358b98bd clippy 2021-08-18 15:14:46 +02:00
Folkert
9c27535cee some work, some don't 2021-08-18 15:13:48 +02:00
Folkert
c09b3b89f3 test_gen works again 2021-08-18 13:46:09 +02:00
Folkert
367d08814d don't have compiler generate setjmp/longjmp when building an executable 2021-08-17 22:42:03 +02:00
Folkert
adbc7cdc69 cleanup 2021-08-16 21:16:29 +02:00
Folkert
48e447e558 remove more invoke stuff 2021-08-16 21:14:56 +02:00
Folkert
5171d181ac emit invoke again to see what's up here 2021-08-16 20:44:55 +02:00
Folkert
b9431187f7 remove c++ stuff 2021-08-16 20:33:55 +02:00
Folkert
b04734580d clippy 2021-08-16 20:18:31 +02:00
Folkert
a0a0896622 a working prototype 2021-08-15 23:20:05 +02:00
Folkert
d8e38ef2ac proof of concept 2021-08-15 13:21:14 +02:00
Joshua Hoeflich
22e781259d TODO: Actually implement the functions 2021-08-14 19:28:13 -05:00
Joshua Hoeflich
9dad304e95 Passing arguments successfully to bytesToU16 2021-08-14 19:11:27 -05:00
Joshua Hoeflich
59f07377fe More testing; clean up 2021-08-14 18:23:49 -05:00
Joshua Hoeflich
744fefc3a1 Fixed: Actually calling llvm we generate 2021-08-14 18:20:11 -05:00
Joshua Hoeflich
ff2c3d7945 Dummy implementation that doesn't do what we want 2021-08-14 17:59:53 -05:00
Folkert
225c97aae3 move List.prepend to zig 2021-08-14 12:28:05 +02:00
Folkert
4140473f1a cleanup and comments 2021-08-11 01:12:46 +02:00
Folkert
8c374c8d7d check sizes when casting 2021-08-10 23:46:43 +02:00
Joshua Hoeflich
ae38a0d3ff Cargo fmt 2021-08-08 21:41:00 -05:00
Joshua Hoeflich
c00d400d85 Fixes merge conflict 2021-08-08 21:38:15 -05:00
Joshua Hoeflich
4231b340ee Glue code working 2021-08-08 11:06:10 -05:00
Richard Feldman
2a616103c6 Rename Str.toBytes to Str.toUtf8 2021-08-07 22:46:24 -04:00
Richard Feldman
267836226c s/CodePoint/CodePt/g 2021-08-07 21:46:20 -04:00
Folkert
d4896d3ed2 remove inlinable_string dependency 2021-08-03 21:24:19 +02:00
Folkert
ceb5cc66fa use IdentStr 2021-08-03 21:14:36 +02:00
Folkert
e0648d348d new formatting 2021-07-30 17:13:50 +02:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
768c59f45d bigger tag size fixes 2021-07-24 13:36:06 +02:00
Folkert
2b84fd0009 use WeakAny linking to link in compiler_rt stuff 2021-07-24 12:50:06 +02:00
Folkert
f5e5ec42ad use ptr_int 2021-07-24 12:43:58 +02:00
Folkert
d0be0df83c tweaks 2021-07-24 12:33:57 +02:00
Folkert
59e551dd32 cleanup 2021-07-24 00:13:00 +02:00
Folkert
bafb16091d explicitly include muloti4 in LLVM IR 2021-07-21 15:01:18 +02:00
Folkert
0d606a348e add intrinsics back in ?! 2021-07-18 23:25:31 +02:00