| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | -1/+1 | |
| 2019-06-17 | remove _by_hir_id if there is no NodeId counterpart | ljedrz | -1/+1 | |
| 2019-06-16 | Auto merge of #60730 - matthewjasper:optimize-false-edges, r=pnkfelix | bors | -4/+2 | |
| Optimize matches Attempt to fix or improve #60571 This is breaking some diagnostics because the MIR for match arms isn't in source order any more. cc @centril | ||||
| 2019-06-14 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -6/+1 | |
| 2019-06-14 | Unify all uses of 'gcx and 'tcx. | Eduard-Mihai Burtescu | -3/+3 | |
| 2019-06-12 | Make `FalseEdges` always have two targets | Matthew Jasper | -4/+2 | |
| We never have more than one imaginary target, so we have no reason for a `Vec` | ||||
| 2019-06-12 | Run `rustfmt --file-lines ...` for changes from previous commits. | Eduard-Mihai Burtescu | -8/+12 | |
| 2019-06-12 | rustc: replace `TyCtxt<'tcx, 'gcx, 'tcx>` with `TyCtxt<'gcx, 'tcx>`. | Eduard-Mihai Burtescu | -3/+3 | |
| 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 | -5/+5 | |
| 2019-06-09 | Changed usages of `mir` in librustc::mir and librustc_mir to `body` | Jad Ghalayini | -62/+62 | |
| 2019-05-28 | Changes the type `mir::Mir` into `mir::Body` | Claude-Alban RANÉLY-VERGÉ-DÉPRÉ | -9/+9 | |
| 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-27 | Make dest_needs_borrow iterate instead of recurse | Santiago Pastorino | -10/+13 | |
| 2019-05-01 | Auto merge of #60195 - varkor:commontypes-to-common, r=eddyb | bors | -1/+1 | |
| Split `CommonTypes` into `CommonTypes` and `CommonLifetimes` The so-called "`CommonTypes`" contains more than just types. r? @eddyb | ||||
| 2019-04-30 | Rollup merge of #60276 - matthewjasper:cleanup-mir-visitor, r=estebank | Mazdak Farrokhzad | -4/+4 | |
| Cleanup the MIR visitor * Remove useless `BasicBlock` parameters on methods with `Location`s. * Prefer `visit_terminator_kind` to `visit_terminator`. * Remove `Region` from PlaceContexts. `visit_rvalue` should be used when the region is important. * Remove unused visitor methods. | ||||
| 2019-04-26 | Remove region from borrow place contexts | Matthew Jasper | -2/+2 | |
| 2019-04-26 | Remove BasicBlock parameter from mir visitor methods | Matthew Jasper | -2/+2 | |
| 2019-04-26 | Update handling of Tuple | varkor | -1/+4 | |
| 2019-04-25 | Update existing usages | varkor | -1/+1 | |
| 2019-04-23 | rustc: dissuade compiler developers from misusing upvar debuginfo. | Eduard-Mihai Burtescu | -3/+3 | |
| 2019-04-02 | Remove adt_def from PlaceTy and make it a struct | Tyler Mandry | -3/+2 | |
| 2019-03-23 | adding mir::StaticKind enum for static and promoted | Saleem Jaffer | -1/+3 | |
| 2019-03-21 | review fixes | Saleem Jaffer | -8/+3 | |
| 2019-03-18 | fixed all compilation errors | Saleem Jaffer | -0/+1 | |
| 2019-03-18 | promoted is still left in 2 places | Saleem Jaffer | -4/+8 | |
| 2019-03-07 | HirIdification: replace NodeId method calls | ljedrz | -2/+4 | |
| 2019-03-05 | Handle new ConstValue variants in mir | varkor | -1/+1 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-03-01 | Put Local, Static and Promoted as one Base variant of Place | Santiago Pastorino | -8/+8 | |
| 2019-02-26 | replace &'tcx Substs with SubstsRef | csmoe | -2/+2 | |
| 2019-02-15 | Always emit an error for a query cycle | John Kåre Alsaker | -14/+26 | |
| 2019-02-09 | pass full InstanceDef to run_passes | Ralf Jung | -5/+5 | |
| 2019-02-08 | librustc_mir => 2018 | Taiki Endo | -3/+3 | |
| 2019-01-21 | Differentiate between closure and function bodies | Oliver Scherer | -8/+4 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-18 | treat ref-to-raw cast like a reborrow: do a special kind of retag | Ralf Jung | -4/+5 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -2/+2 | |
| 2018-12-06 | Use a function to access the Hir map to be able to turn it into a query later | John Kåre Alsaker | -2/+2 | |
| 2018-12-03 | Retag needs to know whether this is a 2-phase-reborrow | Ralf Jung | -2/+8 | |
| 2018-11-09 | Don't inline virtual calls (take 2) | Wesley Wiser | -45/+49 | |
| When I fixed the previous mis-optimizations, I didn't realize there were actually two different places where we mutate `callsites` and both of them should have the same behavior. As a result, if a function was inlined and that function contained virtual function calls, they were incorrectly being inlined. I also added a test case which covers this. | ||||
| 2018-11-07 | Consume optimization fuel from the MIR inliner | Wesley Wiser | -1/+13 | |
| This makes it easier to debug mis-optimizations that occur during inlining. Thanks to @nikomatsakis for the suggestion! | ||||
| 2018-10-29 | make inliner remove the fn_entry flag on Retag statements | Ralf Jung | -0/+8 | |
| 2018-10-14 | [mir-inlining] Don't inline virtual calls | Wesley Wiser | -7/+16 | |
| Prior to this change, the test case would output `1` instead of `2` like it should. | ||||
| 2018-09-26 | Auto merge of #54526 - nnethercote:shrink-StatementKind, r=nagisa | bors | -2/+2 | |
| Shrink `StatementKind` `StatementKind` occurs in significant amounts in Massif profiles. | ||||
| 2018-09-24 | Shrink StatementKind::Assign. | Nicholas Nethercote | -2/+2 | |
| This shrinks StatementKind from 80 bytes to 64 bytes on 64-bit. | ||||
| 2018-09-20 | Extend MIR inlining to all operand variants | Christian Poveda | -2/+2 | |
| 2018-09-18 | Merge indexed_set.rs into bitvec.rs, and rename it bit_set.rs. | Nicholas Nethercote | -2/+2 | |
| Currently we have two files implementing bitsets (and 2D bit matrices). This commit combines them into one, taking the best features from each. This involves renaming a lot of things. The high level changes are as follows. - bitvec.rs --> bit_set.rs - indexed_set.rs --> (removed) - BitArray + IdxSet --> BitSet (merged, see below) - BitVector --> GrowableBitSet - {,Sparse,Hybrid}IdxSet --> {,Sparse,Hybrid}BitSet - BitMatrix --> BitMatrix - SparseBitMatrix --> SparseBitMatrix The changes within the bitset types themselves are as follows. ``` OLD OLD NEW BitArray<C> IdxSet<T> BitSet<T> -------- ------ ------ grow - grow new - (remove) new_empty new_empty new_empty new_filled new_filled new_filled - to_hybrid to_hybrid clear clear clear set_up_to set_up_to set_up_to clear_above - clear_above count - count contains(T) contains(&T) contains(T) contains_all - superset is_empty - is_empty insert(T) add(&T) insert(T) insert_all - insert_all() remove(T) remove(&T) remove(T) words words words words_mut words_mut words_mut - overwrite overwrite merge union union - subtract subtract - intersect intersect iter iter iter ``` In general, when choosing names I went with: - names that are more obvious (e.g. `BitSet` over `IdxSet`). - names that are more like the Rust libraries (e.g. `T` over `C`, `insert` over `add`); - names that are more set-like (e.g. `union` over `merge`, `superset` over `contains_all`, `domain_size` over `num_bits`). Also, using `T` for index arguments seems more sensible than `&T` -- even though the latter is standard in Rust collection types -- because indices are always copyable. It also results in fewer `&` and `*` sigils in practice. | ||||
| 2018-08-22 | Remove Ty prefix from ↵ | varkor | -4/+4 | |
| Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closure|Generator|GeneratorWitness|Never|Tuple|Projection|Anon|Infer|Error} | ||||
| 2018-08-19 | Fix typos found by codespell. | Matthias Krüger | -3/+3 | |
| 2018-08-01 | Split out growth functionality into BitVector type | Mark Rousskov | -2/+2 | |
