summary refs log tree commit diff
path: root/src/librustc_mir/transform/generator.rs
AgeCommit message (Expand)AuthorLines
2020-03-06Don't redundantly repeat field names (clippy::redundant_field_names)Matthias Krüger-1/+1
2020-02-28Process `RequiresStorage` results in pre-orderDylan MacKenzie-2/+3
2020-02-27Rename `RequiresStorage` to `MaybeRequiresStorage`Dylan MacKenzie-3/+3
2020-02-27Port `RequiresStorage` to new dataflow frameworkDylan MacKenzie-49/+27
2020-02-27Port `MaybeStorageLive` to new dataflow frameworkDylan MacKenzie-8/+6
2020-02-19Add more comments to `SuspensionPoint`Jonas Schievink-3/+9
2020-02-19Remap the resume place if necessaryJonas Schievink-0/+9
2020-02-19Auto merge of #69113 - ecstatic-morse:unified-dataflow-borrowed, r=wesleywiserbors-13/+7
2020-02-13Rename `MaybeBorrowedLocals` constructorsDylan MacKenzie-1/+1
2020-02-13rename PanicInfo -> AssertKindRalf Jung-1/+1
2020-02-13move PanicInfo to mir moduleRalf Jung-1/+1
2020-02-12Use `MaybeBorrowedLocals` for generator analysesDylan MacKenzie-13/+7
2020-02-06Clarify comment about `_2` living across a yieldJonas Schievink-2/+3
2020-02-04Don't emit StorageDead for the resume argumentJonas Schievink-4/+0
2020-02-03Fix miscompilationJonas Schievink-10/+53
2020-02-02No resume argument in the drop shimJonas Schievink-18/+33
2020-02-02Make generator transform move resume arg aroundJonas Schievink-7/+19
2020-02-02Add a resume type parameter to `Generator`Jonas Schievink-1/+2
2020-01-27don't clone types that are copy, round two.Matthias Krüger-1/+1
2020-01-22librustc_mir: don't allocate vectors where slices will do.Matthias Krüger-2/+2
2020-01-10Remove PlaceBase enum and make Place base field be local: LocalSantiago Pastorino-16/+11
2020-01-10Remove Static from PlaceBaseSantiago Pastorino-11/+11
2020-01-05Remove rustc_hir reexports in rustc::hir.Mazdak Farrokhzad-2/+2
2019-12-22Format the worldMark Rousskov-277/+201
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-2/+2
2019-12-05rustc: Apply clearer naming to BodyAndCache, fix Deref impl, remove unneeded ...Paul Daniel Faria-15/+15
2019-12-02Remove HasLocalDecls impl from BodyCache's, properly reborrow to Body, rename...Paul Daniel Faria-112/+113
2019-12-02Remove BodyCache.body and rely on Deref as much as possible for ReadOnlyBodyC...Paul Daniel Faria-2/+2
2019-12-02Fix tidy errorsPaul Daniel Faria-3/+9
2019-12-02Fix remaining compilation issuesPaul Daniel Faria-1/+1
2019-12-02Simplify BodyCache impl and fix all remaining type errors in librustc_mir (li...Paul Daniel Faria-107/+108
2019-12-02Simplify Cache wrapper to single type, impl Deref on it, fix all compilation ...Paul Daniel Faria-4/+0
2019-12-02Move predecessors cache invalidation back to basic_blocks_mut, add a couple m...Paul Daniel Faria-6/+10
2019-12-02Stop invalidating predecessors cache when accessing unique basic block, inval...Paul Daniel Faria-6/+6
2019-11-28Fail fast if generator_kind is NoneDavid Haig-8/+9
2019-11-28Fixed tidy errorsDavid Haig-2/+6
2019-11-28Remove duplication using single variant for errorDavid Haig-17/+6
2019-11-28SquashDavid Haig-5/+18
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated VarDebug...Eduard-Mihai Burtescu-16/+2
2019-11-21Track pointers to statics in MIRMatthew Jasper-3/+3
2019-11-10Merge hir::GeneratorMovability into ast::Movability.Camille GILLOT-1/+1
2019-11-10Merge hir::Mutability into ast::Mutability.Camille GILLOT-2/+2
2019-10-22Move Place::elem methods and friends to TyCtxtSantiago Pastorino-1/+1
2019-10-22Intern place projectionSantiago Pastorino-22/+48
2019-10-22Pattern match over PlaceRef rather than PlaceSantiago Pastorino-8/+15
2019-10-18Use Cow to handle modifications of projection in preparation for interningSantiago Pastorino-15/+9
2019-10-17Prepare generator MutVisitor to have projections internedSantiago Pastorino-7/+45
2019-10-07Auto merge of #61430 - matthewjasper:drop-on-into-panic, r=oli-obkbors-4/+1
2019-10-04clean up GeneratorSubstscsmoe-0/+1
2019-10-02Do not mark unitinitialized locals as requiring storageMatthew Jasper-4/+1