Commit graph

333 commits

Author SHA1 Message Date
Folkert
c4ec9aa898 working mono 2021-11-20 23:25:30 +01:00
Folkert
fcb89cbcd8 Merge remote-tracking branch 'origin/trunk' into shrink-call-type 2021-11-13 19:31:30 +01:00
Folkert
f8b4ce0317 shrink tag id sizes in layouts 2021-11-13 19:31:20 +01:00
Folkert
e2f7606f25 shrink higher order with indirection 2021-11-13 15:42:47 +01:00
Folkert
144dbef434 Merge remote-tracking branch 'origin/trunk' into tag-union-imitate-rust 2021-11-10 17:19:30 +01:00
Michael Downey
7e074d300e cleaning up and adding comments 2021-11-09 14:37:31 -05:00
Michael Downey
1bc278d962 initial commit of Str.trimLeft 2021-11-09 14:25:24 -05:00
Folkert
5cd232816b waypoint 2021-11-05 21:30:20 +01:00
Richard Feldman
ff48abdd06 Refactor NonRecursive to use flat_map and match 2021-11-03 19:44:35 -04:00
Folkert
aa9bf6bdff fix alignment problem 2021-11-03 18:21:07 +01:00
Folkert
a40c4f4fd5 use Entry 2021-10-31 13:47:02 +01:00
Folkert
408aa899bf remove old code 2021-10-13 15:10:42 +02:00
Folkert
f43c10373f represent empty closure as unit (not void) 2021-09-24 15:41:00 +02:00
Brendan Hansknecht
0c6f8f308f Remove f16. It is not really supported by modern CPU hardware. 2021-09-21 16:51:47 -07:00
Folkert
77911cb68a store closure data for bool/byte again 2021-09-18 01:01:38 +02:00
Folkert
7416cc4e81 don't pass closure argument if not expected 2021-09-17 22:51:51 +02:00
Richard Feldman
f619932255
Merge pull request #1699 from rtfeldman/effect-after
Fix closures only monomorphizing once
2021-09-13 19:50:50 -04:00
Folkert
52d36cbe72 fix closure weirdness (skipping or infinite looping) 2021-09-13 22:50:48 +02:00
Folkert
350891468a add LambdaSet layout variant 2021-09-12 17:00:09 +02:00
Folkert
0b893eb972 remove alignment bump again 2021-09-12 14:01:41 +02:00
Folkert
9713645806 only round up to 2*usize on 32-bit platforms 2021-09-04 16:00:22 +02:00
Folkert
1d17a21d1f higher alignment requirement on rocstr/roclist 2021-09-04 15:18:37 +02:00
Folkert
97577c92cf layout add allocation_alignment_bytes 2021-09-04 00:03:10 +02:00
Folkert
c6163a73f6 use environment size of pointer 2021-08-27 12:25:21 +02:00
Folkert
a070a7fcc7 add ptr_bytes to layout env 2021-08-26 22:12:44 +02:00
Folkert
af1051ef89 add ptr_bytes to the layout cache 2021-08-26 22:06:47 +02:00
Folkert
ecba687243 Unify variables directly when possible
instead of going through a solved type
2021-08-22 16:30:06 +02:00
Richard Feldman
a0fe80f202 Fix some unused args 2021-08-20 23:12:32 -04:00
Folkert
2793c90272 cleanup 2021-08-18 18:35:27 +02:00
Folkert
012b4baa2e clippy 2021-08-18 18:33:33 +02:00
Folkert
6284a90785 a working version 2021-08-18 17:36:27 +02: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
5fc629e5b8 copy relevant parts of from_var 2021-08-18 12:49:17 +02:00
Richard Feldman
bb7726b0e0
Merge branch 'trunk' into store-bool-closure-as-unit 2021-08-14 16:47:42 -04:00
Folkert
2c1ab68ea7 represent byte/bool closure as unit 2021-08-14 18:56:05 +02:00
Folkert
441eb02ca3 represent bool closure as unit 2021-08-14 15:54:05 +02:00
Folkert
7d51a6bca3 comment is not a test... 2021-08-13 15:42:18 +02:00
Folkert
1b0d6110cc strip the layout cache so it does no extra work 2021-08-13 15:09:56 +02:00
Folkert
24ddc4b1e8 further optimizations 2021-08-13 13:25:36 +02:00
Folkert
c9040c012e make things work 2021-08-13 11:04:31 +02:00
Folkert
42f04fcc77 use variablesubsslice for Apply 2021-08-12 22:49:56 +02:00
Folkert
ecfb0e2685 also for recursive tags 2021-08-12 21:46:35 +02:00
Folkert
c058368a6d optimize tag union type -> layout conversion 2021-08-12 21:32:23 +02:00
Folkert
cf05afeacc use vec 2021-08-12 21:02:59 +02:00
Folkert
3bbf1a5506 use UnionTags for recursive tag unions 2021-08-12 20:50:33 +02:00
Folkert de Vries
255ddbe8c1
Merge branch 'trunk' into stack_size_with_alignment 2021-08-12 09:49:33 +02:00
Richard Feldman
c5289522e5 Try to help the branch predictor 2021-08-11 21:52:56 -04:00
Folkert
eb5439ee96 take alignment into account when calculating stack size 2021-08-11 22:37:00 +02:00