| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-13 | Don't suppress move errors for union fields | Matthew Jasper | -9/+22 | |
| 2019-12-09 | Remove `uniform_array_move_out` passes | Matthew Jasper | -38/+93 | |
| These passes were buggy, MIR building is now responsible for canonicalizing `ConstantIndex` projections and `MoveData` is responsible for splitting `Subslice` projections. | ||||
| 2019-12-09 | Make const index and subslice array projections more useful | Matthew Jasper | -4/+5 | |
| * `min_length` is now exact for const index elements. * const index elements are always from the start. * make array `Subslice` `PlaceElems` count both `from` and `to` from the start. | ||||
| 2019-10-22 | Move Place::elem methods and friends to TyCtxt | Santiago Pastorino | -1/+1 | |
| 2019-10-22 | Intern place projection | Santiago Pastorino | -3/+3 | |
| 2019-10-22 | Pattern match over PlaceRef rather than Place | Santiago Pastorino | -1/+1 | |
| This prepares the code base for when projection is interned. Place's projection field is going to be `&List<PlaceElem<'tcx>>` so we won't be able to pattern match against it. | ||||
| 2019-09-29 | remove indexed_vec re-export from rustc_data_structures | csmoe | -5/+5 | |
| 2019-09-25 | Rename `sty` to `kind` | varkor | -2/+2 | |
| 2019-09-11 | Make Place Boxed on Statement to reduce size from 64 bytes to 32 bytes | Santiago Pastorino | -1/+1 | |
| 2019-09-09 | Use slice patterns to match projection base | Santiago Pastorino | -2/+1 | |
| 2019-09-09 | Convert Place's projection to a boxed slice | Santiago Pastorino | -83/+81 | |
| 2019-09-04 | Rustfmt the files I touched | Albin Stjerna | -135/+147 | |
| 2019-09-04 | Polonius: emit initialization/move tracking facts | Albin Stjerna | -1/+8 | |
| - var_starts_path - parent - initialized_at - moved_out_at This also switches to the intended emission of `var_drop_used` fact emission, where that fact is always emitted on a drop-use of a variable, regardless of its initialization status, as Polonius now handles that. | ||||
| 2019-08-24 | Allow lifetime parameters to be inferred | Santiago Pastorino | -1/+1 | |
| 2019-07-22 | Place::as_place_ref is now Place::as_ref | Santiago Pastorino | -5/+5 | |
| 2019-07-20 | Avoid unneeded else branches | Santiago Pastorino | -22/+13 | |
| 2019-07-20 | Avoid cloning Place in gather_init | Santiago Pastorino | -13/+13 | |
| 2019-07-20 | Avoid cloning Place in report_use_of_moved_or_uninitialized and friends | Santiago Pastorino | -3/+3 | |
| 2019-07-20 | Migrate from Place enum to Place struct | Santiago Pastorino | -14/+34 | |
| 2019-06-25 | Implement From<Local> for Place and PlaceBase | Santiago Pastorino | -3/+3 | |
| 2019-06-18 | rustc: remove 'x: 'y bounds (except from comments/strings). | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-06-14 | Unify all uses of 'gcx and 'tcx. | Eduard-Mihai Burtescu | -15/+15 | |
| 2019-06-12 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -3/+5 | |
| 2019-06-12 | rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -4/+4 | |
| 2019-06-12 | Fix fallout from `deny(unused_lifetimes)`. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-06-12 | rustc: replace `TyCtxt<'a, 'gcx, 'tcx>` with `TyCtxt<'tcx, 'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -4/+4 | |
| 2019-06-09 | Changed usages of `mir` in librustc::mir and librustc_mir to `body` | Jad Ghalayini | -22/+22 | |
| 2019-05-28 | Changes the type `mir::Mir` into `mir::Body` | Claude-Alban RANÉLY-VERGÉ-DÉPRÉ | -6/+6 | |
| The commit should have changed comments as well. At the time of writting, it passes the tidy and check tool. Revisions asked by eddyb : - Renamed of all the occurences of {visit/super}_mir - Renamed test structures `CachedMir` to `Cached` Fixing the missing import on `AggregateKind` | ||||
| 2019-05-26 | Make move_path_for iterate instead of recurse | Santiago Pastorino | -14/+27 | |
| 2019-05-25 | Inline move_path_for_projection inside move_path_for | Santiago Pastorino | -61/+53 | |
| 2019-05-25 | Auto merge of #61151 - Centril:rollup-5rpyhfo, r=Centril | bors | -13/+14 | |
| Rollup of 6 pull requests Successful merges: - #61092 (Make sanitize_place iterate instead of recurse) - #61093 (Make borrow_of_local_data iterate instead of recurse) - #61094 (Make find_local iterate instead of recurse) - #61099 (Make ignore_borrow iterate instead of recurse) - #61103 (Make find iterate instead of recurse) - #61104 (Make eval_place_to_op iterate instead of recurse) Failed merges: r? @ghost | ||||
| 2019-05-24 | Make find iterate instead of recurse | Santiago Pastorino | -13/+14 | |
| 2019-05-24 | Make place projections concrete. | Edd Barrett | -1/+1 | |
| Once upon a time (commit 9bd35c07c26) there were two kinds of projection: one for places, and one for constants. It therefore made sense to share the `Projection` struct for both. Although the different use-cases used different concrete types, sharing was made possible by type-parameterisation of `Projection`. Since then, however, the usage of projections in constants has disappeared, meaning that (forgetting lifetimes for a moment) the parameterised type is only every instantiated under one guise. So it may as well be a concrete type. | ||||
| 2019-04-28 | Fix lint findings in librustc_mir | flip1995 | -3/+3 | |
| 2019-04-13 | Auto merge of #59612 - matthewjasper:dataflow-usual-newtype-index, r=estebank | bors | -57/+14 | |
| Use normal newtype_index macro for MIR dataflows * Makes the definition of these structs contain `struct IndexName` * Avoids having an offset by removing high values, rather than 0 * Implements some traits for us. | ||||
| 2019-04-03 | Deny internal lints on librustc_mir | flip1995 | -1/+1 | |
| 2019-04-03 | Rollup merge of #59630 - nnethercote:shrink-mir-Statement, r=pnkfelix | Mazdak Farrokhzad | -3/+3 | |
| Shrink `mir::Statement`. The `InlineAsm` variant is extremely rare, and `mir::Statement` often contributes significantly to peak memory usage. | ||||
| 2019-04-03 | Shrink `mir::Statement`. | Nicholas Nethercote | -3/+3 | |
| The `InlineAsm` variant is extremely rare, and `mir::Statement` often contributes significantly to peak memory usage. | ||||
| 2019-04-02 | Remove adt_def from PlaceTy and make it a struct | Tyler Mandry | -2/+2 | |
| 2019-04-02 | Replace adt_def with name in mir::ProjectionElem::Downcast | Tyler Mandry | -8/+7 | |
| 2019-04-01 | Use normal newtype_index macro for MIR dataflow | Matthew Jasper | -57/+14 | |
| 2019-03-18 | promoted is still left in 2 places | Saleem Jaffer | -2/+0 | |
| 2019-03-08 | expand unused doc comment diagnostic | Andy Russell | -12/+24 | |
| Report the diagnostic on macro expansions, and add a label indicating why the comment is unused. | ||||
| 2019-03-01 | Put Local, Static and Promoted as one Base variant of Place | Santiago Pastorino | -11/+11 | |
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -5/+5 | |
| 2019-02-08 | librustc_mir => 2018 | Taiki Endo | -8/+11 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -31/+0 | |
| 2018-12-18 | treat ref-to-raw cast like a reborrow: do a special kind of retag | Ralf Jung | -1/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -1/+1 | |
| 2018-12-01 | remove some uses of try! | Mark Mansi | -1/+1 | |
