Richard Feldman
|
ae58ef914d
|
Sort fields in one pass, and drop 0-sized fields
|
2020-06-25 01:49:59 -04:00 |
|
Richard Feldman
|
487c1e3b75
|
Derive more things for UnionVariant
|
2020-06-25 01:26:07 -04:00 |
|
Richard Feldman
|
ec953e9a15
|
Drop zero-sized record fields
|
2020-06-25 01:25:52 -04:00 |
|
Richard Feldman
|
46c43da1de
|
Improve debug output
|
2020-06-25 01:25:33 -04:00 |
|
Richard Feldman
|
72bdeb6e3c
|
Avoid a clone
|
2020-06-25 00:41:33 -04:00 |
|
Richard Feldman
|
e0fc71526e
|
Clean up some debugging info
|
2020-06-25 00:28:01 -04:00 |
|
Richard Feldman
|
72d865b753
|
Add a derive(Debug)
|
2020-06-25 00:15:02 -04:00 |
|
Richard Feldman
|
0550af17d2
|
Fix some empty list edge cases
|
2020-06-25 00:02:52 -04:00 |
|
Richard Feldman
|
2332650785
|
Add cfg(debug_assertions) where appropriate
|
2020-06-24 23:15:12 -04:00 |
|
Richard Feldman
|
c5fbb05ce9
|
Fix an error message
|
2020-06-24 23:15:03 -04:00 |
|
Richard Feldman
|
14c31d55ee
|
Fix List.set monomorphization
|
2020-06-23 23:42:12 -04:00 |
|
Richard Feldman
|
f350c0ed52
|
Fix List.len monomorphization
|
2020-06-23 21:14:23 -04:00 |
|
Richard Feldman
|
88990c8711
|
Move Int and Float modules into Num
|
2020-06-22 23:25:38 -04:00 |
|
Richard Feldman
|
8d92920731
|
Re-add Float128 and Float16
|
2020-06-21 22:29:28 -04:00 |
|
Richard Feldman
|
56c637e399
|
Fix some constraint gen
|
2020-06-21 16:48:44 -04:00 |
|
Richard Feldman
|
32b9b1ea60
|
Remove FLOAT_ADD and similar
|
2020-06-21 15:35:38 -04:00 |
|
Richard Feldman
|
1f6afe1182
|
Default Num layout to Int
|
2020-06-21 15:21:03 -04:00 |
|
Richard Feldman
|
461e166254
|
wip
|
2020-06-20 13:59:04 -04:00 |
|
Richard Feldman
|
dec5c3a062
|
Get low-level ops compiling
|
2020-06-19 20:07:04 -04:00 |
|
Richard Feldman
|
510ab36f51
|
Use LayoutCache to avoid recomputing layouts
|
2020-05-09 22:11:32 -04:00 |
|
Richard Feldman
|
efa486251e
|
Add LayoutCache
|
2020-05-09 22:11:32 -04:00 |
|
Richard Feldman
|
afbe871e6d
|
wip
|
2020-04-26 08:45:41 -04:00 |
|
Richard Feldman
|
d97e16de7e
|
Revert "Attempt a mono/ approach for List.get"
This reverts commit f0b76f41da .
|
2020-04-25 06:19:10 -04:00 |
|
Richard Feldman
|
f0b76f41da
|
Attempt a mono/ approach for List.get
|
2020-04-25 06:19:06 -04:00 |
|
Folkert
|
b9613fcdc5
|
clean up tag pattern match conversion
|
2020-03-23 17:55:02 +01:00 |
|
Folkert
|
a7b5768c47
|
use a custom type to store Union variants
|
2020-03-23 17:55:02 +01:00 |
|
Folkert
|
46062439b5
|
remove label from Struct layout
|
2020-03-23 17:55:02 +01:00 |
|
Folkert
|
e2a7c970bc
|
refactor Access into AccessAtIndex
|
2020-03-23 17:55:02 +01:00 |
|
Richard Feldman
|
cc8683d241
|
Fix use of GEP (was using byte offset, not index)
|
2020-03-21 21:19:18 -04:00 |
|
Folkert
|
97acf1363d
|
cleanup after review
|
2020-03-21 12:52:10 +01:00 |
|
Folkert
|
fbadd9d620
|
add pointer Layout
|
2020-03-20 11:53:21 +01:00 |
|
Folkert
|
b93fe4e341
|
make arbitrary AccessAtIndex work
it now uses that actual layout, not a hardcoded one
|
2020-03-19 00:25:16 +01:00 |
|
Folkert
|
f3f135eca5
|
make Layout Hash
|
2020-03-18 23:26:17 +01:00 |
|
Folkert
|
b28a6ffa33
|
optimize tag union layout calculation
|
2020-03-18 22:42:10 +01:00 |
|
Folkert
|
0996f264e7
|
simplify Byte layout
|
2020-03-18 22:22:32 +01:00 |
|
Folkert
|
c11f374eb0
|
simplify Bool layout
|
2020-03-18 22:15:03 +01:00 |
|
Folkert
|
99db336033
|
Working pattern match on Result Int Int
|
2020-03-18 21:35:10 +01:00 |
|
Folkert
|
9d756a3b2c
|
generate unpacked tags in Crane
|
2020-03-17 15:26:21 +01:00 |
|
Folkert
|
6310341b7e
|
Merge remote-tracking branch 'origin/trunk' into pattern-compilation
|
2020-03-17 12:49:30 +01:00 |
|
Richard Feldman
|
77bf2547ac
|
Add sfe_to_memcpy
|
2020-03-16 21:55:24 -04:00 |
|
Richard Feldman
|
f9e013793c
|
Drop unused mono::Expr::Pointer
|
2020-03-16 21:47:08 -04:00 |
|
Folkert
|
ab332a37c3
|
take the maximum of all tags when calculating layout
|
2020-03-17 00:36:58 +01:00 |
|
Folkert
|
e742b77e0b
|
parity with old implementation
|
2020-03-17 00:36:58 +01:00 |
|
Folkert
|
d875f8bfce
|
implement layout for Tag
|
2020-03-17 00:36:58 +01:00 |
|
Richard Feldman
|
010e390fd6
|
Make using records in defs work
|
2020-03-15 14:31:01 -04:00 |
|
Folkert
|
3ea748e532
|
remove extra check
|
2020-03-15 14:42:57 +01:00 |
|
Folkert
|
5926ac2f01
|
stub out Tag layout
|
2020-03-15 14:42:57 +01:00 |
|
Richard Feldman
|
a54db8bf92
|
Merge remote-tracking branch 'origin/trunk' into array-wrappers
|
2020-03-14 20:49:59 -04:00 |
|
Richard Feldman
|
5bf82fa42c
|
Fix Cranelift gen of nonempty lists
|
2020-03-14 20:44:39 -04:00 |
|
Richard Feldman
|
8d4331f903
|
Merge remote-tracking branch 'origin/trunk' into array-wrappers
|
2020-03-13 22:20:35 -04:00 |
|