summary refs log tree commit diff
path: root/src/librustc_mir/interpret/eval_context.rs
AgeCommit message (Expand)AuthorLines
2018-06-14rustc: rename ty::maps to ty::query.Eduard-Mihai Burtescu-1/+1
2018-06-05Properly report transitive errorsOliver Schneider-10/+2
2018-06-05Refactor the const eval diagnostic APIOliver Schneider-75/+13
2018-05-31Don't store the discriminant with the enum's type sizeOliver Schneider-1/+1
2018-05-24Rename `amt` variables to `shift`Oliver Schneider-6/+6
2018-05-24Remove `ty_to_primitive`Oliver Schneider-7/+0
2018-05-24Replace `ScalarKind` with `Primitive`Oliver Schneider-74/+7
2018-05-24Get rid of `scalar_size`Oliver Schneider-5/+6
2018-05-24Update outdated commentOliver Schneider-1/+1
2018-05-24primval -> scalar renameOliver Schneider-34/+34
2018-05-24change `Value::Bytes` to `Value::Bits`Oliver Schneider-30/+57
2018-05-24Remove Pointer::zero in favor of Pointer::fromOliver Schneider-2/+1
2018-05-24Rename MemoryPointer to PointerOliver Schneider-6/+6
2018-05-24Eliminate the `Pointer` wrapper typeOliver Schneider-12/+12
2018-05-24Rename ByVal(Pair) to Scalar(Pair)Oliver Schneider-27/+27
2018-05-24Rename PrimVal to ScalarOliver Schneider-44/+44
2018-05-24Add constant for `Size::from_bytes(0)`Oliver Schneider-1/+1
2018-05-22Introduce AllocType which indicates what AllocIds point toJohn Kåre Alsaker-2/+3
2018-05-22Get rid of literal_alloc_cacheJohn Kåre Alsaker-1/+1
2018-05-20Auto merge of #50841 - oli-obk:promote_errors_to_panics, r=eddybbors-10/+2
2018-05-19Use `Size` instead of `u64` in mir interpretationOliver Schneider-30/+29
2018-05-19Keep statics' constant as ByRefOliver Schneider-0/+14
2018-05-19Go through an allocation when accessing fields of constantsOliver Schneider-2/+2
2018-05-19Reintroduce some sanity checksOliver Schneider-4/+0
2018-05-19Release mode overflows should not cause const eval to errorOliver Schneider-10/+2
2018-05-11Introduce ConstValue and use it instead of miri's Value for constant valuesJohn Kåre Alsaker-78/+93
2018-05-10Auto merge of #50395 - Zoxc:small-tys, r=michaelwoeristerbors-11/+16
2018-05-08Insert fields from TypeAndMut into TyRef to allow layout optimizationJohn Kåre Alsaker-11/+16
2018-05-08Fix thinning pointers to extern types in miriOliver Schneider-1/+4
2018-05-06issue-49938: Reference tagged unions discr(iminant) as tagSamuel Wilson-4/+4
2018-05-02Allow unaligned reads in constantsOliver Schneider-3/+1
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-3/+3
2018-04-30Merge ConstMathError into EvalErrorKindOliver Schneider-1/+1
2018-04-27Rollup merge of #50246 - nnethercote:no-dump_allocs, r=Mark-Simulacrumkennytm-3/+4
2018-04-26Auto merge of #49513 - nox:univariant-fieldless-enum-as-zst, r=eddybbors-1/+33
2018-04-26Treat repr(Rust) univariant fieldless enums as a ZST (fixes #15747)Anthony Ramine-1/+21
2018-04-26rustc_target: move LayoutOf's type parameter to an associated type.Irina Popa-2/+4
2018-04-26rustc_target: move in type definitions from ty::layout.Irina Popa-1/+1
2018-04-26Properly evaluate zst enumOliver Schneider-0/+9
2018-04-26Properly look for uninhabitedness when handling discriminantsAnthony Ramine-0/+3
2018-04-26Make dump_{alloc,allocs,local}() no-ops when tracing is disabled.Nicholas Nethercote-3/+4
2018-04-23Fix the miri toolOliver Schneider-27/+60
2018-04-20Auto merge of #50051 - nnethercote:no-env-var, r=Mark-Simulacrumbors-5/+5
2018-04-19Sign extend constants in range patternsOliver Schneider-12/+2
2018-04-19Lazily evaluate EvalErrorKind::*.into() calls.Nicholas Nethercote-5/+5
2018-04-15Auto merge of #49947 - oli-obk:turing_complete_const_eval, r=nagisabors-3/+3
2018-04-14Stop referring to statics' AllocIds directlyOliver Schneider-8/+6
2018-04-13Don't abort const eval due to long running evals, just warnOliver Schneider-3/+3
2018-04-10Remove Cell from const_eval_stack_frame_limit and const_eval_step_limitJohn Kåre Alsaker-2/+2