about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo.net>2017-04-03 19:39:12 +0200
committerMichael Woerister <michaelwoerister@posteo.net>2017-04-07 14:37:48 +0200
commitbb6387295a85da70546ed3ce7fa0d702b9cb9d6c (patch)
tree1bfe6b43121735f50bbc90e78a1a3685d276a971 /src/test/run-pass/thinlto
parentedc1ac3016d0e8383e174312db7c3b7a885af0c3 (diff)
downloadrust-bb6387295a85da70546ed3ce7fa0d702b9cb9d6c.tar.gz
rust-bb6387295a85da70546ed3ce7fa0d702b9cb9d6c.zip
SVH: Don't hash the HIR twice when once is enough.
The SVH (Strict Version Hash) of a crate is currently computed
by hashing the ICHes (Incremental Computation Hashes) of the
crate's HIR. This is fine, expect that for incr. comp. we compute
two ICH values for each HIR item, one for the complete item and
one that just includes the item's interface. The two hashes are
are needed for dependency tracking but if we are compiling
non-incrementally and just need the ICH values for the SVH,
one of them is enough, giving us the opportunity to save some
work in this case.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions