| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-27 | Make pointers to statics internal | Matthew Jasper | -0/+1 | |
| 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 | ||||
| 2019-07-07 | Only omit StorageLive/Dead for variable that are never initialized | Matthew Jasper | -25/+40 | |
| With `feature(never_type)`, it's not guaranteed that any variable with type `!` isn't ever assigned to. | ||||
| 2019-07-07 | Give index temporaries a drop scope | Matthew Jasper | -4/+6 | |
| 2019-07-06 | Remove ExprKind::While from HIR. | Mazdak Farrokhzad | -40/+11 | |
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -1/+1 | |
| 2019-06-25 | Use `Local`s instead of `Place`s in MIR drop generation | Matthew Jasper | -4/+4 | |
| 2019-06-25 | Add StorageDead statements for `while` conditions | Matthew Jasper | -13/+4 | |
| 2019-06-25 | Unify `return`, `break` and `continue` handling | Matthew Jasper | -61/+4 | |
| 2019-06-25 | Use `as_temp` to evaluate statement expressions | Matthew Jasper | -45/+35 | |
| 2019-06-25 | Fix incorrect double assignment in MIR for while loops | Matthew Jasper | -6/+14 | |
| 2019-06-25 | Implement From<Local> for Place and PlaceBase | Santiago Pastorino | -19/+19 | |
