Commit graph

7475 commits

Author SHA1 Message Date
Folkert
a67bb29a36
remove hashmap 2022-03-22 21:58:49 +01:00
Folkert de Vries
5e9e7f3ad5
Merge pull request #2760 from rtfeldman/wasm-reset-reuse
Wasm reset & reuse
2022-03-21 23:02:28 +01:00
Richard Feldman
68adeba43c
Merge pull request #2758 from rtfeldman/intern-tag-names
handle common tag names in type -> subs conversion
2022-03-20 20:39:46 -04:00
Richard Feldman
68e5b1a3ec
Merge pull request #2759 from rtfeldman/serialize-subs
Serialize subs
2022-03-20 20:36:43 -04:00
Brian Carroll
d479d1efb9 Formatting 2022-03-20 23:31:38 +00:00
Brian Carroll
1f82310832 wasm: Add support for Expr::Reuse 2022-03-20 23:01:54 +00:00
Brian Carroll
5de539b9fa mono: Generate IR for refcount reset procedures 2022-03-20 22:48:23 +00:00
Folkert
7062a71216
clippy 2022-03-20 21:42:04 +01:00
Folkert
832681269e
add serialization test code 2022-03-20 21:32:59 +01:00
Folkert
715d58cf83
serialize field names properly 2022-03-20 21:30:09 +01:00
Folkert
b6f7f77aae
Revert "inline subs operations more aggressively"
This reverts commit f4cb2ec254.

it'll be merged by a different PR
2022-03-20 20:12:20 +01:00
Folkert
c7656955f8
add Subs (de)serialization 2022-03-20 20:03:02 +01:00
Folkert
5a4db4b4ad
inline subs operations more aggressively 2022-03-20 15:31:35 +01:00
Folkert
02944bd2f6
simplify logic (iterators are complicated for the rust compiler in debug mode) 2022-03-20 15:31:09 +01:00
Folkert
38c2710fc5
intern common tag names 2022-03-20 15:30:47 +01:00
Folkert
a601b93a46
start of serializing subs 2022-03-20 12:55:14 +01:00
Brian Carroll
9b6b81a438 WIP 2022-03-20 11:17:34 +00:00
Richard Feldman
32c1b5f0bf
Merge pull request #2751 from rtfeldman/remove-identstr-allocation
remove allocation in Symbol creation
2022-03-19 21:19:21 -04:00
Richard Feldman
92ec38cf3c
Document SMALL_STR_BYTES calculation 2022-03-19 21:18:02 -04:00
Folkert
f4cb2ec254
inline subs operations more aggressively 2022-03-20 02:07:48 +01:00
hafiz
3f07afe3b5
Merge pull request #2750 from rtfeldman/delay-instantiating-aliases-fix-limitations
Delay instantiating aliases fix limitations
2022-03-19 20:41:14 -04:00
hafiz
418e71e95c
Merge pull request #2755 from rtfeldman/dense-let-constraints
Constraint gen tweaks
2022-03-19 20:39:55 -04:00
Folkert
45863769eb
fix transitive imported aliases not being passed along 2022-03-20 00:03:20 +01:00
Folkert
7f92de69ab
some comments 2022-03-19 23:44:28 +01:00
Folkert
a1dbdf34d5
simplify empty let constraint 2022-03-19 23:41:56 +01:00
Folkert
a20a828ee1
refactor typed function constraint gen 2022-03-19 23:41:33 +01:00
Folkert
6aaef49aa7
don't create IsOpenType constraint for obvious non-types 2022-03-19 21:40:16 +01:00
Folkert
f5ebc5bec9
add some Constraints statistics reporting 2022-03-19 20:50:22 +01:00
Folkert
9ac194a3b3
store Str.Str type in a compact way 2022-03-19 20:49:39 +01:00
Folkert de Vries
68195cc14e
Merge pull request #2753 from rtfeldman/introduced-variables-mapping
Introduced variables mapping
2022-03-19 19:57:31 +01:00
Folkert
147ab87e9c
disable type clone count atomic in release mode 2022-03-19 19:28:24 +01:00
Folkert
55d9dc745c
track if an alias is exposed 2022-03-19 17:10:29 +01:00
Folkert
62ca9ba8d0
make timing info available in check mode 2022-03-19 16:27:14 +01:00
Richard Feldman
5f2054aeb6
Merge pull request #2754 from rtfeldman/remove-type-solvedtype-conversion
Remove Type/Subs -> SolvedType conversion
2022-03-19 10:48:42 -04:00
hafiz
5eb0791bb3
Merge pull request #2752 from rtfeldman/type-nitpicks
various small type-related changes
2022-03-19 10:13:56 -04:00
Folkert
5a15a121ff
remove Content -> SolvedType conversion 2022-03-19 12:26:21 +01:00
Folkert
da0c6adff3
remove Type -> SolvedType conversion 2022-03-19 12:20:15 +01:00
Folkert
1429b105a1
use (name, variable) pair as the unique key 2022-03-19 12:13:13 +01:00
Brian Carroll
c9efeed17e wasm: add support for Expr::Reset 2022-03-19 09:37:45 +00:00
Brian Carroll
bb62571e3a wasm: reorder some code 2022-03-19 09:27:17 +00:00
Brian Carroll
4c7aeb69a4 mono: add rc reset procs to code_gen_help 2022-03-19 09:25:24 +00:00
Folkert
f804c88711
spelling 2022-03-19 00:29:57 +01:00
Folkert
dcd86711ec
combine aliases 2022-03-19 00:27:32 +01:00
Folkert de Vries
7589ab0c95
Merge pull request #2739 from rtfeldman/wasm-function-names
Wasm: add Roc procedure names to debug info
2022-03-19 00:13:25 +01:00
Folkert
94c72fce5e
remove unused import 2022-03-19 00:07:05 +01:00
Folkert
ce4f47d2e9
remove clones in IntroducedVariables clone 2022-03-19 00:03:30 +01:00
Folkert
4e315797b0
expose ImMap entry 2022-03-19 00:00:56 +01:00
Folkert
9b63e6a3a9
simplify IntroducedVariables 2022-03-18 23:47:39 +01:00
Folkert
988ab8775b
fix miscompilation for wasm 2022-03-18 23:11:28 +01:00
Folkert
21a51464f3
various small type-related changes 2022-03-18 22:35:12 +01:00