summary refs log tree commit diff
path: root/src/librustc_mir/build/expr
AgeCommit message (Collapse)AuthorLines
2015-11-30Move the core MIR datastructures to librustc.Michael Woerister-11/+11
This is done mostly so that we can refer to MIR types in csearch and other metadata related area.
2015-11-24Remove the GraphExtents, the design of which seems bogus. They carriedNiko Matsakis-2/+2
the right information, but it's hard to maintain in the face of optimizations, and in the form that the analyses probably actually want.
2015-11-12Auto merge of #29616 - nagisa:mir-repeat, r=nikomatsakisbors-2/+2
r? @nikomatsakis I went ahead and replaced repeat count with a `Constant`, because it cannot be non-constant to the best of my knowledge.
2015-11-10use Constant for repetition count in mir::RepeatSimonas Kazlauskas-2/+2
2015-11-05remove excess string allocationSteve Klabnik-1/+1
&format!("...") is the same as "" if we're not doing any interpolation, and doesn't allocate an intermediate String.
2015-11-03Change Call operands to be, well, OperandsNiko Matsakis-2/+2
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-10-07Partially format librustc_mir with rustfmt.Ms2ger-64/+28
This commit contains some of the changes proposed by a rustfmt invocation, chosen based on the fairly non-deterministic metric of how much I liked the change. I expect we will run rustfmt on this crate again later, probably accepting more of its changes. For now, this is already an improvement over the status-quo.
2015-10-06strip out the hair trait and use concrete types insteadNiko Matsakis-31/+33
2015-10-04switch to using constvals for constants, instead of having constantNiko Matsakis-90/+13
trees in MIR
2015-09-24Remove the deprecated box(PLACE) syntax.Eduard Burtescu-1/+1
2015-09-17Remove hir::ExprParenNick Cameron-35/+9
2015-09-06convert TODOs to FIXMEsNiko Matsakis-1/+3
2015-09-06add MIR code (unused thus far)Niko Matsakis-0/+1081