Commit graph

8277 commits

Author SHA1 Message Date
ayazhafiz
dad10af0f9 Make sure to stacksave on x86 2022-04-28 21:07:17 -04:00
Ayaz
1d35cdde8a
Merge pull request #2973 from rtfeldman/scope-touchups
Scope touchups
2022-04-28 20:44:03 -04:00
ayazhafiz
07781dd95f Disable closure wasm test 2022-04-28 20:37:42 -04:00
ayazhafiz
5be9a001e3 Empty records are exhaustive 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
38fd9e8286 Fix gen-dev tests 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
afe49cf570 Cleanup 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
5f8834d6b4 I dont got no references 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
89757dc31f Remove MonoProblem 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
12234c36ad Remove unnecessary var introduction 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
2cc47f184f Remove unncessary variable introduction 2022-04-28 20:34:04 -04:00
Ayaz Hafiz
907cbdc3a7 Compile fix 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 Hafiz
98869b557d Exhaustive and redundant marks 2022-04-28 20:33:48 -04:00
Ayaz
3b64fe59b5
Update compiler/can/src/scope.rs 2022-04-28 20:14:39 -04:00
Folkert de Vries
0dd04787fd
Merge pull request #2972 from rtfeldman/exhaustiveness-bugs
exhaustiveness bug tests
2022-04-28 23:48:51 +02:00
Folkert
42d74199e5
limit cost of inner_scope 2022-04-28 23:43:24 +02:00
Folkert
e243402f9b
rename 2022-04-28 23:28:14 +02:00
Folkert
99340e314c
remove clone of scope.ident_ids 2022-04-28 23:27:46 +02:00
Folkert de Vries
f1dd517d62
Merge pull request #2919 from rtfeldman/scope-smarter-storage
Scope smarter storage + move IdentIds into Scope
2022-04-28 23:26:28 +02:00
Folkert
6dc07c6ea4
add some basic scope tests 2022-04-28 23:23:55 +02:00
Folkert
f17cf9d02b
remove var_store argument 2022-04-28 22:30:27 +02:00
Ayaz Hafiz
3bffdb6037
Add test for 2900
Closes #2900
2022-04-28 16:12:08 -04:00
Ayaz Hafiz
83f9c2a3a0
Trunk test for 2777
Closes #2777
2022-04-28 16:04:24 -04:00
Folkert
572bd66fb7
remove exosed_ident_ids 2022-04-28 21:34:58 +02:00
Folkert
b1fe5659a4
cleanup 2022-04-28 21:19:27 +02:00
Folkert
992575051a
remove identids from Env 2022-04-28 21:11:08 +02:00
Folkert
7fb5b23fb0
move identids into Scope 2022-04-28 21:08:28 +02:00
Folkert
37cb9279f5
prepare for all_ident_ids 2022-04-28 20:42:00 +02:00
Folkert
65e534b2b1
rename 2022-04-28 20:34:55 +02:00
Folkert
5006231e81
remove exposed_ident_ids from Env 2022-04-28 20:31:27 +02:00
Folkert
fb9d60226d
store `exposed_ident_ids in the scope itself 2022-04-28 20:30:02 +02:00
Folkert
5a613db7b6
use snapshots for inner scopes 2022-04-28 20:01:01 +02:00
Folkert
70844b1218
add snapshot functionality 2022-04-28 19:49:44 +02:00
Folkert
38bb5a189e
fix load test 2022-04-28 19:41:21 +02:00
Ayaz Hafiz
94f1e399e3
Fix codegen for non-aarch64 2022-04-28 11:10:01 -04:00
Ayaz Hafiz
48df3ecfbe
Pedants 2022-04-28 10:25:55 -04:00
Ayaz Hafiz
0bc85ad32c
Only load setjmp/longjmp from Zig on aarch64 2022-04-28 09:13:29 -04:00
Anton-4
2b3eef1cbe
mono test output update 2022-04-28 13:03:52 +02:00
Ayaz Hafiz
fbf4cd11ff Turn off busted test and turn on similar repro 2022-04-27 22:43:39 -04:00
Ayaz Hafiz
3fb1b39871 Spin ldopen on Aarch64 tests 2022-04-27 22:43:39 -04:00
Ayaz Hafiz
8e117c0877 Clip 2022-04-27 22:43:39 -04:00
Ayaz Hafiz
b5dd5d4e80 Dead code 2022-04-27 22:43:39 -04:00
Ayaz Hafiz
fa8108e3a8 SJLJ roc_panic on AArch64
```
$ uname -m
arm64

$ cargo test -p test_gen gen_num::abs_min_int_overflow
    Finished test [unoptimized + debuginfo] target(s) in 0.09s
     Running src/tests.rs (target/debug/deps/test_gen-b2041868d2cf26f3)

running 1 test
test gen_num::abs_min_int_overflow - should panic ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 933 filtered out; finished in 0.14s
```
2022-04-27 22:43:34 -04:00
Folkert
e522df3528
fix can tests 2022-04-27 23:31:37 +02:00