summary refs log tree commit diff
path: root/src/librustc_mir/build
AgeCommit message (Expand)AuthorLines
2016-01-12Auto merge of #30635 - nagisa:mir-rid-unit-temp, r=nikomatsakisbors-42/+56
2016-01-09Fix a typo in rustc_mir::build::scope's documentationErick Tryzelaar-1/+1
2016-01-07[MIR] Set dest ∀ expr with optional valueSimonas Kazlauskas-33/+53
2016-01-06[MIR] Get rid of that nasty unit_ty temporary lvalSimonas Kazlauskas-11/+5
2016-01-06panic/panic_bounds_check to destructure tysSimonas Kazlauskas-39/+51
2016-01-06Merge Call and DivergingCall diffs into CallKindSimonas Kazlauskas-17/+27
2016-01-06Don’t generate landing-pads if -Z no-landing-padsSimonas Kazlauskas-0/+1
2016-01-06Remove diverge terminatorSimonas Kazlauskas-10/+3
2016-01-06Remove the Panic block terminatorSimonas Kazlauskas-12/+98
2016-01-06Add Resume Terminator which corresponds to resumeSimonas Kazlauskas-39/+46
2016-01-06Generate DivergingCall terminatorSimonas Kazlauskas-10/+19
2016-01-06Split Call into Call and DivergingCallSimonas Kazlauskas-6/+5
2016-01-06Auto merge of #30492 - wesleywiser:fix_extra_drops, r=pnkfelixbors-1/+1
2016-01-04Auto merge of #30553 - luqmana:mir-match-arm-guards, r=nikomatsakisbors-23/+18
2016-01-01Fix equality checks in matchesSimonas Kazlauskas-45/+12
2015-12-31Avoid adding drops for types w/ no dtor in MIR constructionWesley Wiser-1/+1
2015-12-31Rollup merge of #30630 - tsion:mir-closure-args, r=nagisaSimonas Kazlauskas-16/+13
2015-12-30Use built-in comparisons for range matching in MIR.Scott Olson-18/+29
2015-12-30Refactor MIR building for arguments.Scott Olson-18/+14
2015-12-29Fix argument indices in MIR for closures.Scott Olson-1/+2
2015-12-29Process candidates for match in the same order as written in the source.Luqman Aden-27/+19
2015-12-24[MIR] Make sure candidates are reversed before `match_candidates`.Luqman Aden-1/+4
2015-12-18Auto merge of #29973 - petrochenkov:privinpub, r=nikomatsakisbors-5/+5
2015-12-18Fix the falloutVadim Petrochenkov-5/+5
2015-12-15Implement references to functions and constantsSimonas Kazlauskas-0/+1
2015-12-10MIR: Make Mir take ownership of InlineAsm values.Michael Woerister-1/+1
2015-12-10MIR: Refactor mir::Terminator to use tuples instead of a fixed-size arrays.Michael Woerister-12/+12
2015-11-30Move the core MIR datastructures to librustc.Michael Woerister-29/+35
2015-11-28Auto merge of #29383 - petrochenkov:empstr, r=pnkfelixbors-1/+1
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-56/+33
2015-11-19Fix the falloutVadim Petrochenkov-1/+1
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-2/+2
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-135/+123
2015-11-10use Constant for repetition count in mir::RepeatSimonas Kazlauskas-2/+2
2015-11-06Auto merge of #29615 - steveklabnik:lol_strings, r=alexcrichtonbors-1/+1
2015-11-05Convert TODO into FIXMENiko Matsakis-2/+2
2015-11-05remove excess string allocationSteve Klabnik-1/+1
2015-11-04Introduce a `SwitchInt` and restructure pattern matching to collectNiko Matsakis-73/+265
2015-11-03Change Call operands to be, well, OperandsNiko Matsakis-26/+23
2015-11-03Add adt_def into Switch, since it's convenient to have in transNiko Matsakis-0/+1
2015-11-03Move the "HAIR" code that reads the tcx tables etc out of the `tcx`Niko Matsakis-1/+1
2015-11-03Convert from using named fields to always using indicesNiko Matsakis-3/+6
2015-11-03Change ShallowDrop to Free, so that it matches what trans will doNiko Matsakis-1/+1
2015-11-03Build the MIR using the liberated fn sigs, and track the return typeNiko Matsakis-8/+10