Commit graph

10698 commits

Author SHA1 Message Date
Brian Carroll
3992850387 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_generate_bytes 2021-10-24 23:36:12 +02:00
Brian Carroll
b6e442c9ee Fix locals code gen 2021-10-24 23:36:00 +02:00
Brian Carroll
11f327f722 Fix function call 2021-10-24 23:35:25 +02:00
Brian Carroll
c46e73bd64 Fix test code gen 2021-10-24 23:34:14 +02:00
Brendan Hansknecht
5d42fe4448 Fix comparison 2021-10-24 12:05:03 -07:00
Brendan Hansknecht
31f61d81f1 Add assert related to RocList capacity of 0 2021-10-24 12:04:19 -07:00
Brendan Hansknecht
af49d9bdb2 Avoid allocation for empty list 2021-10-24 11:56:53 -07:00
Brendan Hansknecht
056b10b36b Merge branch 'trunk' into false-cleanup 2021-10-24 11:49:30 -07:00
Brendan Hansknecht
9e9ebc9e41 Enable valgrind in testing 2021-10-24 11:42:05 -07:00
Brendan Hansknecht
8f3254bee0 Stop dropping filename 2021-10-24 11:19:20 -07:00
Richard Feldman
fea4d873a5
Add Kevin Sjöberg to AUTHORS 2021-10-24 11:56:33 -04:00
Richard Feldman
d3eed26721
Merge pull request #1816 from kevinsjoberg/bugfix/pass-correct-argument
Ensure we pass stdout (the String contents) instead of the Out struct
2021-10-24 11:55:11 -04:00
Kevin Sjöberg
83ce1fbf64 Ignore .envrc
.envrc is commonly used by direnv (see https://direnv.net) and tend to
be highly personalized. It's usually best to ignore it, allowing people
to use it to their liking.
2021-10-24 16:22:00 +02:00
Kevin Sjöberg
3bea23bed5 Ensure we pass stdout (the String contents) instead of the Out struct 2021-10-24 16:13:48 +02:00
Brian Carroll
6534da5055 Fix LEB encoding and refactor insertions 2021-10-24 11:54:21 +02:00
Richard Feldman
8cf62464c3
Merge pull request #1812 from rtfeldman/procs-use-vectors
Refactor start of monomorphization
2021-10-23 22:24:01 -04:00
Richard Feldman
8b4cffc587
Merge pull request #1813 from rtfeldman/nightly_build
set up nightly release publishing
2021-10-23 22:19:22 -04:00
Richard Feldman
e4df5924ab
Fix some outdated references to Rust
Fixes #1815
2021-10-23 17:06:06 -04:00
Anton-4
4740761349 fmt 2021-10-23 19:57:08 +02:00
Anton-4
ae136f1a0e print nightly version with commit after release 2021-10-23 19:53:39 +02:00
Brian Carroll
13577aa9ec Combine our handmade Code section with other sections from parity_wasm (tests compile but fail) 2021-10-23 17:12:49 +02:00
Brian Carroll
7c398ba238 tweak comment 2021-10-23 13:52:45 +02:00
Brian Carroll
0f8fcb68b1 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_generate_bytes 2021-10-23 13:50:11 +02:00
Brian Carroll
973626fe2d Rename FunctionBuilder back to CodeBuilder 2021-10-23 13:48:20 +02:00
Brian Carroll
dbe6d195f7 Delete CodeBuilder 2021-10-23 13:40:10 +02:00
Brian Carroll
74e3239a1c Switch over to function_builder 2021-10-23 13:39:54 +02:00
Anton-4
e0de24c113
Merge branch 'trunk' into nightly_build 2021-10-23 12:45:07 +02:00
Chelsea Troy
9633a5adaa
Fix the build, but List.dropLast itself still doesn't work. 2021-10-23 00:29:13 -05:00
Chelsea Troy
fd83c3b749
Branch the dropLast functionality from dropAt, inserting an index gathered by subtracting 1 from the list length 2021-10-23 00:17:08 -05:00
Brian Carroll
bca9f31c58 Implement insertions for byte-level code gen 2021-10-23 00:02:14 +02:00
Folkert
0ee4076e62 Merge remote-tracking branch 'origin/trunk' into procs-use-vectors 2021-10-22 23:01:12 +02:00
Folkert
127b1495a7 add comment 2021-10-22 23:00:47 +02:00
Folkert
2e773e5f66 turn module_thunks into a slice 2021-10-22 22:59:00 +02:00
Folkert
6a6ea64323 abstract checking of is module thunk 2021-10-22 22:16:52 +02:00
Folkert
6400baf2c1 shrink Procs until the last moment 2021-10-22 21:42:53 +02:00
Anton-4
a035e58ead set up nightly release publishing 2021-10-22 19:42:41 +02:00
Brian Carroll
42757cc1fc
Merge pull request #1805 from rtfeldman/wasm_bumpalo
Update gen_wasm to use bumpalo
2021-10-22 19:23:45 +02:00
Brian Carroll
dc1779d41d Finalisation and serialisation for byte-level function builder 2021-10-22 19:02:03 +02:00
Folkert
eaaf3eb940 simplify monomorphization first steps 2021-10-22 18:12:46 +02:00
Folkert
0529d6dbc6 refactor insert_named 2021-10-22 17:22:15 +02:00
Folkert
9d343ab206 use vector instead of set 2021-10-22 16:57:14 +02:00
Brian Carroll
e55f4e7fa9 Merge branch 'trunk' of github.com:rtfeldman/roc into wasm_bumpalo 2021-10-22 16:57:04 +02:00
Brian Carroll
db43a15759 Fix clippy warning 2021-10-22 16:56:54 +02:00
Richard Feldman
9740fffe51
Merge pull request #1809 from rtfeldman/remove-call-result-again
Remove call result again
2021-10-22 08:52:22 -04:00
Brian Carroll
0586f91b04 Reorder arguments of instruction methods
Having the opcode first makes it easier to see if it matches the method name
2021-10-22 13:17:18 +02:00
Folkert
ad9f0b0609 clippy 2021-10-22 13:07:45 +02:00
Brian Carroll
fbceafa8dc Get all instructon methods compiling 2021-10-22 12:59:19 +02:00
Folkert
da3787feb8 Merge remote-tracking branch 'origin/trunk' into remove-call-result-again 2021-10-22 12:57:36 +02:00
Folkert
10b9307ab6 centralize calling roc functions in llvm 2021-10-22 12:56:58 +02:00
Folkert
e6edfda9a5 refactor call to roc function 2021-10-22 12:32:37 +02:00