about summary refs log tree commit diff
path: root/src/librustc_mir/transform/generator.rs
AgeCommit message (Expand)AuthorLines
2017-09-21Make the fallback of generator resumption be unreachable instead of using returnJohn Kåre Alsaker-10/+11
2017-09-13Fix a bug where StorageIgnored had an incorrect buffer lengthJohn Kåre Alsaker-2/+2
2017-09-13Fix nits and refactor creation of StorageLive blocksJohn Kåre Alsaker-75/+52
2017-09-13Make sure we aren't using dead localsJohn Kåre Alsaker-5/+6
2017-09-13Analyse storage liveness and preserve it during generator transformationJohn Kåre Alsaker-169/+222
2017-09-11rustc: introduce ty::Const { ConstVal, Ty }.Eduard-Mihai Burtescu-3/+12
2017-09-11rustc: intern ConstVal's in TyCtxt.Eduard-Mihai Burtescu-3/+3
2017-09-05rustc: Migrate lang items to a queryAlex Crichton-1/+1
2017-09-04rustc_mir: use Local instead of Lvalue in Storage{Live,Dead}.Eduard-Mihai Burtescu-6/+2
2017-09-03rustc_mir: implement visit_local instead/along visit_lvalue where possible.Eduard-Mihai Burtescu-1/+17
2017-08-25Add some comments and fix a typoJohn Kåre Alsaker-3/+53
2017-08-25Add some suggested comments around dropsAlex Crichton-2/+6
2017-08-25Add a `self_arg` convenienceAlex Crichton-6/+10
2017-08-25Reorder slightly in `visit_basic_block_data`Alex Crichton-12/+12
2017-08-14Fix merge conflicts with `gen` branchAlex Crichton-1/+2
2017-08-12Fix errorsJohn Kåre Alsaker-1/+1
2017-08-12Strip landing pads in the state transformationJohn Kåre Alsaker-0/+5
2017-08-11Store generator interior in MIR literalsJohn Kåre Alsaker-2/+2
2017-08-11TypoJohn Kåre Alsaker-1/+1
2017-08-11Some tweaks and commentsJohn Kåre Alsaker-45/+95
2017-08-11Remove code related to the dropping of generator argumentsJohn Kåre Alsaker-45/+5
2017-08-09Initial pass review commentsAlex Crichton-87/+22
2017-07-28Update commentJohn Kåre Alsaker-1/+1
2017-07-28Ignore drop check bools when testing for legal generator typesJohn Kåre Alsaker-1/+5
2017-07-28Remove support for `gen arg`Alex Crichton-49/+2
2017-07-28Rename suspend to yieldJohn Kåre Alsaker-6/+6
2017-07-28Ensure upvars are dropped when generators have never been resumedJohn Kåre Alsaker-43/+115
2017-07-28Fix tidy warningsAlex Crichton-10/+19
2017-07-28Generator literal supportJohn Kåre Alsaker-0/+739