diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-04-28 06:00:48 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-05-02 14:01:34 -0400 |
| commit | 29263fdb541fe5d59ef116ebf3666cd573d077ab (patch) | |
| tree | 5c35cb4184f23070d267088ca46c6647a18a2e7d /src/test/incremental/thinlto | |
| parent | e89a321dff569fcc04b9249f7dac589c307e36ed (diff) | |
| download | rust-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
