Commit Graph

14083 Commits

Author SHA1 Message Date
Brian Carroll
05459455ec wasm: ProcLayout for higher order wrapper fns 2022-04-05 00:02:05 +01:00
Brian Carroll
83cae16a60 wasm: Generate code for List.map call (incomplete) 2022-04-05 00:02:05 +01:00
Brian Carroll
ff9bbfab63 wasm: generate code for ZigCC wrapper function 2022-04-05 00:01:11 +01:00
Brian Carroll
973d6dc41f wasm: Create ProcLookupData structure to help with callconv wrapper 2022-04-05 00:01:11 +01:00
Brian Carroll
448140d223 wasm: refactor to prepare for HigherOrder calls 2022-04-05 00:01:11 +01:00
Ayaz Hafiz
0f0e56a21c
Deal with fastcc return-by-pointer convention correctly
Closes #2582
2022-04-04 16:33:01 -04:00
Folkert
68536e4026
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-04-04 19:55:04 +02:00
Folkert
1e397e950d
changes after review 2022-04-04 19:53:33 +02:00
Brendan Hansknecht
19c02aa087
Merge pull request #2789 from rtfeldman/atomic-rc
Use zig for all refcounts and add atomic support
2022-04-03 22:23:28 +00:00
Brendan Hansknecht
3ef40e2e82 use exhaustive refcount pattern match 2022-04-03 13:29:16 -07:00
Richard Feldman
37182c971b
Merge pull request #2678 from rtfeldman/editor-new-examples-fix
fixed editor new project init for new example folder layout
2022-04-01 23:09:53 -07:00
Brendan Hansknecht
6f8de4492e correct typo 2022-04-01 23:09:32 -07:00
Richard Feldman
87a677ec4e
Merge pull request #2787 from rtfeldman/rust-1.59-clippy
update with new clippy lints
2022-04-01 23:09:17 -07:00
Brendan Hansknecht
a1c469232f simplify allocate_with_refcount to be closer to the old llvm version 2022-04-01 16:27:42 -07:00
Brendan Hansknecht
eea8eeb1b6 clippy 2022-04-01 15:14:30 -07:00
Brendan Hansknecht
a4f0ed1990 flip max for min 2022-04-01 15:07:00 -07:00
Brendan Hansknecht
3606543ac0 keep normal as the default refcounting 2022-04-01 15:03:16 -07:00
Brendan Hansknecht
2093405ffc make sure the rodata refcounts aren't incremented 2022-04-01 15:02:01 -07:00
Brendan Hansknecht
cf238862f4 fix formatting 2022-04-01 14:12:31 -07:00
Brendan Hansknecht
577282ced3 have zig allocate all refcounts 2022-04-01 14:06:28 -07:00
Brendan Hansknecht
805e4ef5d3 change refcount type to enum so none can be select 2022-04-01 13:48:14 -07:00
Brendan Hansknecht
ef49d5714b change incref to use the zig builtin 2022-04-01 13:41:46 -07:00
Richard Feldman
0fe7e784b6
Merge pull request #2790 from rtfeldman/gui-example-mem
fixed high mem+CPU usage for gui-example and editor
2022-04-01 09:08:18 -07:00
Anton-4
ace5b066f8 fixed high mem+CPU usage for gui-example and editor 2022-04-01 09:41:13 +02:00
Brendan Hansknecht
56dc503d11 fix formatting 2022-03-31 22:26:18 -07:00
Brendan Hansknecht
a75ecb2883 add variable to enable atomic refcounts for testing 2022-03-31 22:18:25 -07:00
Folkert
426aa13e13
fix merge error 2022-03-31 21:09:55 +02:00
Folkert
2c8d58329c
formatting 2022-03-31 19:42:43 +02:00
Folkert
0dd2cec09a
update with new clippy lints 2022-03-31 19:34:51 +02:00
Folkert
f9f3a255a9
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-31 19:19:36 +02:00
Richard Feldman
51b360b578
Merge pull request #2783 from rtfeldman/capacity-cherry-picks
List/String Capacity cherry picks
2022-03-30 23:10:59 -04:00
Folkert
295764420d
disable 32-bit linux tests (until zig 0.9) 2022-03-30 23:57:48 +02:00
Folkert
61aeaefc76
a start with 32-bit linux support 2022-03-30 23:55:34 +02:00
Folkert
79d7dd0cbf
make the wasm repl aware of capacity 2022-03-30 20:23:16 +02:00
Folkert
108f2142ba
clippy 2022-03-30 19:23:51 +02:00
Folkert
bd46103f0c
use RocResult for some tests 2022-03-30 19:21:18 +02:00
Folkert
786246f427
when doing a memcpy, don't take alignment into account 2022-03-30 19:20:53 +02:00
Folkert
e94bdb0ed8
use a nullable pointer to store the output of strSplitInPlace 2022-03-30 19:18:29 +02:00
Folkert
5a3be2adf4
give correct stack size without alignment for tags 2022-03-30 19:18:16 +02:00
Folkert
e13ea55004
use roc_load_value to move a value to the stack 2022-03-30 19:16:10 +02:00
Folkert
49f624a27a
use store_roc_value when inserting into dict 2022-03-30 19:15:39 +02:00
Folkert
85bf881b3b
make Dict.keys and Dict.values use list helpers for returning 2022-03-30 19:14:52 +02:00
Folkert
de77748dd5
add additonal tests 2022-03-30 19:08:23 +02:00
Folkert
4426f5793b
rename a function 2022-03-30 19:08:09 +02:00
Folkert
972c5d78d3
use roc_ helpers for box loading and storing 2022-03-30 19:07:55 +02:00
Folkert
59a2253b9a
rework how tags are created 2022-03-30 19:07:40 +02:00
Folkert
3cc96e76dc
preparation for using argument_type_from_layout 2022-03-30 19:07:20 +02:00
Folkert
94b5abf2ce
fix spelling 2022-03-30 17:43:11 +02:00
Folkert
8eff983e53
clippy 2022-03-30 17:37:06 +02:00
Folkert
ddde5694ec
use Normal optlevel in debug builds 2022-03-30 17:35:21 +02:00