diff options
| author | Matthew Maurer <mmaurer@google.com> | 2024-03-24 18:56:15 +0000 |
|---|---|---|
| committer | Matthew Maurer <mmaurer@google.com> | 2024-03-29 18:15:41 +0000 |
| commit | d301f40c84c0a65ee7b86a6cdcca3544ab5db0fe (patch) | |
| tree | 5708dec1ca4f8ac4f2fcb4b8f82f470f0dfd0fc9 /compiler/rustc_pattern_analysis/src | |
| parent | d779a7a25f67fced5f8fea232ef407c5b228a22f (diff) | |
| download | rust-d301f40c84c0a65ee7b86a6cdcca3544ab5db0fe.tar.gz rust-d301f40c84c0a65ee7b86a6cdcca3544ab5db0fe.zip | |
CFI: Encode Virtual calls as calls through the defining trait
For example, if `trait Foo: Bar`, and we try to call a method from `Bar` on `dyn Foo`, encode the callsite as passing a `dyn Bar`, not a `dyn Foo`.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
