about summary refs log tree commit diff
path: root/src/librustc_mir/build/expr
AgeCommit message (Expand)AuthorLines
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
2019-05-04Auto merge of #59897 - tmandry:variantful-generators, r=eddybbors-15/+3
2019-04-25Update existing usagesvarkor-2/+2
2019-04-25Support variantful generatorsTyler Mandry-16/+3
2019-04-25Define generator discriminant type in only one placeTyler Mandry-2/+3
2019-04-24Evaluate hair::ExprKind::Use in intoMatthew Jasper-6/+5
2019-04-23rustc: don't track var_hir_id or mutability in mir::UpvarDecl.Eduard-Mihai Burtescu-2/+2
2019-04-21Enable migrate mode by default on the 2015 editionMatthew Jasper-5/+1
2019-04-16refactor ExprKind to use new PointerCast enumSaleem Jaffer-44/+5
2019-04-15basic refactor. Adding PointerCast enumSaleem Jaffer-5/+16
2019-04-03Shrink `mir::Statement`.Nicholas Nethercote-3/+3
2019-04-02renames EvalErrorKind to InterpErrorkenta7777-6/+6
2019-04-01Allow closure to unsafe fn coercionTaiki Endo-2/+2
2019-03-23adding mir::StaticKind enum for static and promotedSaleem Jaffer-2/+1
2019-03-18promoted is still left in 2 placesSaleem Jaffer-0/+1
2019-03-16Revert the `LazyConst` PROliver Scherer-2/+2
2019-03-03Auto merge of #58673 - matthewjasper:typeck-ptr-coercions, r=pnkfelixbors-2/+7
2019-03-01Put Local, Static and Promoted as one Base variant of PlaceSantiago Pastorino-29/+43
2019-02-23Type check coercions to pointer typesMatthew Jasper-2/+7
2019-02-21Match discriminant -> scrutineeMatthew Jasper-2/+2
2019-02-09Auto merge of #58207 - nnethercote:intern_lazy_const, r=oli-obkbors-1/+1
2019-02-08librustc_mir => 2018Taiki Endo-21/+21
2019-02-06Make `intern_lazy_const` actually intern its argument.Nicholas Nethercote-1/+1
2019-01-19Handle lifetime annotations in unreachable codeMatthew Jasper-4/+15
2019-01-19Use a struct for user type annotationsMatthew Jasper-6/+13
2019-01-05Remove `Region` from HAIRMatthew Jasper-6/+3
2019-01-01Move the `Unevaluated` constant arm upwards in the type structureOliver Scherer-5/+7
2018-12-30Refactor `UserTypeAnnotation`.David Wood-7/+21
2018-12-25Remove licensesMark Rousskov-90/+0
2018-12-23Rollup merge of #56917 - sinkuu:mir_build_logicop, r=davidtwcoMazdak Farrokhzad-30/+23
2018-12-17Simplify MIR generation for logical opsShotaro Yamada-30/+23