about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/interpret/intern.rs
AgeCommit message (Collapse)AuthorLines
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-437/+0
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-1/+1
2021-07-15adjustions and cleanup to make Miri build againRalf Jung-3/+3
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion ↵Ralf Jung-15/+13
infallible This resolves all the problems we had around "normalizing" the representation of a Scalar in case it carries a Pointer value: we can just use Pointer if we want to have a value taht we are sure is already normalized.
2021-06-29Support allocation failures when interperting MIRSmitty-1/+1
Note that this breaks Miri. Closes #79601
2021-06-27Change miri to use tcx allocated allocations.Charles Lew-1/+0
2021-05-12entirely remove rustc_args_required_const attributeRalf Jung-1/+0
2021-02-20all InterpError allocate now, so adjust alloc-error-checkRalf Jung-8/+0
2021-02-20Auto merge of #82124 - tmiasko:op-ty-ref, r=oli-obkbors-9/+9
Pass large interpreter types by reference, not value r? `@ghost`
2021-02-17Reduce size of InterpErrorInfo to 8 bytesTomasz Miąsko-1/+1
2021-02-16Pass MPlaceTy by reference not valueTomasz Miąsko-4/+4
2021-02-16Pass ImmTy by reference not valueTomasz Miąsko-1/+1
2021-02-16Pass OpTy by reference not valueTomasz Miąsko-4/+4
2021-01-24Reduce log level used by tracing instrumentation from info to debugTomasz Miąsko-1/+1
2020-12-03move interpret::MemoryKind::Heap to const evalVishnunarayan K I-11/+16
2020-12-02rename MemoryKind::Heap to ConstHeap; bless testVishnunarayan K I-1/+4
2020-12-01add const_allocate intrisicVishnunarayan K I-1/+1
2020-11-04make intern_const_alloc_recursive return error fix #78655Vishnunarayan K I-1/+6
2020-10-26explain why interning is not as trivial as it might seemRalf Jung-0/+11
2020-10-26interning cleanup: we no longer need to distinguish Const and ConstInner; we ↵Ralf Jung-56/+16
no longer need the ignore_interior_mut_in_const hack
2020-10-26move &mut-in-const check from interning to validationRalf Jung-2/+2
2020-10-26move UnsafeCell-in-const check from interning to validationRalf Jung-4/+2
2020-10-21Miri engine interning: improve comments, and entirely skip ZSTRalf Jung-11/+17
2020-10-17Optimize const value interning for ZST typesWesley Wiser-0/+6
Interning can skip any inhabited ZST type in general.
2020-09-04Change ty.kind to a methodLeSeulArtichaut-3/+3
2020-08-30mv compiler to compiler/mark-0/+455