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-04-28 06:00:48 -0400
committerNiko Matsakis <niko@alum.mit.edu>2017-05-02 14:01:34 -0400
commit29263fdb541fe5d59ef116ebf3666cd573d077ab (patch)
tree5c35cb4184f23070d267088ca46c6647a18a2e7d /src/test/incremental/thinlto
parente89a321dff569fcc04b9249f7dac589c307e36ed (diff)
downloadrust-29263fdb541fe5d59ef116ebf3666cd573d077ab.tar.gz
rust-29263fdb541fe5d59ef116ebf3666cd573d077ab.zip
introduce idea of "stealable" MIR
This is a more principled version of the `RefCell` we were using
before. We now allocate a `Steal<Mir<'tcx>>` for each intermediate MIR
pass; when the next pass steals the entry, any later attempts to use it
will panic (there is no way to *test* if MIR is stolen, you're just
supposed to *know*).
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions