summary refs log tree commit diff
path: root/src/librustc_mir/build/expr
AgeCommit message (Expand)AuthorLines
2020-01-27Make pointers to statics internalMatthew Jasper-0/+1
2019-12-15cleanup with push_fake_readMazdak Farrokhzad-11/+2
2019-12-09Ensure that unevaluated constants of type `!` are present in the MIRMatthew Jasper-1/+8
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-2/+0
2019-11-21Address review commentsMatthew Jasper-2/+1
2019-11-21Track pointers to statics in MIRMatthew Jasper-2/+19
2019-11-21Remove statics from HAIR by lowering them to a pointer constantOliver Scherer-10/+0
2019-11-11Evaluate borrow and struct expressions in `into`Matthew Jasper-90/+111
2019-11-11Fix soundness issue with index bounds checksMatthew Jasper-51/+252
2019-11-11Avoid a string comparison in MIR constructionMatthew Jasper-3/+2
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