diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-08-29 13:22:16 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2019-08-29 13:40:28 -0700 |
| commit | 86487329bb385f74bed67718f2358436ddca1aa4 (patch) | |
| tree | 7c12cc5ecf7a9865e35fa65a7bf7a89be2264edf /src/test/incremental/thinlto | |
| parent | 555d7a2fd6165b614cfc01136d8e3f5c465a1582 (diff) | |
| download | rust-86487329bb385f74bed67718f2358436ddca1aa4.tar.gz rust-86487329bb385f74bed67718f2358436ddca1aa4.zip | |
Add `Place::is_indirect`
This returns whether a `Place` references the same region of memory as its base, or equivalently whether it contains a `Deref` projection. This is helpful for analyses that must track state for locals, since an assignment to `x` or `x.field` is fundamentally different than one to `*x`, which may mutate any memory region.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
