summary refs log tree commit diff
path: root/src/librustc/mir
AgeCommit message (Expand)AuthorLines
2017-03-10Initial implementation of inlining for MIRJames Miller-2/+346
2017-03-04Auto merge of #40163 - arielb1:normalization-1702, r=nikomatsakisbors-8/+34
2017-03-01store the normalized types of statics in MIR LvaluesAriel Ben-Yehuda-8/+34
2017-02-28Remove the TypedConstValSimonas Kazlauskas-37/+4
2017-02-28Make Rvalue::ty infallibleSimonas Kazlauskas-27/+23
2017-02-25rustc_const_eval: always demand typeck_tables for evaluating constants.Eduard-Mihai Burtescu-3/+3
2017-02-25rustc_typeck: hook up collect and item/body check to on-demand.Eduard-Mihai Burtescu-3/+1
2017-02-25rustc: consolidate dep-tracked hashmaps in tcx.maps.Eduard-Mihai Burtescu-2/+2
2017-02-25rustc: move the actual values of enum discriminants into a map.Eduard-Mihai Burtescu-1/+3
2017-02-23Implement non-capturing closure to fn coercionest31-0/+3
2017-02-15[MIR] Make InlineAsm a StatementSimonas Kazlauskas-23/+20
2017-02-10Add TerminatorKind::if_ convenience constructorSimonas Kazlauskas-3/+11
2017-02-10Prefer switching on false for boolean switchesSimonas Kazlauskas-1/+1
2017-02-10Fix SwitchInt building in ElaborateDrops passSimonas Kazlauskas-6/+16
2017-02-10Fix the IntTypeExt::to_ty() lifetime boundsSimonas Kazlauskas-8/+2
2017-02-10Only SwitchInt over integers, not all constsSimonas Kazlauskas-8/+19
2017-02-10SwitchInt over SwitchSimonas Kazlauskas-28/+10
2017-02-10If is now always a SwitchInt in MIRSimonas Kazlauskas-21/+2
2017-02-10Add Rvalue::Discriminant to retrieve discriminantSimonas Kazlauskas-12/+31
2017-02-07Rollup merge of #39482 - king6cong:master, r=frewsxcvCorey Farwell-1/+1
2017-02-06go back to use //king6cong-1/+1
2017-02-03Add warning for () to ! switchAndrew Cann-2/+3
2017-02-03doc comment rewordingking6cong-1/+1
2017-01-26rustc: rename TyCtxt's `map` field to `hir`.Eduard-Mihai Burtescu-6/+6
2017-01-06rustc: keep track of tables everywhere as if they were per-body.Eduard-Mihai Burtescu-8/+3
2017-01-03Fix build after rebaseAndrew Cann-1/+1
2017-01-03More pattern matching for empty types changesAndrew Cann-0/+4
2016-12-28rustc: separate TraitItem from their parent Item, just like ImplItem.Eduard-Mihai Burtescu-1/+1
2016-11-29rustc: simplify AdtDef by removing the field types and ty::ivar.Eduard-Mihai Burtescu-4/+4
2016-11-12Rollup merge of #37692 - nbp:debug-lvalue-subslice, r=eddybEduard-Mihai Burtescu-1/+1
2016-11-10Balance the debug output of Lvalue SubsliceNicolas B. Pierron-1/+1
2016-11-10rustc: clean up lookup_item_type and remove TypeScheme.Eduard Burtescu-2/+2
2016-11-03Auto merge of #36306 - nagisa:mir-local-cleanup, r=eddybbors-5/+5
2016-11-03A way to remove otherwise unused locals from MIRSimonas Kazlauskas-5/+5
2016-10-30Auto merge of #37489 - nagisa:unnecessary-clone, r=eddybbors-1/+2
2016-10-31Do not clone Mir unnecessarilySimonas Kazlauskas-1/+2
2016-10-30Fix ICE when attempting to get closure generics.Mark-Simulacrum-3/+2
2016-10-28rustc: move the MIR map into TyCtxt.Eduard Burtescu-47/+11
2016-10-28rustc: move mir::repr::* to mir.Eduard Burtescu-9/+14
2016-10-25Utilize AccumulateVec to avoid heap allocations in mk_{substs, type_list, tup...Mark-Simulacrum-2/+2
2016-10-19Use TypedArena::alloc_slice in rustc.Mark-Simulacrum-2/+2
2016-10-04Eliminate ty::VariantKind in favor of def::CtorKindVadim Petrochenkov-4/+5
2016-10-01Rollup merge of #36599 - jonas-schievink:whats-a-pirates-favorite-data-struct...Manish Goregaokar-9/+7
2016-09-29Change the `local` prefix to `_`Jonas Schievink-2/+2
2016-09-28Call arrays "arrays" instead of "vecs" internallyJonas Schievink-9/+7
2016-09-27Address review commentsJonas Schievink-2/+4
2016-09-26args_iter doesn't need to borrow the MIRJonas Schievink-2/+3
2016-09-26Rename MIR local iterators to match conventionJonas Schievink-4/+4
2016-09-26Make spreading use `Option<Local>`Jonas Schievink-4/+4
2016-09-26[WIP] Move MIR towards a single kind of localJonas Schievink-205/+168