summary refs log tree commit diff
path: root/src/librustc/ty/layout.rs
AgeCommit message (Expand)AuthorLines
2018-08-17Don't sanity check function pointers in vtablesOliver Schneider-16/+2
2018-07-29Sanity-check all constantsOliver Schneider-5/+20
2018-07-05Store scalar pair bools as i8 in memoryJosh Stone-7/+2
2018-07-02Use LitToConstError rather than bool for errorsvarkor-4/+1
2018-07-02Fix ICEs with match/return expressions inside array lengthsvarkor-1/+4
2018-06-14rustc: rename ty::maps to ty::query.Eduard-Mihai Burtescu-4/+4
2018-05-26Use `Ident`s for fields in HIRVadim Petrochenkov-2/+2
2018-05-24Use in-band-lifetimes instead of unused explicit lifetimesOliver Schneider-2/+2
2018-05-24Replace `ScalarKind` with `Primitive`Oliver Schneider-7/+5
2018-05-24Get rid of `scalar_size`Oliver Schneider-4/+4
2018-05-24Add constant for `Size::from_bytes(0)`Oliver Schneider-15/+15
2018-05-18Find the largest niche when computing layoutsAnthony Ramine-37/+74
2018-05-17Rename trans to codegen everywhere.Irina Popa-3/+3
2018-05-14rustc: don't trip an assertion for enums with present but uninhabited variants.Eduard-Mihai Burtescu-0/+5
2018-05-13Auto merge of #50622 - eddyb:make-room-for-ghosts, r=nikomatsakisbors-23/+50
2018-05-11Introduce ConstValue and use it instead of miri's Value for constant valuesJohn Kåre Alsaker-1/+1
2018-05-10rustc: leave space for fields of uninhabited types to allow partial initializ...Eduard-Mihai Burtescu-23/+50
2018-05-08Insert fields from TypeAndMut into TyRef to allow layout optimizationJohn Kåre Alsaker-3/+3
2018-05-08Store the GeneratorInterior in the new GeneratorSubstsJohn Kåre Alsaker-2/+2
2018-05-08Store generator movability outside GeneratorInteriorJohn Kåre Alsaker-2/+2
2018-05-06issue-49938: Reference tagged unions discr(iminant) as tagSamuel Wilson-5/+5
2018-05-01Correct initial field alignment for repr(C)/repr(int)varkor-2/+6
2018-05-01Auto merge of #50198 - oli-obk:const_prop, r=eddybbors-1/+1
2018-05-01Removed direct field usage of RangeInclusive in rustc itself.kennytm-24/+20
2018-04-30Merge ConstMathError into EvalErrorKindOliver Schneider-1/+1
2018-04-27Auto merge of #49420 - nox:enum-scalarpair, r=eddybbors-8/+73
2018-04-26Auto merge of #49513 - nox:univariant-fieldless-enum-as-zst, r=eddybbors-5/+4
2018-04-26Fixed tidy errors.Irina Popa-1/+1
2018-04-26Treat repr(Rust) univariant fieldless enums as a ZST (fixes #15747)Anthony Ramine-5/+4
2018-04-26rustc_target: move for_variant and field TyLayout methods to a trait.Irina Popa-80/+39
2018-04-26rustc_target: move LayoutOf's type parameter to an associated type.Irina Popa-5/+7
2018-04-26rustc_target: move in type definitions from ty::layout.Irina Popa-757/+35
2018-04-26Use ScalarPair for tagged enumsAnthony Ramine-8/+73
2018-04-18Auto merge of #49981 - nox:fix-signed-niches, r=eddybbors-5/+6
2018-04-15Make layout_depth thread-safeJohn Kåre Alsaker-12/+17
2018-04-15Properly handle ranges of signed enums using both extremums (fixes #49973)Anthony Ramine-5/+6
2018-04-12Auto merge of #49558 - Zoxc:sync-misc, r=michaelwoeristerbors-1/+1
2018-04-12Auto merge of #48528 - bitshifter:repr_packed, r=eddybbors-26/+52
2018-04-11Implementation of `#[repr(packed(n))]` RFC 1399.Cameron Hart-26/+52
2018-04-10Make recursion_limit and type_length_limit thread-safeJohn Kåre Alsaker-1/+1
2018-04-09Properly look for uninhabitedness of variants in niche-filling checkAnthony Ramine-3/+3
2018-03-26Allow niche-filling dataful variants to be represented as a ScalarPairAnthony Ramine-4/+15
2018-03-22Fix the conversion between bit representations and i128 representationsOliver Schneider-1/+7
2018-03-14remove defaulting to unitAndrew Cann-2/+2
2018-03-13transition various normalization functions to the new methodsNiko Matsakis-6/+6
2018-03-13refactor `ParamEnv::empty(Reveal)` into two distinct methodsNiko Matsakis-4/+4
2018-03-08Decide signdedness on the layout instead of the typeOliver Schneider-0/+11
2018-03-08Accidental pasteOliver Schneider-1/+1
2018-03-08Nuke ConstInt and Const*sizeOliver Schneider-1/+1
2018-03-08Add InterpretInterner to StableHashingContext for AllocId serializationOliver Schneider-10/+10