summary refs log tree commit diff
path: root/src/librustc/mir/interpret/value.rs
AgeCommit message (Expand)AuthorLines
2019-12-02Add From instances for Pointer -> ScalarMaybeUndef and Pointer -> ImmediateRalf Jung-0/+7
2019-11-22Allow miri allocation interning to work im generic MachinesWesley Wiser-1/+1
2019-11-19More HashStable.Camille GILLOT-6/+1
2019-11-12Remove cruft.Camille GILLOT-10/+0
2019-11-12Create intermediate enum ty::ConstKind.Camille GILLOT-35/+11
2019-11-08miri: Rename to_{u,i}size to to_machine_{u,i}sizeRalf Jung-6/+6
2019-10-21Rollup merge of #65660 - varkor:canonical-const-to-bound-const, r=eddybMazdak Farrokhzad-1/+6
2019-10-21Rename `ConstValue::Infer(InferConst::Canonical(..))` to `ConstValue::Bound(..)`varkor-1/+6
2019-10-21Remove many unnecessary trait derivations.Nicholas Nethercote-2/+2
2019-10-04Introduce a special case in `IntRange::from_const`.Nicholas Nethercote-3/+8
2019-09-28Move `get_slice_bytes` to `rustc::mir::interpret` so it can be reused.ben-0/+15
2019-09-14Rollup merge of #64116 - ZeGentzy:patch-1, r=oli-obkMazdak Farrokhzad-2/+2
2019-09-13Update value.rsHal Gentz-2/+2
2019-09-07Aggregation of cosmetic changes made during work on REPL PRs: librustcAlexander Regueiro-5/+5
2019-09-03Update other doc.Hal Gentz-2/+2
2019-08-17size has a zeroDante-Broggi-1/+1
2019-08-02CTFE: simplify Value type by not checking for alignmentRalf Jung-10/+3
2019-07-30renaming throw_err_* to throw_*Saleem Jaffer-6/+6
2019-07-30renaming err to err_unsupSaleem Jaffer-6/+6
2019-07-30adding throw_ and err_ macros for InterpErrorSaleem Jaffer-6/+6
2019-07-29adding a err macro for each of the InterpError variantsSaleem Jaffer-7/+6
2019-07-29fixing fallout due to InterpError refactorSaleem Jaffer-6/+7
2019-07-06remove another unused methodRalf Jung-13/+0
2019-07-06add assert_{bits,ptr}; document which methods we hope to get rid ofRalf Jung-0/+20
2019-07-05remove Scalar::is_null_ptrRalf Jung-11/+0
2019-06-21Documentation typoOliver Scherer-1/+1
2019-06-19Pacify tidyOliver Scherer-5/+6
2019-06-19Change `ByRef` to a struct variant to clarify its fields via namesOliver Scherer-8/+15
2019-06-19Remove the `AllocId` from `ByRef` valuesOliver Scherer-3/+2
2019-06-19packed -> repr(packed)Oliver Scherer-1/+1
2019-06-19Fix comment about alignmentsOliver Scherer-2/+2
2019-06-19Explain existance of `Align` fieldOliver Scherer-1/+4
2019-06-19Weave the alignment through `ByRef`Oliver Scherer-2/+4
2019-06-11rustc: deny(unused_lifetimes).Eduard-Mihai Burtescu-1/+1
2019-06-09Apply suggestions from code reviewRalf Jung-2/+2
2019-06-09trait-ize binary_float_opRalf Jung-0/+14
2019-06-09offer ways to directly construct a Scalar from unsigned integersRalf Jung-2/+24
2019-06-08Scalar: only convert to/from soft-float types, not to/from hard-floatsRalf Jung-8/+11
2019-06-08rename EvalResult -> InterpResult and EvalError -> InterpErrorInfoRalf Jung-32/+32
2019-06-02turn comments into doc-commentsRalf Jung-3/+9
2019-06-02no longer assume that there is a default tag: give the machine the chance to ...Ralf Jung-24/+3
2019-05-27factor out some common code and make the on-elimination truncation test debug...Ralf Jung-13/+19
2019-05-26centralize Scalar size sanity checks and also do them in release buildsRalf Jung-13/+29
2019-05-26rename Scalar::Bits to Scalar::Raw and bits field to dataRalf Jung-44/+44
2019-05-25Make `ConstValue::Slice` solely take `[u8]` and `str`Oliver Scherer-18/+8
2019-05-24this is for tidyRalf Jung-1/+1
2019-05-24improve debug-printing of scalarsRalf Jung-2/+32
2019-05-19Improve type size assertionsVadim Petrochenkov-2/+2
2019-05-01Add `PlaceholderConst`varkor-0/+4
2019-05-01Add `ConstValue::Placeholder`varkor-0/+1