Commit graph

8300 commits

Author SHA1 Message Date
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
Folkert
2844be4383
move IdentStore to the bottom 2022-04-27 21:03:18 +02:00
Folkert
d09036bb4f
don't have shadowing overwrite our data 2022-04-27 20:59:40 +02:00
Folkert
1372825ebb
refactor 2022-04-27 20:53:00 +02:00
Folkert
08c8968236
use interner in Scope + fix shadowing being reported incorrectly 2022-04-27 20:40:58 +02:00
Folkert
09fbd4a505
fix typo 2022-04-27 20:22:52 +02:00
Folkert de Vries
d8d3d7b30c
Merge pull request #2966 from rtfeldman/refactor-closure-can
Refactor closure canonicalization
2022-04-27 20:21:47 +02:00
Folkert
7af2bb343c
remove unused Scope functions 2022-04-27 19:53:30 +02:00
Folkert
34d77cffdb
Merge branch 'refactor-closure-can' into scope-smarter-storage 2022-04-27 19:46:02 +02:00
Folkert
622c6f3248
Merge remote-tracking branch 'origin/trunk' into scope-smarter-storage 2022-04-27 19:45:09 +02:00
Folkert
1de3148cf1
fix problem with record guards 2022-04-27 19:18:26 +02:00
Folkert
c487506ab4
reduce allocations further 2022-04-27 19:11:25 +02:00
Folkert
b265663515
reduce allocations in pattern iteration 2022-04-27 18:44:06 +02:00
Folkert
454aa17586
change where scope is cloned 2022-04-27 18:01:22 +02:00
Folkert
2d0a9c8531
stop scope diffing in when canonicalization 2022-04-27 17:57:42 +02:00
Folkert
984ef53e75
shaving off a couple more lines 2022-04-27 17:29:32 +02:00
Folkert
2973af5f79
get rid of env.closure_name_symbol 2022-04-27 17:11:33 +02:00
Folkert
465fad9da1
refactor it all again 2022-04-27 17:01:18 +02:00
Folkert
6783b66db7
stop using env.closures 2022-04-27 16:44:29 +02:00
Folkert
c28a0af932
refactor: special-case the canonicalization of a Closure def 2022-04-27 16:42:04 +02:00
Folkert
41ee2c3e6a
unwrapping of an Opaque does not count as a binding of the opaque name 2022-04-27 16:38:53 +02:00
Folkert
c65f90b8c5
refactor closure canonicalization 2022-04-27 16:22:00 +02:00
Folkert
7a53534d41
rework how we filter captured symbols, and check for unused symbols 2022-04-27 16:14:15 +02:00
Ayaz
98a3523702
Merge pull request #2961 from rtfeldman/improved-identids
Improved identids
2022-04-27 10:11:06 -04:00
Folkert de Vries
1649e13cf0
add additional assert
Co-authored-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2022-04-27 15:31:43 +02:00
Folkert
61d4d66f80
move to u16 again for lengths 2022-04-27 14:26:20 +02:00
Folkert
b2f3ff0c3b
fix bug with updating strings giving incorrect results 2022-04-27 11:37:57 +02:00
Ayaz
b8ad2aedb4
Update build.rs 2022-04-26 22:43:04 -04:00