summary refs log tree commit diff
path: root/src/librustc/ty/layout.rs
AgeCommit message (Expand)AuthorLines
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
2016-12-14Use an enum to differentiate between kinds of structs.Austin Hicks-30/+61
2016-12-14Make tidyAustin Hicks-7/+18
2016-12-14Struct::new takes a vec, avoiding double allocation in some casesAustin Hicks-18/+19
2016-12-14Incorporate a bunch of review comments.Austin Hicks-56/+43
2016-12-14Fix bugs to optimizing enums:Austin Hicks-3/+8
2016-12-14Optimize anything using a layout::Struct by introducing a mapping from source...Austin Hicks-62/+153
2016-11-28Refactor TyTrait to contain a interned ExistentialPredicate slice.Mark-Simulacrum-2/+2
2016-11-24Revisions from review comments, squashed.Felix S. Klock II-0/+7
2016-11-12rustc: move closure upvar types to the closure substsAriel Ben-Yehuda-2/+10
2016-10-17Mark enums with non-zero discriminant as non-zeroVadim Petrochenkov-15/+17
2016-10-02Replace offset_after_field with offsetsAustin Hicks-33/+26
2016-09-25Incorporate review comments.Austin Hicks-14/+3
2016-09-24Clean up matches that determine integers for specific alignment requirementsAustin Hicks-14/+23
2016-09-24Optimize struct_field_ptrAustin Hicks-0/+9
2016-09-24Completely kill `represent_type` and the `adt::Repr` type that goes with it.Austin Hicks-2/+39
2016-09-20rustc_metadata: go only through rustc_serialize in astencode.Eduard Burtescu-7/+8
2016-09-11Documentation of what does for each typeathulappadan-0/+1
2016-09-08Address commentsVadim Petrochenkov-209/+195
2016-09-08Refactor `TyStruct`/`TyEnum`/`TyUnion` into `TyAdt`Vadim Petrochenkov-212/+214
2016-09-05Fix issue #36036.Felix S. Klock II-1/+1
2016-09-03Implement layout calculation and add more trans stubsVadim Petrochenkov-7/+65
2016-09-03Some better support for unions through the compilerVadim Petrochenkov-0/+3
2016-09-03Add union typesVadim Petrochenkov-0/+3
2016-08-24Remove drop flags from structs and enums implementing Drop.Eduard Burtescu-31/+8
2016-08-13Rename empty/bang to neverAndrew Cann-2/+2
2016-08-13Start implementation of RFC 1216 (make ! a type)Andrew Cann-0/+3
2016-08-12rustc: add TyAnon (impl Trait) to the typesystem.Eduard Burtescu-3/+3
2016-08-12rustc: always normalize projections in ty::layout regardless where they appear.Eduard Burtescu-24/+42
2016-07-06rustc: Update stage0 to beta-2016-07-06Alex Crichton-3/+1
2016-06-23Move errors from libsyntax to its own crateJonathan Turner-1/+1
2016-06-09fix damage in librustcAriel Ben-Yehuda-9/+11
2016-05-19Support 16-bit pointers as well as i/usizeJake Goulding-0/+2