summaryrefslogtreecommitdiffstats
path: root/src/librustc_mir (follow)
Commit message (Expand)AuthorAgeFilesLines
* Auto merge of #51106 - davidtwco:issue-50934, r=nikomatsakisbors2018-05-302-14/+78
|\
| * fix off by one errorNiko Matsakis2018-05-291-1/+1
| * tweak debug output some moreNiko Matsakis2018-05-292-3/+8
| * Ensure that all statements in block are visited not just successors of a block.David Wood2018-05-291-8/+18
| * add some debugging statementsNiko Matsakis2018-05-291-0/+3
| * Refactored DFS to be much cleaner. Added continue after noting that borrow is...David Wood2018-05-291-99/+27
| * Ensure that depth first search does not get stuck in cycles.David Wood2018-05-271-12/+28
| * Ensure that we don't skip the last statement.David Wood2018-05-271-2/+2
| * Use precomputed DFS of borrows that out of scope at a location.David Wood2018-05-271-14/+116
* | Review feedback: Fix typo.Felix S. Klock II2018-05-291-1/+1
* | Review feedback, remove fixme comment.Felix S. Klock II2018-05-291-17/+0
* | Review feedback: Remove a fixme/tbd note and just add a note for the post-NLL...Felix S. Klock II2018-05-291-13/+10
* | Review feedback: update fixme comment to reflect reality.Felix S. Klock II2018-05-291-3/+2
* | review feedback: fix indentation of pattern candidates to match code elsewher...Felix S. Klock II2018-05-291-3/+3
* | Expand two-phase-borrows so that a case like this still compiles:Felix S. Klock II2018-05-295-113/+149
* | Fallout from allowing some mutation in guards.Felix S. Klock II2018-05-291-8/+10
* | rust-lang/rust#27282: emit `ReadForMatch` on each match arm.Felix S. Klock II2018-05-291-4/+90
* | rust-lang/rust#27282: Add `StatementKind::ReadForMatch` to MIR.Felix S. Klock II2018-05-2910-1/+32
* | Debug flag to bypass restriction of mutation in match guards.Felix S. Klock II2018-05-291-1/+3
* | Run rustfmtSantiago Pastorino2018-05-292-71/+87
* | Use polonius_outputSantiago Pastorino2018-05-294-4/+13
* | store output in FlowStateDouglas Campos2018-05-292-7/+13
* | store polonius output in MirBorrowCtxDouglas Campos2018-05-291-2/+8
* | it compiles, but we do not use the output yetDouglas Campos2018-05-292-9/+23
* | bump polonius engineDouglas Campos2018-05-291-1/+1
* | operate on `HirId` in `hir::Pat::each_binding`, and consequences of thatZack M. Davis2018-05-281-2/+1
|/
* Auto merge of #51072 - petrochenkov:ifield, r=eddybbors2018-05-263-4/+4
|\
| * Add `Ident::as_str` helperVadim Petrochenkov2018-05-261-1/+1
| * Use `Ident`s for fields in HIRVadim Petrochenkov2018-05-262-3/+3
* | Rollup merge of #51047 - spastorino:use_polonius_engine_facts, r=nikomatsakiskennytm2018-05-265-26/+52
|\ \ | |/ |/|
| * Use AllFacts from polonius-engineSantiago Pastorino2018-05-245-26/+52
* | Auto merge of #50967 - oli-obk:miri_api_refactor, r=eddybbors2018-05-2522-549/+612
|\ \
| * | Rename `amt` variables to `shift`Oliver Schneider2018-05-243-13/+13
| * | Prefer `to_value_with_len` over manual expanison of itOliver Schneider2018-05-241-7/+2
| * | Remove dead codeOliver Schneider2018-05-241-3/+0
| * | `tcx.lift_to_global` > `tcx.global_tcx().lift`Oliver Schneider2018-05-242-9/+6
| * | Wrongly named a closure `clamp` when it was doing truncationOliver Schneider2018-05-241-5/+5
| * | Remove `ty_to_primitive`Oliver Schneider2018-05-242-13/+12
| * | Properly check defined bits rangeOliver Schneider2018-05-241-2/+2
| * | Reuse `to_bits` instead of badly reinventing itOliver Schneider2018-05-241-17/+14
| * | Only defined bits are relevantOliver Schneider2018-05-241-2/+3
| * | Don't ICE on horrible transmutes in pattern constantsOliver Schneider2018-05-241-4/+5
| * | Simplify a ScalarPair creationOliver Schneider2018-05-241-7/+2
| * | Replace `ScalarKind` with `Primitive`Oliver Schneider2018-05-242-76/+9
| * | Get rid of `scalar_size`Oliver Schneider2018-05-2414-39/+64
| * | Update outdated commentOliver Schneider2018-05-241-1/+1
| * | primval -> scalar renameOliver Schneider2018-05-248-61/+61
| * | Use the destination type size instead of the source type sizeOliver Schneider2018-05-241-1/+1
| * | Rebase falloutOliver Schneider2018-05-241-10/+10
| * | Use the target types bitsize instead of the source type'sOliver Schneider2018-05-241-6/+6