Commit graph

117 commits

Author SHA1 Message Date
kilianv
731f10981e Swap the argument order in bitwise shift operators
The arguments were probably swapped in the first place because in Elm
they are swapped, because Elm is curried. The new order makes more sense
both with and without the pipe operator
2022-08-20 20:33:10 +02:00
Ayaz Hafiz
cefbf3aa51
Unwrap lambda sets in cc type choosing 2022-08-19 22:16:41 -05:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Folkert
792936066c
Merge remote-tracking branch 'origin/trunk' into roc-std-platform 2022-08-07 13:28:03 +02:00
Richard Feldman
d260d1e593
Make entry points optional in code gen 2022-08-03 19:50:24 -04:00
Folkert de Vries
8f67129eae use platform-independent tempdir 2022-08-03 21:58:02 +02:00
raleng
36f97b1925
Use build_int_unsigned_rem for unsigned ints 2022-08-02 18:29:11 +02:00
raleng
c54d99df7f
Check rhs == -1 only for signed ints 2022-08-02 18:28:41 +02:00
Folkert
9cb611e540
clippy 2022-07-24 16:49:42 +02:00
Folkert
11c0ca2f1b
wasm test wrapper: don't return dangling pointers 2022-07-24 16:28:41 +02:00
Folkert
2181d4c498
cleanup 2022-07-24 14:11:37 +02:00
Folkert
05a7d76a5e
update StrGetUnsafe 2022-07-24 13:34:14 +02:00
Folkert
f7d1ba6952
fix list sorting 2022-07-24 13:24:28 +02:00
Folkert
6b1ff710ad
rename 2022-07-24 13:07:56 +02:00
Folkert
0ab1a735ec
cleanup 2022-07-24 13:07:16 +02:00
Folkert
a49b1ed32d
str_to_num 2022-07-24 13:02:08 +02:00
Folkert
883a264440
update most string functions 2022-07-24 13:00:20 +02:00
Folkert
83a878b2f9
rename 2022-07-24 12:54:55 +02:00
Folkert
2a91c39ac6
rename 2022-07-24 12:54:31 +02:00
Folkert
1c310cdda6
NumToIntChecked 2022-07-24 12:39:24 +02:00
Folkert
92306280d2
NumToIntChecked 2022-07-24 12:38:38 +02:00
Folkert
048410ca09
NumBytesTo 2022-07-24 12:35:43 +02:00
Folkert
f31bffab30
wasm tests have a platform; don't generate roc_panic and friends for it 2022-07-24 12:22:39 +02:00
Folkert
29ad54e5d1
rename wasm llvm test wrapper (now it's the same as dev) 2022-07-24 12:20:17 +02:00
Richard Feldman
daec85a75e
Merge pull request #3621 from rtfeldman/expect-memcpy
Clone more values into shared expect buffer
2022-07-23 23:00:54 -04:00
Richard Feldman
eb04d4b9f6
Merge pull request #3612 from rtfeldman/tag-alignment
Tag alignment
2022-07-23 22:45:54 -04:00
Folkert
63b2b060c9
fix list non-memcopy clone 2022-07-23 15:42:46 +02:00
Folkert
954a4fbe32
WIP 2022-07-23 14:25:38 +02:00
Brendan Hansknecht
fae2ed7a2b
Merge remote-tracking branch 'origin/trunk' into gen-dev/quicksort 2022-07-22 23:28:46 -07:00
Brendan Hansknecht
fd833df649
correct aarch64 c call conv 2022-07-22 23:04:11 -07:00
Folkert
d4feaf871b
add llvm expect cloning 2022-07-23 00:09:25 +02:00
Folkert
6d88d4106f
remove dead code 2022-07-22 21:15:41 +02:00
Folkert
6cabf11cbc
gen tests with new tag layout 2022-07-22 21:13:55 +02:00
Folkert
cd2311003e
pull out build_struct 2022-07-22 21:13:54 +02:00
Folkert
4977d1c65e
use RocUnion constants for tag index 2022-07-22 21:13:53 +02:00
Folkert
ba7ffab790
make wasm test harness work with by-pointer values being returned 2022-07-22 12:09:20 +02:00
Folkert
9f80aa4df7
store string correctly on 32-bit platforms 2022-07-22 12:06:04 +02:00
Folkert
2fe590abf4
store list in a shorter way 2022-07-22 12:05:29 +02:00
Ayaz Hafiz
29b37a10df
Correctly use module name in linked functions 2022-07-21 09:02:04 -04:00
Brendan Hansknecht
7526f7069b
Revert "use general roc store instead of specific llvm store"
Not sure why but this is wrong for some pointer reasons?

This reverts commit b190b09b78.
2022-07-18 22:35:52 -07:00
Brendan Hansknecht
057e4ea57a
ensure sret is actually pointer type instead of just assuming 2022-07-18 22:35:39 -07:00
Brendan Hansknecht
8bc6131b3d
Merge branch 'trunk' into gen-dev/quicksort 2022-07-18 22:05:45 -07:00
Brendan Hansknecht
9c35d29c24
correct sret to use the element type and not the pointer type 2022-07-18 22:04:34 -07:00
Brendan Hansknecht
b190b09b78
use general roc store instead of specific llvm store 2022-07-18 21:53:01 -07:00
Folkert
b01709c566
don't generate host-exposed functions/values in tests 2022-07-18 19:37:27 +02:00
Folkert de Vries
ca38ec4eb5
Merge pull request #3541 from rtfeldman/rocasync
Changes to get roc-async working
2022-07-18 19:22:07 +02:00
Brendan Hansknecht
837ce38066
correct parameter offset 2022-07-17 07:32:16 -07:00
Brendan Hansknecht
e0cd63d7fc
clippy fix 2022-07-16 19:03:35 -07:00
Brendan Hansknecht
08be0dc8aa
fix llvm backend c abi for parameters passed by reference on the stack 2022-07-16 16:34:51 -07:00
Folkert
b9ebd4fa27 Merge remote-tracking branch 'origin/trunk' into pretty-expect-output 2022-07-15 09:12:04 +02:00