about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2017-12-03 13:14:36 -0500
committerNiko Matsakis <niko@alum.mit.edu>2017-12-15 10:27:49 -0500
commit47c1921b9adb7c6e783ef4ec2a5f1dbe312b3da7 (patch)
treea376d0d7b9a106c239a5e467a3e0be06c7477a17 /src/test/incremental/thinlto
parent4a940b321534a1024078cce92fc69030bfd6c60d (diff)
downloadrust-47c1921b9adb7c6e783ef4ec2a5f1dbe312b3da7.tar.gz
rust-47c1921b9adb7c6e783ef4ec2a5f1dbe312b3da7.zip
move some parts of liveness to happen during type checking
This allows us to re-use the `normalize` method on `TypeCheck`, which
is important since normalization may create fresh region
variables. This is not an ideal solution, though, since the current
representation of "liveness constraints" (a vector of (region, point)
pairs) is rather inefficient. Could do somewhat better by converting
to indices, but it'd still be less good than the older code. Unclear
how important this is.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions