summary refs log tree commit diff
path: root/src/librustc_mir
AgeCommit message (Expand)AuthorLines
2015-12-09Auto merge of #30145 - petrochenkov:hyg, r=nrcbors-5/+3
2015-12-07Remove some unnecessary indirection from HIR structuresVadim Petrochenkov-2/+1
2015-12-05Do MTWT resolution during lowering to HIRVadim Petrochenkov-5/+3
2015-11-30Also move the MIR visitor to librustc.Michael Woerister-247/+0
2015-11-30Move the core MIR datastructures to librustc.Michael Woerister-935/+46
2015-11-28Auto merge of #29383 - petrochenkov:empstr, r=pnkfelixbors-2/+2
2015-11-24Rewrite stmt processing not to recurse to avoid stack overflow if thereNiko Matsakis-43/+66
2015-11-24Remove the GraphExtents, the design of which seems bogus. They carriedNiko Matsakis-100/+33
2015-11-24Add some comments to Mir struct.Niko Matsakis-3/+12
2015-11-19Fix the falloutVadim Petrochenkov-1/+1
2015-11-19Fix various bugs around empty structs and patternsVadim Petrochenkov-1/+1
2015-11-18Port a bunch of code new-visitor; all of these ports wereNiko Matsakis-19/+15
2015-11-18MIR: Add pass that erases all regions right before transMichael Woerister-4/+239
2015-11-16ImplItem_ -> ImplItemKind renameOliver Schneider-2/+2
2015-11-16rename ImplItem_::*ImplItem to ImplItem_::*Oliver Schneider-2/+2
2015-11-14Auto merge of #29817 - michaelwoerister:mir-ty-closure-fields, r=nikomatsakisbors-0/+2
2015-11-14address review commentsAriel Ben-Yehuda-0/+48
2015-11-14implement coercions in MIRAriel Ben-Yehuda-0/+15
2015-11-13rustc_mir: don't miss the autoref when doing an unsizeAriel Ben-Yehuda-8/+10
2015-11-13MIR: Support closure up-vars in LvalueTy::projection_ty()Michael Woerister-0/+2
2015-11-12Auto merge of #29757 - dotdash:mir_simplify_cfg, r=nikomatsakisbors-1/+223
2015-11-12Add a MIR pass to simplify the control flow graphBjörn Steinbrink-1/+223
2015-11-12Rollup merge of #29776 - nikomatsakis:mir-29740, r=nrcManish Goregaokar-48/+217
2015-11-12Auto merge of #29616 - nagisa:mir-repeat, r=nikomatsakisbors-12/+27
2015-11-12Const-eval array element repetition countSimonas Kazlauskas-8/+23
2015-11-12Fix hygiene regression in patternsVadim Petrochenkov-3/+5
2015-11-11Rewrite match algorithm to avoid massive blowup in generated code forNiko Matsakis-48/+217
2015-11-11Change from `&mut Vec<Vec<_>>` to `&mut [Vec<_>]`, since the outerNiko Matsakis-2/+2
2015-11-10Reorganize match construction to be O(n) instead of O(n^2). WhereasNiko Matsakis-233/+160
2015-11-10Clone the candidates and match-pairs lazilly, instead of eagerly.Niko Matsakis-17/+17
2015-11-10Remove the mirroring for patterns and just convert them eagerly; then,Niko Matsakis-345/+287
2015-11-10use Constant for repetition count in mir::RepeatSimonas Kazlauskas-4/+4
2015-11-06Auto merge of #29615 - steveklabnik:lol_strings, r=alexcrichtonbors-7/+5
2015-11-06Auto merge of #29588 - nikomatsakis:mir-switch, r=aatchbors-74/+296
2015-11-05Convert TODO into FIXMENiko Matsakis-2/+2
2015-11-05remove excess string allocationSteve Klabnik-7/+5
2015-11-04Remove use of RefCell<DefMap> in the simpler parts of pat_utilJonathan S-2/+2
2015-11-04Introduce a `SwitchInt` and restructure pattern matching to collectNiko Matsakis-74/+296
2015-11-03Add a MIR visitorNiko Matsakis-0/+240
2015-11-03Add helper methods that require tcx; these compute types ofNiko Matsakis-1/+126
2015-11-03Change Call operands to be, well, OperandsNiko Matsakis-28/+25
2015-11-03Add adt_def into Switch, since it's convenient to have in transNiko Matsakis-2/+4
2015-11-03Move the "HAIR" code that reads the tcx tables etc out of the `tcx`Niko Matsakis-79/+94
2015-11-03Convert from using named fields to always using indicesNiko Matsakis-10/+20
2015-11-03Change ShallowDrop to Free, so that it matches what trans will doNiko Matsakis-4/+4
2015-11-03Build the MIR using the liberated fn sigs, and track the return typeNiko Matsakis-29/+49
2015-10-31Remove PatWildMultiVadim Petrochenkov-1/+1
2015-10-27Auto merge of #26848 - oli-obk:const_fn_const_eval, r=pnkfelixbors-1/+2
2015-10-25std: Stabilize library APIs for 1.5Alex Crichton-2/+2
2015-10-19allow constant evaluation of function callsOliver Schneider-1/+2