summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/intern.rs
AgeCommit message (Expand)AuthorLines
2024-04-04Don't inherit codegen attrs from parent staticMichael Goulet-1/+7
2024-03-14Move only usage of `take_static_root_alloc` to its definition and inline itOli Scherer-1/+1
2024-03-13placate tidy.Felix S. Klock II-1/+1
2024-03-13downgrade mutable-ptr-in-final-value from hard-error to future-incompat lint ...Felix S. Klock II-4/+8
2024-03-12s/mt/mutability/Oli Scherer-1/+1
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-3/+44
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-2/+2
2024-02-15Do not allocate a second "background" alloc id for the main allocation of a s...Oli Scherer-5/+27
2024-02-13Bump `indexmap`clubby789-1/+2
2024-02-05Clarify order of operations during interningOli Scherer-0/+7
2024-01-29Document base vs nested alloc interningOli Scherer-0/+3
2024-01-29separately intern the outermost alloc from the restOli Scherer-41/+39
2024-01-29Prefer external iteration now that we don't actually recurse anymoreOli Scherer-22/+16
2024-01-22reword commentRalf Jung-7/+10
2024-01-22const-eval interner: from-scratch rewrite using mutability information from p...Ralf Jung-407/+150
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-5/+5
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-11/+13
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-4/+4
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-25Rename has_provance and tweaks comments.Camille GILLOT-1/+4
2023-10-25Take an AllocId in intern_const_alloc_for_constprop.Camille GILLOT-2/+1
2023-10-25Move provenance checks out of interning method.Camille GILLOT-12/+2
2023-10-25Directly intern values instead of copying them.Camille GILLOT-0/+44
2023-10-15separate bounds-check from alignment checkRalf Jung-2/+2
2023-10-15don't UB on dangling ptr deref, instead check inbounds on projectionsRalf Jung-1/+1
2023-09-14use AllocId instead of Allocation in ConstValue::ByRefRalf Jung-5/+9
2023-09-04interpret: make MemPlace, Place, Operand types private to the interpreterRalf Jung-6/+6
2023-08-27miri/diagnostics: don't forget to print_backtrace when ICEing on unexpected e...Ralf Jung-1/+2
2023-07-25make MPlaceTy non-CopyRalf Jung-2/+2
2023-07-25interpret: make read functions generic over operand typeRalf Jung-1/+1
2023-07-25interpret: refactor projection code to work on a common trait, and use that f...Ralf Jung-70/+57
2023-07-11miri: protect Move() function arguments during the callRalf Jung-1/+1
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-13/+14
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-02-24Rename many interner functions.Nicholas Nethercote-3/+3
2023-02-20basic dyn* support for MiriRalf Jung-1/+1
2023-01-31Download rustc component for rustfmt toolchain as wellMark Rousskov-9/+9
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-5/+5
2022-11-06interpret: support for per-byte provenanceRalf Jung-2/+2
2022-10-29Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errorsGuillaume Gomez-1/+1
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-1/+1
2022-10-18Remove allow(rustc::potential_query_instability) in rustc_const_evalCastilloDel-5/+5
2022-10-07make const_err a hard errorRalf Jung-2/+0
2022-09-01Directly use the `instrument` macro instead of its full pathOli Scherer-1/+1
2022-08-27interpret: rename relocation → provenanceRalf Jung-7/+7
2022-07-23now we can make scalar_to_ptr a method on ScalarRalf Jung-1/+1
2022-07-20rename get_global_alloc to try_get_global_allocRalf Jung-2/+2
2022-07-19interpret: rename Tag/PointerTag to Prov/ProvenanceRalf Jung-2/+2
2022-07-07`UnsafeCell` now has no niches, ever.Oli Scherer-1/+1
2022-07-02Auto merge of #97585 - lqd:const-alloc-intern, r=RalfJungbors-2/+45