| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-30 | mv compiler to compiler/ | mark | -552/+0 | |
| 2020-08-23 | change offset from u32 to u64 | DPC | -1/+1 | |
| 2020-08-18 | Moved coverage counter injection from BasicBlock to Statement. | Rich Kadel | -0/+1 | |
| 2020-06-16 | rename location field of Drop terminators to place | Ralf Jung | -5/+5 | |
| 2020-06-12 | Rollup merge of #73033 - Amanieu:asm-tls, r=oli-obk | Dylan DPC | -1/+1 | |
| Fix #[thread_local] statics as asm! sym operands The `asm!` RFC specifies that `#[thread_local]` statics may be used as `sym` operands for inline assembly. This also fixes a regression in the handling of `#[thread_local]` during monomorphization which caused link-time errors with multiple codegen units, most likely introduced by #71192. r? @oli-obk | ||||
| 2020-06-10 | Track span of function in method calls, and use this in #[track_caller] | Aaron Hill | -0/+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-06 | Fix #[thread_local] statics as asm! sym operands | Amanieu d'Antras | -1/+1 | |
| 2020-06-04 | placate tidy. | Felix S. Klock II | -1/+1 | |
| 2020-06-04 | Revert "Reduce the number of drop-flag assignments in unwind paths" | Felix S. Klock II | -1/+4 | |
| This reverts commit 54aa418a6082b364b90feee70b07381ea266c4d5. | ||||
| 2020-06-04 | Revert "Address review comments" | Felix S. Klock II | -6/+2 | |
| This reverts commit b998497bd41d6de71ec035433247dee856d1f3a5. | ||||
| 2020-06-01 | Auto merge of #71192 - oli-obk:eager_alloc_id_canonicalization, r=wesleywiser | bors | -0/+1 | |
| Make TLS accesses explicit in MIR r? @rust-lang/wg-mir-opt cc @RalfJung @vakaras for miri thread locals cc @bjorn3 for cranelift fixes #70685 | ||||
| 2020-05-30 | Make TLS accesses explicit in MIR | Oliver Scherer | -0/+1 | |
| 2020-05-29 | Improve inline asm error diagnostics | Amanieu d'Antras | -1/+7 | |
| 2020-05-23 | take mir::PlaceElem by value | Bastian Kauschke | -3/+3 | |
| 2020-05-23 | iterate List by value | Bastian Kauschke | -1/+1 | |
| 2020-05-18 | Add asm! to MIR | Amanieu d'Antras | -0/+25 | |
| 2020-05-09 | Address review comments | Matthew Jasper | -2/+6 | |
| 2020-05-09 | Reduce the number of drop-flag assignments in unwind paths | Matthew Jasper | -4/+1 | |
| 2020-04-16 | don't clone types that are copy (clippy::clone_on_copy) | Matthias Krüger | -4/+3 | |
| 2020-03-31 | Use Place directly, it's Copy even more use cases | Santiago Pastorino | -19/+19 | |
| 2020-03-30 | Use if let instead of match when only matching a single variant ↵ | Matthias Krüger | -4/+5 | |
| (clippy::single_match) Makes code more compact and reduces nestig. | ||||
| 2020-03-30 | rustc -> rustc_middle part 3 (rustfmt) | Mazdak Farrokhzad | -1/+1 | |
| 2020-03-30 | rustc -> rustc_middle part 2 | Mazdak Farrokhzad | -3/+3 | |
| 2020-03-26 | Rename asm! to llvm_asm! | Amanieu d'Antras | -1/+1 | |
| asm! is left as a wrapper around llvm_asm! to maintain compatibility. | ||||
| 2020-03-22 | don't create variable bindings just to return the bound value immediately ↵ | Matthias Krüger | -3/+2 | |
| (clippy::let_and_return) | ||||
| 2020-03-10 | Rollup merge of #69714 - spastorino:place-ref-lifetime, r=oli-obk | Mazdak Farrokhzad | -1/+1 | |
| Make PlaceRef take just one lifetime r? @eddyb | ||||
| 2020-03-06 | Don't redundantly repeat field names (clippy::redundant_field_names) | Matthias Krüger | -1/+1 | |
| 2020-03-04 | PlaceRef<'a, 'tcx> -> PlaceRef<'tcx> | Santiago Pastorino | -1/+1 | |
| 2020-03-04 | Make PlaceRef lifetimes of in_projection be both 'tcx | Santiago Pastorino | -1/+1 | |
| 2020-02-19 | Reorder yield visitation order to match call | Jonas Schievink | -1/+1 | |
| 2020-02-02 | Add resume arg place to `Yield` MIR terminator | Jonas Schievink | -1/+3 | |
| 2020-01-28 | Place::ty_from takes local by value | Santiago Pastorino | -2/+2 | |
| 2020-01-28 | Local field on PlaceRef and RootPlace is not a reference anymore | Santiago Pastorino | -1/+1 | |
| 2020-01-27 | don't clone types that are copy, round two. | Matthias Krüger | -6/+4 | |
| 2020-01-10 | Remove PlaceBase enum and make Place base field be local: Local | Santiago Pastorino | -9/+7 | |
| 2020-01-10 | Remove Static from PlaceBase | Santiago Pastorino | -3/+0 | |
| 2019-12-22 | Format the world | Mark Rousskov | -36/+26 | |
| 2019-12-20 | Rollup merge of #67314 - matthewjasper:union-move-errors, r=nikomatsakis | Mazdak Farrokhzad | -9/+22 | |
| Don't suppress move errors for union fields closes #66500 | ||||
| 2019-12-19 | Don't suppress move errors for union fields | Matthew Jasper | -9/+22 | |
| 2019-12-18 | Add Rvalue::AddressOf to MIR | Matthew Jasper | -0/+1 | |
| This operator creates a raw pointer to a Place directly, without first creating a reference. See RFC #2582 for motivation. The Rvalue is currently unused. | ||||
| 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-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-09-29 | remove indexed_vec re-export from rustc_data_structures | csmoe | -1/+1 | |
| 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 | -67/+67 | |
| 2019-09-04 | Rustfmt the files I touched | Albin Stjerna | -98/+102 | |
