Commit Graph

15731 Commits

Author SHA1 Message Date
Richard Feldman
5baf1ac8b3
Merge pull request #3088 from rtfeldman/fast-comment-simd
use simd in actual comment parsing
2022-05-21 22:39:25 -04:00
Richard Feldman
3ba2d7cebc
Merge pull request #3107 from rtfeldman/formatter-outdent-types
Formatter: Outdent multi-line annotations for record types and tag unions
2022-05-21 18:23:57 -04:00
Sean Hagstrom
c7e6547c9a
formatter: support outdenting multi-line annotations for record types and tag unions 2022-05-21 20:18:32 +01:00
Folkert de Vries
e3b6a38394
Merge pull request #3114 from rtfeldman/less-u128-special-casing
Less U128 special-casing
2022-05-21 18:18:42 +02:00
Folkert de Vries
feaf53371f
Merge pull request #3113 from rtfeldman/new-utable-copy
New utable variable copy
2022-05-21 18:17:56 +02:00
Richard Feldman
3cdaa52a30
Merge pull request #3110 from rtfeldman/handcrafted-unification-table
Handcrafted unification table
2022-05-21 11:39:58 -04:00
Richard Feldman
66bcb53eb1
Merge pull request #3108 from rtfeldman/check-derived2
Validate derives clauses after solving
2022-05-21 11:39:18 -04:00
Richard Feldman
ba2465989a
Merge pull request #3098 from rtfeldman/check-derived
Canonicalize "has"-deriving clauses
2022-05-21 11:38:59 -04:00
Richard Feldman
879af96ba1
Merge pull request #3112 from rtfeldman/roc-dec-alignment
Giving RocDec alignment of 16
2022-05-21 10:55:57 -04:00
Richard Feldman
b4e949ca2e
Don't special-case so many U128 literals 2022-05-21 10:36:45 -04:00
Folkert
722ae9da6b
pass along the specific pool we're adding to 2022-05-21 14:48:45 +02:00
Folkert
1814a69c30
remove closure that is used once 2022-05-21 14:42:48 +02:00
Richard Feldman
cccd18a39d
Merge pull request #3111 from rtfeldman/more-tag-union-bindgen-tests
Fix and test bindgen for nonrecursive tag unions
2022-05-21 08:09:57 -04:00
Folkert
8c44661bc2
use set_content_unchecked; replace modify with a single set 2022-05-21 14:06:43 +02:00
Folkert
f1e1c45f2f
some more unchecked operations 2022-05-21 13:52:44 +02:00
Folkert
a1894195d3
refactoring trivial copy detection 2022-05-21 13:48:28 +02:00
Richard Feldman
489fb31cc2
Combine aarch64 and non-aarch64 mono size assertions 2022-05-21 00:53:47 -04:00
Richard Feldman
49aea9d639
Use [u8; 16] to avoid number alignment bumps 2022-05-21 00:53:47 -04:00
Richard Feldman
348d4686cd
fix bindgen::types tests 2022-05-21 00:09:56 -04:00
Richard Feldman
6f6b1d8767
Explicitly bindgen size for unions w/o padding 2022-05-20 23:36:56 -04:00
Richard Feldman
a6e0d1d58b
Calculate sizes of some tag union types 2022-05-20 23:36:56 -04:00
Richard Feldman
da1fd4b195
Remove obsolete & from tests 2022-05-20 23:36:55 -04:00
Richard Feldman
4f43210218
Use target_info for discriminant alignment 2022-05-20 23:36:55 -04:00
Richard Feldman
b421c53bb5
Document union-with-padding test briefly 2022-05-20 23:36:55 -04:00
Richard Feldman
7a0ca60d10
Add failing test for tag union w/o padding 2022-05-20 23:36:55 -04:00
Richard Feldman
2914260b0e
fix tests 2022-05-20 23:36:55 -04:00
Richard Feldman
667ff220ea
Remove unnecessary & 2022-05-20 23:36:55 -04:00
Richard Feldman
d9be48a224
Add RocTagUnion::discriminant_offset 2022-05-20 23:36:55 -04:00
Richard Feldman
2daf001786
Document the new discriminant design 2022-05-20 23:36:54 -04:00
Richard Feldman
7465b82a04
Add RocType::size 2022-05-20 23:36:54 -04:00
Richard Feldman
3ba05bdef2
Overhaul nonrecursive tag union bindgen 2022-05-20 23:36:54 -04:00
Richard Feldman
c685acd3cd
Derive Eq for PtrWidth 2022-05-20 23:36:54 -04:00
Richard Feldman
f6b1d3b592
Add TargetInfo::ptr_size 2022-05-20 23:36:54 -04:00
Richard Feldman
0d51443575
Give RocDec align 16 in roc_std 2022-05-20 23:36:30 -04:00
Richard Feldman
22b5eaddcb
Combine repr(C) and align annotations 2022-05-20 22:03:32 -04:00
Richard Feldman
39c6feb94c
Dereference ManuallyDrop in Debug instances 2022-05-20 22:03:32 -04:00
Richard Feldman
539c937a00
Add bindgen test for nonrecursive tag union 2022-05-20 22:03:31 -04:00
Richard Feldman
02d802457b
Bindgen constants for tags with no payload 2022-05-20 22:03:31 -04:00
Richard Feldman
693a18b235
Update gen_rs tests 2022-05-20 22:03:31 -04:00
Richard Feldman
6f318d36e2
Move match expression into write_impl_tags 2022-05-20 22:03:31 -04:00
Richard Feldman
a753f3ce42
bindgen Hash impl for nonrecursive tag unions 2022-05-20 22:03:31 -04:00
Richard Feldman
9a30aaff78
Fix debug_assert bindgen for tag unions 2022-05-20 22:03:31 -04:00
ayazhafiz
7383c57d7e
Clippy 2022-05-20 20:34:17 -04:00
Ayaz Hafiz
4a77ce9eca
<clip> 2022-05-20 17:47:21 -04:00
Ayaz Hafiz
bc2d0a2c7a
Add some more tests 2022-05-20 17:39:26 -04:00
Ayaz Hafiz
ababfa4129
Use two caches instead of a unified one for obligation checking 2022-05-20 17:39:09 -04:00
Folkert
a705d6a6e8
unchecked in making the rank table 2022-05-20 23:28:56 +02:00
Folkert
e20ac3f38f
use unchecked operations in generalization 2022-05-20 23:18:27 +02:00
Folkert
6bedf126ae
unchecked variants of functions (don't check the rootness of the key 2022-05-20 23:06:47 +02:00
Folkert
d291a87945
more efficient use of Subs api 2022-05-20 22:55:00 +02:00