Commit graph

1961 commits

Author SHA1 Message Date
Ayaz Hafiz
8f593480e5
Simplify specialize_naked_symbol with value variables 2022-05-05 11:23:47 -04:00
Ayaz Hafiz
8d6b86efc7
Minor cleanup 2022-05-05 11:20:23 -04:00
Ayaz Hafiz
a1eb65b169
Debug assert needed specializations are empty after leaving mono 2022-05-05 11:13:42 -04:00
Ayaz Hafiz
19e8b37402
Bugfix handle more specialization instances 2022-05-05 11:13:42 -04:00
Ayaz Hafiz
bf91e151e8
Lift reuse_symbol_or_specialize 2022-05-05 11:13:42 -04:00
Ayaz Hafiz
087782f3d0
Closure captures may take on specialized names 2022-05-05 11:13:41 -04:00
Ayaz Hafiz
bc987fd4d7
All of test_gen works again 2022-05-05 11:13:41 -04:00
Ayaz Hafiz
3c2dd488a5
One step forward, two steps back 2022-05-05 11:13:41 -04:00
Ayaz Hafiz
b05874924f
Clippy 2022-05-05 11:13:41 -04:00
Ayaz Hafiz
5624c492da
Almost there... only breakout is bad now 2022-05-05 11:13:41 -04:00
Ayaz Hafiz
55d924ca8b
Get rid of dbgs 2022-05-05 11:13:41 -04:00
Ayaz Hafiz
1b90f45c9d
Sorry copy tests 2022-05-05 11:13:40 -04:00
Ayaz Hafiz
f4b7ea245c
Always specialize reuse symbol 2022-05-05 11:13:40 -04:00
Ayaz Hafiz
c070bfed8b
Little bit of cleanup 2022-05-05 11:13:40 -04:00
Ayaz Hafiz
261df36c50
Polymorphic expression specialization works in gen tests 2022-05-05 11:13:40 -04:00
Ayaz Hafiz
f21ce43e30
Copy Expr 2022-05-05 11:13:40 -04:00
Ayaz Hafiz
79e11547be
Add some copy tests 2022-05-05 11:13:40 -04:00
ayazhafiz
480b84bec1
Cloning references in a variable may end up cloning the variable itself 2022-05-05 11:13:40 -04:00
Ayaz Hafiz
9bc6bb3664
Deep copy type variables 2022-05-05 11:13:39 -04:00
Ayaz Hafiz
7182180622
Pass 1 of polymorphic specialization of defs 2022-05-05 11:13:39 -04:00
Folkert
42ee775fce
WIP 2022-05-04 19:29:24 +02:00
Folkert
5d91ad9254
refactor 2022-05-04 15:16:03 +02:00
Folkert de Vries
bb5c260d2e
Merge pull request #2989 from rtfeldman/rust-1-60-v2
Rust update to 1.60 v2
2022-05-03 17:35:17 +02:00
Brian Carroll
0a3d3e8409
Merge pull request #2987 from rtfeldman/issue-2793/u8-signed-comparison
Issue 2793/u8 signed comparison
2022-05-03 08:01:40 -05:00
Ayaz
5ec815a373
Merge pull request #2985 from rtfeldman/closure-called-in-defining-scope
Closure called in defining scope
2022-05-02 16:41:55 -04:00
Folkert
68ca014cfa
comments + proper naming 2022-05-02 20:45:53 +02:00
Anton-4
c745c08071
fmt+clippy 2022-05-02 18:33:41 +02:00
Brian Carroll
c27a152059
Fix confusion between isize and usize in mono code_gen_help 2022-05-02 04:28:33 -07:00
Ayaz
2ab0bc1226
Merge pull request #2982 from rtfeldman/more-debug-flags
Add more debug flags
2022-05-01 14:30:33 -04:00
Ayaz
84b3ef5fd7
Merge pull request #2978 from rtfeldman/scope-bitmask
Scope bitmask
2022-05-01 12:26:14 -04:00
ayazhafiz
37ba70472f Add more debug flags 2022-05-01 12:25:03 -04:00
Folkert
5c9f8f5037
fix a bug where a closure is called immediately 2022-05-01 14:42:16 +02:00
Folkert
10c2c5e8fd
make construct_closure_data more polymorphic 2022-05-01 14:29:02 +02:00
Folkert
76754e4d2a
use &str instead of Ident in some key places 2022-04-30 20:43:12 +02:00
Ayaz Hafiz
9964f86a3d
Factor bespoke debug variables into debug_flags crate 2022-04-29 17:45:55 -04:00
Ayaz Hafiz
5f8834d6b4 I dont got no references 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
c969c7a15e Remove more exhaustiveness checks in mono 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
1af207325e Simplify again 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
ae0c0fe8fe Simplify 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
9dac9e4bc2 Coalesce 2022-04-28 20:34:03 -04:00
Ayaz Hafiz
bd4f004cea Some marks are always known 2022-04-28 20:33:48 -04:00
Ayaz Hafiz
51c8702820 Smarter marks 2022-04-28 20:33:48 -04:00
Ayaz Hafiz
2f1306afd1 Redundant and exhaustive marks in mono 2022-04-28 20:33:48 -04:00
Ayaz
98a3523702
Merge pull request #2961 from rtfeldman/improved-identids
Improved identids
2022-04-27 10:11:06 -04:00
Folkert
d3ef35d935
rename 2022-04-26 11:33:26 +02:00
Richard Feldman
6da39aa296
Merge pull request #2917 from rtfeldman/move-exhaustiveness-checking
Moves exhaustiveness checking to type solving phase
2022-04-25 20:55:05 -04:00
Ayaz Hafiz
17e7b10267
Fought against clippy and lost 2022-04-25 19:04:09 -04:00
Ayaz Hafiz
85e3373d8b
Move exhaustiveness checking to type checking 2022-04-25 19:04:09 -04:00
Ayaz Hafiz
356616d834
Move exhaustiveness checking to type solving phase with solve tests 2022-04-25 19:04:08 -04:00
Folkert
af6c3231f3
Improved IdentIds 2022-04-25 23:15:57 +02:00