| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-12 | Split `rustc_mir::{build, hair, lints}` into their own crate | Matthew Jasper | -1871/+0 | |
| 2020-01-10 | Remove PlaceBase enum and make Place base field be local: Local | Santiago Pastorino | -22/+14 | |
| 2020-01-10 | Remove Static from PlaceBase | Santiago Pastorino | -3/+3 | |
| 2020-01-05 | Remove rustc_hir reexports in rustc::hir. | Mazdak Farrokhzad | -3/+3 | |
| 2020-01-01 | Rename `syntax_pos` to `rustc_span` in source code | Vadim Petrochenkov | -4/+4 | |
| 2019-12-24 | x.py fmt after previous deignore | Mark Rousskov | -77/+25 | |
| 2019-12-22 | Format the world | Mark Rousskov | -297/+130 | |
| 2019-12-21 | simplify MIR building with cfg.goto(...) | Mazdak Farrokhzad | -22/+6 | |
| 2019-12-20 | into: simplify AddressOf logic after rebase | Mazdak Farrokhzad | -9/+4 | |
| 2019-12-20 | 1. ast::Mutability::{Mutable -> Mut, Immutable -> Not}. | Mazdak Farrokhzad | -2/+2 | |
| 2. mir::Mutability -> ast::Mutability. | ||||
| 2019-12-18 | Start generating AddressOf rvalues in MIR | Matthew Jasper | -0/+21 | |
| `hir::BorrowKind::Raw` borrows and casting a reference to a raw pointer no longer do a reborrow followed by a cast. Instead we dereference and take the address. | ||||
| 2019-12-15 | cleanup with push_fake_read | Mazdak Farrokhzad | -11/+2 | |
| 2019-12-09 | Ensure that unevaluated constants of type `!` are present in the MIR | Matthew Jasper | -1/+8 | |
| 2019-11-27 | rustc: move debug info from LocalDecl and UpvarDecl into a dedicated ↵ | Eduard-Mihai Burtescu | -2/+0 | |
| VarDebugInfo. | ||||
| 2019-11-21 | Address review comments | Matthew Jasper | -2/+1 | |
| 2019-11-21 | Track pointers to statics in MIR | Matthew Jasper | -2/+19 | |
| 2019-11-21 | Remove statics from HAIR by lowering them to a pointer constant | Oliver Scherer | -10/+0 | |
| 2019-11-11 | Evaluate borrow and struct expressions in `into` | Matthew Jasper | -90/+111 | |
| This fixes some ordering problems around assignment expressions. | ||||
| 2019-11-11 | Fix soundness issue with index bounds checks | Matthew Jasper | -51/+252 | |
| An expression like `x[1][{ x = y; 2}]` would perform the bounds check for the inner index operation before evaluating the outer index. This would allow out of bounds memory accesses. | ||||
| 2019-11-11 | Avoid a string comparison in MIR construction | Matthew Jasper | -3/+2 | |
| 2019-10-22 | Move Place::elem methods and friends to TyCtxt | Santiago Pastorino | -6/+7 | |
| 2019-10-22 | Intern place projection | Santiago Pastorino | -13/+18 | |
| 2019-10-22 | Pattern match over PlaceRef rather than Place | Santiago Pastorino | -11/+11 | |
| 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-10-09 | Revert "Make `into` schedule drop for the destination" | Matthew Jasper | -43/+21 | |
| This reverts commit 37026837a3f23486d3cf1009d9136927168ddb33. | ||||
| 2019-10-07 | Auto merge of #61430 - matthewjasper:drop-on-into-panic, r=oli-obk | bors | -25/+43 | |
| Make `into` schedule drop for the destination closes #47949 | ||||
| 2019-10-04 | Make `into` schedule drop for the destination | Matthew Jasper | -22/+43 | |
| 2019-10-02 | Rollup merge of #64922 - spastorino:make-place-builder, r=nikomatsakis | Mazdak Farrokhzad | -30/+114 | |
| Use PlaceBuilder to avoid a lot of slice -> vec -> slice convertions r? @oli-obk | ||||
| 2019-10-02 | Use PlaceBuilder to avoid a lot of slice -> vec -> slice convertions | Santiago Pastorino | -30/+114 | |
| 2019-09-29 | remove indexed_vec re-export from rustc_data_structures | csmoe | -2/+2 | |
| 2019-09-29 | Get the type of a local from `local_decls` in `schedule_drop` | Matthew Jasper | -3/+0 | |
| Passing around a separate type is unnecessary and error-prone. | ||||
| 2019-09-26 | Rename `Expr.node` to `Expr.kind` | varkor | -1/+1 | |
| For both `ast::Expr` and `hir::Expr`. | ||||
| 2019-09-25 | Rename `sty` to `kind` | varkor | -1/+1 | |
| 2019-09-19 | avoid generating drops for moved operands of calls | Niko Matsakis | -0/+3 | |
| Currently, after a CALL terminator is created in MIR, we insert DROP statements for all of its operands -- even though they were just moved shortly before! These spurious drops are later removed, but not before causing borrow check errors. This PR series modifies the drop code to track operands that were moved and avoid creating drops for them. Right now, I'm only using this mechanism for calls, but it seems likely it could be used in more places. | ||||
| 2019-09-13 | Make all projection base names be proj_base | Santiago Pastorino | -3/+3 | |
| 2019-09-13 | Avoid math and use patterns to grab projection base | Santiago Pastorino | -10/+6 | |
| 2019-09-11 | Make Place Boxed on Statement to reduce size from 64 bytes to 32 bytes | Santiago Pastorino | -4/+8 | |
| 2019-09-09 | Convert Place's projection to a boxed slice | Santiago Pastorino | -18/+14 | |
| 2019-08-22 | Move def_id out add substsref | Wesley Wiser | -1/+2 | |
| 2019-08-16 | rustc_mir: add sanity asserts for the types of `ty::Const`s. | Eduard-Mihai Burtescu | -0/+1 | |
| 2019-08-16 | Remove redundant `ty` fields from `mir::Constant` and ↵ | Eduard-Mihai Burtescu | -5/+2 | |
| `hair::pattern::PatternRange`. | ||||
| 2019-08-10 | Revert "Simplify MIR generation for logical ops" | Andreas Jonson | -23/+30 | |
| This reverts commit e38e954a0d249f88d0a55504f70d6055e865a931. llvm were not able to optimize the code that well with the simplified mir. Closes: #62993 | ||||
| 2019-07-29 | use PanicInfo and UnsupportedOpInfo | Saleem Jaffer | -7/+7 | |
| 2019-07-24 | use PanicMessage type for MIR assertion errors | Ralf Jung | -9/+10 | |
| 2019-07-23 | Rollup merge of #60951 - saleemjaffer:mir_better_error_enum, r=oli-obk | Mark Rousskov | -8/+8 | |
| more specific errors in src/librustc/mir/interpret/error.rs Implements [this](https://github.com/rust-rfcs/const-eval/issues/4) | ||||
| 2019-07-23 | renames EvalErrorPanic to PanicMessage | Saleem Jaffer | -6/+6 | |
| 2019-07-23 | moving some variants from InterpError to EvalErrorPanic | Saleem Jaffer | -8/+8 | |
| 2019-07-20 | Avoid cloning Place in limit_capture_mutability | Santiago Pastorino | -3/+3 | |
| 2019-07-20 | Migrate from Place enum to Place struct | Santiago Pastorino | -20/+39 | |
| 2019-07-14 | Auto merge of #62331 - wesleywiser:fix_early_return_leak, r=matthewjasper | bors | -1/+1 | |
| Fix leak when early returning out of `box` syntax Fixes #62289 r? @matthewjasper | ||||
| 2019-07-11 | Fix leak when early returning out of `box` syntax | Wesley Wiser | -1/+1 | |
| Fixes #62289 | ||||
