summary refs log tree commit diff
path: root/src/librustc_mir/build/expr
AgeCommit message (Expand)AuthorLines
2019-10-22Move Place::elem methods and friends to TyCtxtSantiago Pastorino-6/+7
2019-10-22Intern place projectionSantiago Pastorino-13/+18
2019-10-22Pattern match over PlaceRef rather than PlaceSantiago Pastorino-11/+11
2019-10-09Revert "Make `into` schedule drop for the destination"Matthew Jasper-43/+21
2019-10-07Auto merge of #61430 - matthewjasper:drop-on-into-panic, r=oli-obkbors-25/+43
2019-10-04Make `into` schedule drop for the destinationMatthew Jasper-22/+43
2019-10-02Rollup merge of #64922 - spastorino:make-place-builder, r=nikomatsakisMazdak Farrokhzad-30/+114
2019-10-02Use PlaceBuilder to avoid a lot of slice -> vec -> slice convertionsSantiago Pastorino-30/+114
2019-09-29remove indexed_vec re-export from rustc_data_structurescsmoe-2/+2
2019-09-29Get the type of a local from `local_decls` in `schedule_drop`Matthew Jasper-3/+0
2019-09-26Rename `Expr.node` to `Expr.kind`varkor-1/+1
2019-09-25Rename `sty` to `kind`varkor-1/+1
2019-09-19avoid generating drops for moved operands of callsNiko Matsakis-0/+3
2019-09-13Make all projection base names be proj_baseSantiago Pastorino-3/+3
2019-09-13Avoid math and use patterns to grab projection baseSantiago Pastorino-10/+6
2019-09-11Make Place Boxed on Statement to reduce size from 64 bytes to 32 bytesSantiago Pastorino-4/+8
2019-09-09Convert Place's projection to a boxed sliceSantiago Pastorino-18/+14
2019-08-22Move def_id out add substsrefWesley Wiser-1/+2
2019-08-16rustc_mir: add sanity asserts for the types of `ty::Const`s.Eduard-Mihai Burtescu-0/+1
2019-08-16Remove redundant `ty` fields from `mir::Constant` and `hair::pattern::Pattern...Eduard-Mihai Burtescu-5/+2
2019-08-10Revert "Simplify MIR generation for logical ops"Andreas Jonson-23/+30
2019-07-29use PanicInfo and UnsupportedOpInfoSaleem Jaffer-7/+7
2019-07-24use PanicMessage type for MIR assertion errorsRalf Jung-9/+10
2019-07-23Rollup merge of #60951 - saleemjaffer:mir_better_error_enum, r=oli-obkMark Rousskov-8/+8
2019-07-23renames EvalErrorPanic to PanicMessageSaleem Jaffer-6/+6
2019-07-23moving some variants from InterpError to EvalErrorPanicSaleem Jaffer-8/+8
2019-07-20Avoid cloning Place in limit_capture_mutabilitySantiago Pastorino-3/+3
2019-07-20Migrate from Place enum to Place structSantiago Pastorino-20/+39
2019-07-14Auto merge of #62331 - wesleywiser:fix_early_return_leak, r=matthewjasperbors-1/+1
2019-07-11Fix leak when early returning out of `box` syntaxWesley Wiser-1/+1
2019-07-07Only omit StorageLive/Dead for variable that are never initializedMatthew Jasper-25/+40
2019-07-07Give index temporaries a drop scopeMatthew Jasper-4/+6
2019-07-06Remove ExprKind::While from HIR.Mazdak Farrokhzad-40/+11
2019-07-03Remove needless lifetimesJeremy Stucki-1/+1
2019-06-25Use `Local`s instead of `Place`s in MIR drop generationMatthew Jasper-4/+4
2019-06-25Add StorageDead statements for `while` conditionsMatthew Jasper-13/+4
2019-06-25Unify `return`, `break` and `continue` handlingMatthew Jasper-61/+4
2019-06-25Use `as_temp` to evaluate statement expressionsMatthew Jasper-45/+35
2019-06-25Fix incorrect double assignment in MIR for while loopsMatthew Jasper-6/+14
2019-06-25Implement From<Local> for Place and PlaceBaseSantiago Pastorino-19/+19
2019-06-14Remove unnecessary lift callsJohn Kåre Alsaker-2/+2
2019-06-12Use a single lifetime for MIR constructionJohn Kåre Alsaker-7/+7
2019-06-04Move cached_block out of DropKindTyler Mandry-4/+2
2019-06-03Add `is_ref_for_guard` methodMatthew Jasper-7/+1
2019-05-28Rename Place::local to Place::local_or_deref_localSantiago Pastorino-1/+1
2019-05-27Use Place::localSantiago Pastorino-7/+3
2019-05-21Comment style fixesMazdak Farrokhzad-2/+2
2019-05-21Schedule storage-dead of temporaries soonerMatthew Jasper-12/+28
2019-05-21Remove unused parameter from in(_opt)?_scopeMatthew Jasper-6/+6
2019-05-10Remove hir::ExprKind::If and replace it with lowering to hir::ExprKind::Match.Mazdak Farrokhzad-40/+0