Ralf Jung
818ec8e23a
give some unwind-related terminators a more clear name
2023-08-20 15:52:38 +02:00
Maybe Waffle
e496fbec92
Split {Idx, IndexVec, IndexSlice}
into their own modules
2023-04-24 13:53:35 +00:00
Nilstrieb
4b4948c2e3
Remove identity casts
2023-04-09 23:22:14 +02:00
Gary Guo
3af45d6c57
Address review feedback
2023-04-06 09:34:16 +01:00
Gary Guo
e3f2edc75b
Rename Abort
terminator to Terminate
...
Unify terminology used in unwind action and terminator, and reflect
the fact that a nounwind panic is triggered instead of an immediate
abort is triggered for this terminator.
2023-04-06 09:34:16 +01:00
Gary Guo
0a5dac3062
Add UnwindAction::Terminate
2023-04-06 09:34:16 +01:00
Gary Guo
5e6ed132fa
Add UnwindAction::Unreachable
...
This also makes eval machine's `StackPopUnwind`
redundant so that is replaced.
2023-04-06 09:34:16 +01:00
Camille GILLOT
bcb161def7
Wrap the whole LocalInfo in ClearCrossCrate.
2023-03-14 20:52:42 +01:00
Tomasz Miąsko
b48870b451
Replace Body::basic_blocks()
with field access
2022-08-26 14:27:08 +02:00
Tomasz Miąsko
c2b74f9cc7
Remove support for adding statement to all successors
...
This feature of MIR patch system is no longer used.
2022-08-23 10:08:48 +02:00
Tomasz Miąsko
162bd16352
Elide storage markers when elaborating deref projections
2022-08-23 10:08:48 +02:00
Jakob Degen
efa5eaa5d1
Avoid invalidating the CFG in MirPatch.
...
As a part of this change, we adjust MirPatch to not needlessly create unnecessary resume blocks.
2022-08-02 18:57:54 -07:00
Matthias Krüger
5fc8a8e227
clippy::complexity fixes
...
clone_on_copy
useless_format
bind_instead_of_map
filter_map_identity
useless_conversion
map_flatten
unnecessary_unwrap
2022-05-26 13:14:24 +02:00
Michael Goulet
1784634a39
Lifetime variance fixes for rustc
2022-05-22 14:29:32 -07:00
SparrowLii
38bf1158bd
Change Successors
to impl Iterator<Item = BasicBlock>
2022-05-17 08:41:01 +08:00
ouz-a
d9ddb6446d
re-name stuff
2022-05-01 15:38:22 +03:00
ouz-a
f1c5f34f76
exp-stuff-dirty
2022-04-29 14:42:24 +03:00
ouz-a
5364c86e8e
replace iter with into_iter()
2022-04-18 22:05:16 +03:00
ouz-a
70e67d6f55
fat vec
2022-04-17 22:16:12 +03:00
ouz-a
831ebfc961
format err
2022-04-17 17:11:54 +03:00
ouz-a
2d2c5e118a
little changes
2022-04-17 16:52:18 +03:00
ouz-a
aada74b28f
Make derefer work everwhere
...
Co-Authored-By: Oli Scherer <332036+oli-obk@users.noreply.github.com>
2022-04-16 16:03:14 +03:00
Camille GILLOT
fd9c04fe32
Move the dataflow framework to its own crate.
2021-09-07 19:57:07 +02:00