diff options
| author | Noah Lev <camelidcamel@gmail.com> | 2021-09-01 11:07:33 -0700 |
|---|---|---|
| committer | Noah Lev <camelidcamel@gmail.com> | 2021-09-01 11:10:58 -0700 |
| commit | 4553a4baf2b365541c2322462a31eb5e5f43f3b5 (patch) | |
| tree | 8b8417f2b8b34a21aeddb70d982897fc4982b876 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | ad3407f482d29f26c67700974d86f89b3f2ab993 (diff) | |
| download | rust-4553a4baf2b365541c2322462a31eb5e5f43f3b5.tar.gz rust-4553a4baf2b365541c2322462a31eb5e5f43f3b5.zip | |
Remove redundant `Span` in `QueryJobInfo`
Previously, `QueryJobInfo` was composed of two parts: a `QueryInfo` and a `QueryJob`. However, both `QueryInfo` and `QueryJob` have a `span` field, which seem to be the same. So, the `span` was recorded twice. Now, `QueryJobInfo` is composed of a `QueryStackFrame` (the other field of `QueryInfo`) and a `QueryJob`. So, now, the `span` is only recorded once.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
