about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-02-05 17:16:03 +0000
committerbors <bors@rust-lang.org>2016-02-05 17:16:03 +0000
commit6dc112dbb7dd2be0948eae816ec772ef92c69ca9 (patch)
tree7d0fc2e142de5fe7696f91e57868a0017adbac1c /src/rustllvm/RustWrapper.cpp
parent98422e8c156d9cf343c93da30f71d9a4cabda25f (diff)
parent35d6efb23283994472ce4e17c4df3c9d4d75197e (diff)
downloadrust-6dc112dbb7dd2be0948eae816ec772ef92c69ca9.tar.gz
rust-6dc112dbb7dd2be0948eae816ec772ef92c69ca9.zip
Auto merge of #31349 - nikomatsakis:issue-31157-obligation-forest-cache, r=aturon
Have the `ObligationForest` keep some per-tree state (or type `T`) and have it give a mutable reference for use when processing obligations. In this case, it will be a hashmap. This obviously affects the work that @soltanmm has been doing on snapshotting. I partly want to toss this out there for discussion.

Fixes #31157. (The test in question goes to approx. 30s instead of 5 minutes for me.)
cc #30977.
cc @aturon @arielb1 @soltanmm

r? @aturon who reviewed original `ObligationForest`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions