Brendan Hansknecht
6dc5bfb1b7
Use roc_target over target_lexicon
...
Tailors a target class for our needs.
Replaces tons of uses across the entire compiler.
This is a base for later adding new targets like thumb.
2024-03-31 10:50:26 -07:00
Brendan Hansknecht
3966d63e2f
add src and location to dbg
2023-12-02 21:18:31 -08:00
J.Teeuwissen
80faf0eeee
removed borrow.rs
2023-07-30 14:03:38 +02:00
Folkert
2d616d1fe9
manual clippy fixes
2023-07-10 18:27:10 +02:00
Folkert
b29e612a4d
refactor
2023-06-29 18:40:26 +02:00
Folkert
f27cb83a02
remove Reuse
2023-06-29 18:40:26 +02:00
Folkert
1daf975391
use Tag instead of Reuse constructor
2023-06-29 18:40:26 +02:00
Folkert
463f739c06
add reuse info to normal Tag ir constructor
2023-06-29 18:40:26 +02:00
Folkert
48e6ef79a4
we no longer care where a tag layout stores the tag id
2023-06-27 20:55:28 +02:00
Folkert
fc3004da58
free or reuse unconditionally when value is unique
2023-06-27 17:37:45 +02:00
J.Teeuwissen
315b7d73a4
non lazy
2023-06-19 21:10:00 +02:00
J.Teeuwissen
343a548458
clippy ;(
2023-06-19 19:59:55 +02:00
J.Teeuwissen
efe91da38c
Changed token order
2023-06-19 19:55:01 +02:00
J.Teeuwissen
78c1855b66
Fixed logic
2023-06-19 17:41:57 +02:00
J.Teeuwissen
fdfa978ca8
added branch info and uniqueness check
2023-06-18 20:00:15 +02:00
Ayaz Hafiz
bc41db2a34
Get rid of passing target_info a bunch
2023-06-17 18:13:00 -05:00
J.Teeuwissen
5d66ae4295
removed target info
2023-06-13 17:15:04 +02:00
Ayaz Hafiz
457cdabc5c
Make repr private and accessible only via the interner
2023-06-06 16:01:27 -05:00
Folkert
c449582951
clippy
2023-05-15 00:53:12 +02:00
J.Teeuwissen
e9c77a1d30
using DecRef again
2023-05-15 00:53:11 +02:00
J.Teeuwissen
f5feec1e6c
right param
2023-05-15 00:53:11 +02:00
J.Teeuwissen
c991451265
added layout
2023-05-15 00:51:33 +02:00
J.Teeuwissen
d82f3ee09d
Start reuse similar layouts
2023-05-15 00:51:33 +02:00
Ayaz Hafiz
c3eeb5e2cc
Wrap layouts in a LayoutRepr
constructor
...
Part 1 of support semantic layout representations.
2023-05-10 13:22:10 -05:00
J.Teeuwissen
362bdb97ea
using correct id
2023-04-30 16:55:08 +02:00
J Teeuwissen
0f04cd7b0b
interner borrow
2023-04-24 14:33:41 +02:00
J.Teeuwissen
b5655caebc
symbol_tag
2023-04-24 14:13:06 +02:00
J.Teeuwissen
ca45e3c9f9
replaced most iter::once
2023-04-16 19:58:28 +02:00
J.Teeuwissen
f0a1842697
Resolving nitpicky ;) comments
2023-04-16 19:34:07 +02:00
J.Teeuwissen
a4ca864fe3
fixed test
2023-04-16 13:35:35 +02:00
J.Teeuwissen
6ece065504
implementing feedback
2023-04-13 15:54:30 +02:00
J.Teeuwissen
584024f230
check can_reuse on reuse
2023-04-12 10:05:02 +02:00
J.Teeuwissen
b39699b1e8
fmt
2023-04-08 09:32:19 +02:00
J.Teeuwissen
643dc6614d
clippy
2023-04-06 18:46:32 +02:00
J.Teeuwissen
c44da622e5
non mut layout interner
2023-04-06 10:32:50 +02:00
J.Teeuwissen
613f28d28b
allow no jumps
2023-04-05 20:10:41 +02:00
J.Teeuwissen
ed947b773d
Cleanup
2023-04-05 19:44:17 +02:00
J.Teeuwissen
87abe8df7d
Merge branch 'resetref' into Frame-Limited
2023-04-03 10:02:31 +02:00
Folkert
09779f65ad
add NullPointer to mono::ir::Expr
2023-03-30 20:18:04 +02:00
J.Teeuwissen
d4ed6f7778
start resetref
2023-03-29 11:57:13 +02:00
Ayaz Hafiz
3382be6cb9
Chase recursive layouts as appropriate
2023-01-25 15:10:56 -06:00
Ayaz Hafiz
fa8effd3e8
Make all layouts interned in mono
2023-01-11 14:38:41 -06:00
Folkert
f76df8a356
make dbg transparent to refcounting
2022-12-22 01:03:03 +01:00
Ayaz Hafiz
16209ef866
Store specialized lookup variables in expects
2022-12-14 16:59:05 -06:00
Ayaz Hafiz
1962f2045e
Remove layouts from the mono AST for expects
...
This actually isn't needed, because the backends must lookup the layout
from the environment anyway. So it's enough to lookup the symbol and
find its layout, there is no need to additionally store it.
2022-12-14 14:10:02 -06:00
Ayaz Hafiz
897b69b072
Revert "Store layouts in a layout-buffer for expects"
...
This reverts commit bba6e36a18
.
2022-12-14 14:05:46 -06:00
Ayaz Hafiz
bba6e36a18
Store layouts in a layout-buffer for expects
2022-12-14 14:05:28 -06:00
Ayaz Hafiz
803d7e30e3
Eliminate Stmt::RuntimeError in favor of crash
2022-11-24 14:46:53 -06:00
Ayaz Hafiz
c7ef1668d4
Implement mono of crash
2022-11-24 14:46:51 -06:00
Folkert
66a1ba00eb
1.65 clippy fixes
2022-11-03 16:20:37 +01:00