summary refs log tree commit diff
path: root/src/librustc/ty/layout.rs
AgeCommit message (Expand)AuthorLines
2017-06-01pacify the mercilous tidyNiko Matsakis-21/+27
2017-06-01remove `layout_cache` and fix `-Z print-type-sizes`Niko Matsakis-2/+215
2017-06-01rewrite layout to take a (param-env, ty) pair instead of infcxNiko Matsakis-112/+124
2017-05-22rename `parameter_environment` to `param_env`Niko Matsakis-2/+2
2017-05-22centralize the caching for is-copy, is-sized, and is-freezeNiko Matsakis-2/+2
2017-05-13rustc: treat ReEarlyBound as free without replacing it with ReFree.Eduard-Mihai Burtescu-1/+1
2017-05-13rustc: uniformly compute ParameterEnvironment's "free outlive scope".Eduard-Mihai Burtescu-2/+1
2017-04-30remove ROOT_CODE_EXTENT and DUMMY_CODE_EXTENTNiko Matsakis-2/+1
2017-04-22short-cut SharedCrateContext::layout_ofAriel Ben-Yehuda-28/+26
2017-04-21Implementation of repr struct alignment RFC 1358.Cameron Hart-6/+83
2017-04-16Compress ReprOptions a little bitSimonas Kazlauskas-7/+7
2017-04-11Fix handling of closure argumentsSimonas Kazlauskas-1/+1
2017-04-11Initial attempt at implementing optimization fuel and re-enabling struct fiel...Austin Hicks-7/+2
2017-04-08rustc: add some abstractions to ty::layout for a more concise API.Eduard-Mihai Burtescu-36/+104
2017-04-08rustc: add a TyLayout helper for type-related layout queries.Eduard-Mihai Burtescu-10/+234
2017-04-03Replace ^ with <sup> html baliseGuillaume Gomez-1/+1
2017-03-01inhibit enum layout optimizations under `#[repr(C)]` or `#[repr(u8)]`Niko Matsakis-2/+3
2017-02-25rustc_const_eval: always demand typeck_tables for evaluating constants.Eduard-Mihai Burtescu-6/+1
2017-02-25rustc_typeck: hook up collect and item/body check to on-demand.Eduard-Mihai Burtescu-6/+3
2017-02-25rustc: move the actual values of enum discriminants into a map.Eduard-Mihai Burtescu-4/+11
2017-02-11Rebase falloutSimonas Kazlauskas-4/+2
2017-02-10Fix intcast, use it where appropriateSimonas Kazlauskas-1/+17
2017-02-10Fix buildSimonas Kazlauskas-29/+10
2017-02-10Revert use of layout code in typeck::collectSimonas Kazlauskas-4/+5
2017-02-10Fix the IntTypeExt::to_ty() lifetime boundsSimonas Kazlauskas-37/+1
2017-02-10Fix build on further stagesSimonas Kazlauskas-2/+2
2017-02-10AdtDef now contains discr_ty same as layoutedSimonas Kazlauskas-9/+57
2017-02-10Move type of discriminant to AdtDefSimonas Kazlauskas-6/+7
2017-02-07Refactor layout to use the new ReprOptionsAustin Hicks-63/+39
2017-02-05Rollup merge of #39009 - canndrew:default-unit-warnings, r=nikomatsakisCorey Farwell-2/+2
2017-02-03Bump version, upgrade bootstrapAlex Crichton-1/+0
2017-02-03Add warning for () to ! switchAndrew Cann-2/+2
2017-01-30Merge ty::TyBox into ty::TyAdtVadim Petrochenkov-33/+44
2016-12-31Calculate discriminant bounds within 64 bitsSimonas Kazlauskas-7/+13
2016-12-30Fix rebase falloutest31-1/+3
2016-12-30Fix rebase falloutSimonas Kazlauskas-0/+4
2016-12-30Fix i128 alignment calculationSimonas Kazlauskas-11/+19
2016-12-30Such large. Very 128. Much bits.Simonas Kazlauskas-15/+30
2016-12-21Disable field reorderingAustin Hicks-0/+4
2016-12-16Incorporate review comments.Austin Hicks-9/+7
2016-12-14Fix computation of enum names based off the discrfield in the case of the nul...Austin Hicks-17/+29
2016-12-14Fix error introduced during last rebaseAustin Hicks-1/+1
2016-12-14Incorporate review commentsAustin Hicks-13/+7
2016-12-14Some small fixes to how structs/enums are optimizedAustin Hicks-2/+2
2016-12-14Make tidyAustin Hicks-1/+1
2016-12-14Fix having multiple reprs on the same type.Austin Hicks-53/+79
2016-12-14Make tidyAustin Hicks-8/+17
2016-12-14Fix checking to see if the last field of a struct can be unsized.Austin Hicks-1/+1
2016-12-14Don't optimize pairsAustin Hicks-2/+7
2016-12-14First attempt at detecting if structs can ever be unsizedAustin Hicks-2/+14