about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2021-09-01 11:07:33 -0700
committerNoah Lev <camelidcamel@gmail.com>2021-09-01 11:10:58 -0700
commit4553a4baf2b365541c2322462a31eb5e5f43f3b5 (patch)
tree8b8417f2b8b34a21aeddb70d982897fc4982b876 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentad3407f482d29f26c67700974d86f89b3f2ab993 (diff)
downloadrust-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