| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-06-16 | rename location field of Drop terminators to place | Ralf Jung | -2/+2 | |
| 2020-06-10 | Fix test | Aaron Hill | -0/+2 | |
| 2020-06-10 | Track span of function in method calls, and use this in #[track_caller] | Aaron Hill | -1/+1 | |
| Fixes #69977 When we parse a chain of method calls like `foo.a().b().c()`, each `MethodCallExpr` gets assigned a span that starts at the beginning of the call chain (`foo`). While this is useful for diagnostics, it means that `Location::caller` will return the same location for every call in a call chain. This PR makes us separately record the span of the function name and arguments for a method call (e.g. `b()` in `foo.a().b().c()`). This `Span` is passed through HIR lowering and MIR building to `TerminatorKind::Call`, where it is used in preference to `Terminator.source_info.span` when determining `Location::caller`. This new span is also useful for diagnostics where we want to emphasize a particular method call - for an example, see https://github.com/rust-lang/rust/pull/72389#discussion_r436035990 | ||||
| 2020-06-07 | rename FalseEdges -> FalseEdge | Ralf Jung | -1/+1 | |
| 2020-06-02 | Rename the crates in source code | Vadim Petrochenkov | -0/+2 | |
| 2020-05-29 | Improve inline asm error diagnostics | Amanieu d'Antras | -1/+1 | |
| 2020-05-18 | Add asm! to MIR | Amanieu d'Antras | -0/+6 | |
| 2020-05-06 | Add `SourceInfo::outermost`. | Nicholas Nethercote | -1/+1 | |
| 2020-05-03 | Use agreed upon terminology in cursor docs | Dylan MacKenzie | -5/+5 | |
| 2020-05-03 | Initialize the cursor with an empty state | Dylan MacKenzie | -4/+10 | |
| 2020-05-03 | Support backward dataflow analyses | Dylan MacKenzie | -635/+1070 | |
| 2020-04-02 | nix rustc_target::abi::* reexport in ty::layout | Mazdak Farrokhzad | -1/+1 | |
| 2020-04-01 | Rollup merge of #70627 - spastorino:use-place-directly-its-copy, r=oli-obk | Mazdak Farrokhzad | -19/+19 | |
| Use place directly its copy r? @oli-obk | ||||
| 2020-04-01 | Rollup merge of #70511 - ecstatic-morse:mir-dataflow-graphviz, r=davidtwco | Mazdak Farrokhzad | -1/+20 | |
| Add `-Z dump-mir-dataflow` flag for dumping dataflow results visualization Previously, to visualize the results of a MIR dataflow pass, one had to add a `#[rustc_mir(borrowck_graphviz_postflow)]` attribute to functions of interest. However, there is no way to specify this attribute on closures and generators, so it was impossible to view results for these MIR bodies. This PR adds a flag, `-Z dump-mir-dataflow`, which will output the dataflow results for any functions specified in `-Z dump-mir` to the output directory specified by `-Z dump-mir-dir`. This behavior is modeled on the `-Z dump-mir-graphviz` flag. | ||||
| 2020-03-31 | Use Place directly in apply_call_return_effect on framework/tests, it's Copy | Santiago Pastorino | -1/+1 | |
| 2020-03-31 | Use Place directly on Operand::place and friends, it's Copy | Santiago Pastorino | -18/+18 | |
| 2020-03-30 | Use if let instead of match when only matching a single variant ↵ | Matthias Krüger | -20/+16 | |
| (clippy::single_match) Makes code more compact and reduces nestig. | ||||
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -10/+10 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -10/+10 | |
| 2020-03-28 | Ensure output dir for dataflow results exists | Dylan MacKenzie | -0/+5 | |
| 2020-03-28 | Dump graphviz dataflow results with flag | Dylan MacKenzie | -1/+15 | |
| 2020-03-26 | Update `framework` module docs | Dylan MacKenzie | -17/+15 | |
| 2020-03-26 | Move `BottomValue` into `framework/mod.rs` | Dylan MacKenzie | -2/+41 | |
| 2020-03-26 | Rename `dataflow::generic` to `dataflow::framework` | Dylan MacKenzie | -0/+2592 | |
