about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-10-31 05:03:25 +0000
committerbors <bors@rust-lang.org>2017-10-31 05:03:25 +0000
commit6713736275181abb3304730603afd785b0470ae3 (patch)
treee9e12482147b4e3f11e4030954f8798b86b45526 /src/rustllvm/RustWrapper.cpp
parentf57c55d54d2bf90c16854a03b9a1c35d676e532d (diff)
parent10ffff8bc6f073ffe1342ca3fef229cec0d98693 (diff)
downloadrust-6713736275181abb3304730603afd785b0470ae3.tar.gz
rust-6713736275181abb3304730603afd785b0470ae3.zip
Auto merge of #45551 - michaelwoerister:fix-hir-depnodes-and-ich, r=nikomatsakis
incr.comp.: Fix two problems with HIR hashing.

Fixes https://github.com/rust-lang/rust/issues/45469.

This PR fixes two small problems:
* Overflow checks are always enabled in a constant context, so we need to hash spans of potentially overflowing operations. (Eventually I'd like to handle spans differently so we don't have to make HIR hashing know so much about things like this.)
* The HIR map collector had a bug where it would assign the `DepNode::Hir` instead of the corresponding `DepNode::HirBody` in some nested contexts.

r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions