about summary refs log tree commit diff
path: root/src/librustc_mir/transform/generator.rs
AgeCommit message (Expand)AuthorLines
2020-03-30Use if let instead of match when only matching a single variant (clippy::sing...Matthias Krüger-4/+3
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-5/+5
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-7/+7
2020-03-29Use `&` to do deref coercion for `ReadOnlyBodyAndCache`Dylan MacKenzie-1/+1
2020-03-29Make `Visitor::visit_body` take a simple `Body`Dylan MacKenzie-1/+1
2020-03-26Update imports from `dataflow::generic` to `dataflow`Dylan MacKenzie-1/+1
2020-03-21rustc: keep upvars tupled in {Closure,Generator}Substs.Eduard-Mihai Burtescu-2/+2
2020-03-19Use erased regions in MIRMatthew Jasper-16/+7
2020-03-19Rollup merge of #69814 - jonas-schievink:gen-ret-unw, r=ZoxcMazdak Farrokhzad-7/+104
2020-03-17Hold index of generator `self` arg in `const`Dylan MacKenzie-21/+18
2020-03-14Swap inserts to keep the original orderingJonas Schievink-4/+4
2020-03-14Auto merge of #69716 - jonas-schievink:generator-size, r=tmandrybors-1/+1
2020-03-08Apply suggestions from code reviewJonas Schievink-2/+2
2020-03-08Change index for SwitchInt caseJonas Schievink-1/+1
2020-03-08Poison generators when any terminator unwindsJonas Schievink-5/+31
2020-03-07Don't insert panic when generator can not unwindJonas Schievink-1/+45
2020-03-07remove unneeded mutable references (cippy::unnecessary_mut_passed)Matthias Krüger-1/+1
2020-03-07Don't insert panic when generator can not returnJonas Schievink-2/+29
2020-03-06Don't redundantly repeat field names (clippy::redundant_field_names)Matthias Krüger-1/+1
2020-03-06Model generator resumption in dataflowJonas Schievink-2/+2
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