summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/projection.rs
AgeCommit message (Expand)AuthorLines
2024-01-26interpret: project_downcast: do not ICE for uninhabited variantsRalf Jung-19/+2
2024-01-23const prop nonsense eliminatedOli Scherer-28/+21
2023-12-14interpret: extend comment on the inhabitedness check in downcastRalf Jung-0/+18
2023-12-12reject projecting to fields whose offset we cannot computeRalf Jung-4/+7
2023-12-03codegen, miri: fix computing the offset of an unsized field in a packed structRalf Jung-1/+11
2023-11-23remove unused pub fnklensy-2/+2
2023-10-15place evaluation: require the original pointer to be aligned if an access hap...Ralf Jung-0/+1
2023-10-15avoid re-checking the offset while iterating an array/sliceRalf Jung-5/+28
2023-10-15don't UB on dangling ptr deref, instead check inbounds on projectionsRalf Jung-2/+0
2023-10-02Add docs, remove code, change subtyper codeouz-a-1/+2
2023-10-02subtyping_projectionsouz-a-0/+1
2023-09-28Skip reinterning if nothing changedOli Scherer-1/+3
2023-09-28Strip `OpaqueCast` during `RevealAll`.Oli Scherer-1/+1
2023-09-04interpret: make MemPlace, Place, Operand types private to the interpreterRalf Jung-5/+3
2023-08-30a bit of meta-related cleanup on ProjectableRalf Jung-4/+21
2023-08-30interpret: fix projecting into an unsized field of a localRalf Jung-26/+40
2023-08-06interpret: use ConstPropNonsense for more const-prop induced issuesRalf Jung-1/+1
2023-08-01rename deref_operand → deref_pointer and some Miri helper functionsRalf Jung-1/+1
2023-07-25interpret: make write functions generic over the place typeRalf Jung-15/+12
2023-07-25interpret: refactor projection code to work on a common trait, and use that f...Ralf Jung-270/+154
2023-07-24interpret: support projecting into Place::Local without force_allocationRalf Jung-133/+151
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+4
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-3/+3
2022-12-12interpret: add read_machine_[ui]size convenience methodsRalf Jung-2/+2
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-2/+2
2022-11-18interpret: use Either over Result when it is not representing an error conditionRalf Jung-3/+5
2022-09-16Revert "Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r...Oli Scherer-0/+10
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-08-30Rollup merge of #101101 - RalfJung:read-pointer-as-bytes, r=oli-obkDylan DPC-3/+1
2022-08-27interpret: make read-pointer-as-bytes *always* work in MiriRalf Jung-3/+1
2022-08-27remove an ineffective check in const_propRalf Jung-0/+3
2022-07-20Auto merge of #99472 - RalfJung:provenance, r=oli-obkbors-35/+35
2022-07-20Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"Oli Scherer-10/+0
2022-07-19interpret: rename Tag/PointerTag to Prov/ProvenanceRalf Jung-35/+35
2022-07-18interpret: make some large types not CopyRalf Jung-4/+4
2022-07-16Rollup merge of #99259 - RalfJung:visit-a-place, r=oli-obkMatthias Krüger-7/+5
2022-07-15interpret/visitor: support visiting with a PlaceTyRalf Jung-7/+5
2022-07-15Introduce opaque type to hidden type projectionOli Scherer-0/+10
2022-07-11interpret: refactor projection handling codeRalf Jung-0/+393