summary refs log tree commit diff
path: root/src/librustc_mir/interpret/eval_context.rs
AgeCommit message (Expand)AuthorLines
2018-08-30Don't hash the ctfe memoryOliver Schneider-3/+3
2018-07-29Sanity-check all constantsOliver Schneider-70/+340
2018-07-23Promoteds are statics and statics have a place, not just a valueOliver Schneider-13/+1
2018-07-18Move the const casting code into its dedicated fileOliver Schneider-128/+2
2018-07-17Pull out a statement that all match arms are executingOliver Schneider-5/+4
2018-07-04Move `Eq + Hash + Clone` bounds to `Machine`Dylan MacKenzie-8/+4
2018-07-04Avoid overflow in step counterDylan MacKenzie-13/+14
2018-07-04Rename `bloom` to `hashes`Dylan MacKenzie-8/+8
2018-07-04Enable loop detector in step loopDylan MacKenzie-5/+10
2018-07-04Add an `InfiniteLoop` variant to `EvalErrorKind`Dylan MacKenzie-3/+3
2018-07-04Improve correctness of `Frame` and `Memory` equalityDylan MacKenzie-8/+10
2018-07-04Revert "Refactor EvalContext stack and heap into inner struct"Dylan MacKenzie-121/+88
2018-07-04Add miri infinite loop detectionDylan MacKenzie-9/+62
2018-07-04Implement Clone, Eq and Hash for the heap and stackDylan MacKenzie-2/+86
2018-07-04Refactor EvalContext stack and heap into inner structDylan MacKenzie-63/+75
2018-07-02Removed `uninitialized_statics` field from `Memory` struct in miri.Alexander Regueiro-7/+7
2018-07-01Auto merge of #51833 - wesleywiser:faster_large_constant_arrays, r=oli-obkbors-4/+8
2018-06-28Merge `ConstVal` and `ConstValue`Oliver Schneider-33/+12
2018-06-28Move everything over from `middle::const_val` to `mir::interpret`Oliver Schneider-2/+2
2018-06-28Address review commentsOliver Schneider-2/+2
2018-06-28Eliminate old CTFE's `ErrKind`Oliver Schneider-2/+2
2018-06-26Speed up compilation of large constant arraysWesley Wiser-4/+8
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