about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2021-09-15 18:17:38 -0500
committerAaron Hill <aa1ronham@gmail.com>2021-09-15 18:17:38 -0500
commit6d1f4d2fed2bdc561891d19440c38cf7adfb4858 (patch)
treee506ae5b14cc875dc9f8fa34709a9af0bc7836f2 /compiler/rustc_codegen_llvm/src
parentc3c0f80d6081092faff801542dd82f0e2420152b (diff)
downloadrust-6d1f4d2fed2bdc561891d19440c38cf7adfb4858.tar.gz
rust-6d1f4d2fed2bdc561891d19440c38cf7adfb4858.zip
Disable the evaluation cache when in intercrate mode
It's possible to use the same `InferCtxt` with both
an intercrate and non-intercrate `SelectionContext`. However,
the local (inferctxt) evaluation cache is not aware of this
distinction, so this kind of `InferCtxt` re-use will pollute
the cache wth bad results.

This commit avoids the issue by disabling the evaluation cache
entirely during intercrate mode.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions