| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-06-12 | Update basic_assignment test to reflect small changes to codegen. | Felix S. Klock II | -8/+14 | |
| 2017-05-02 | simplify the MirPass traits and passes dramatically | Niko Matsakis | -2/+2 | |
| Overall goal: reduce the amount of context a mir pass needs so that it resembles a query. - The hooks are no longer "threaded down" to the pass, but rather run automatically from the top-level (we also thread down the current pass number, so that the files are sorted better). - The hook now receives a *single* callback, rather than a callback per-MIR. - The traits are no longer lifetime parameters, which moved to the methods -- given that we required `for<'tcx>` objecs, there wasn't much point to that. - Several passes now store a `String` instead of a `&'l str` (again, no point). | ||||
| 2017-03-03 | make operands live to the end of their containing expression | Ariel Ben-Yehuda | -0/+85 | |
| In MIR construction, operands need to live exactly until they are used, which is during the (sub)expression that made the call to `as_operand`. Before this PR, operands lived until the end of the temporary scope, which was sometimes unnecessarily longer and sometimes too short. Fixes #38669. | ||||
