about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/cast.rs
AgeCommit message (Expand)AuthorLines
2023-03-22Add `CastKind::Transmute` to MIRScott McMurray-0/+16
2023-03-05Do not ICE when casting polymorphic values.Camille GILLOT-13/+22
2023-02-20basic dyn* support for MiriRalf Jung-2/+9
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-1/+1
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-2/+5
2023-02-07Rename PointerSized to PointerLikeMichael Goulet-1/+1
2023-01-17`rustc_const_eval`: remove `ref` patterns (+some pattern matching imps)Maybe Waffle-1/+1
2022-12-18don't restuct references just to reborrowMatthias Krüger-1/+1
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-10-26Rollup merge of #103546 - RalfJung:cast, r=oli-obkDylan DPC-31/+30
2022-10-25interpret: a bit of cast cleanupRalf Jung-31/+30
2022-10-25Use &self instead of &mut self for cast methodsJannis Christopher Köhl-4/+4
2022-10-23remove misc_cast and validate typesouz-a-20/+43
2022-10-06Remove `mir::CastKind::Misc`ouz-a-2/+2
2022-09-13Address code review commentsEric Holk-6/+5
2022-09-12Rename some variantsMichael Goulet-1/+1
2022-09-12Construct dyn* during const interpMichael Goulet-1/+12
2022-09-12dyn* through more typechecking and MIREric Holk-0/+4
2022-09-12Plumb dyn trait representation through ty::DynamicEric Holk-1/+1
2022-08-26make read_immediate error immediately on uninit, so ImmTy can carry initializ...Ralf Jung-9/+9
2022-08-06make NOP dyn casts not require anything about the vtableRalf Jung-1/+6
2022-07-23now we can make scalar_to_ptr a method on ScalarRalf Jung-2/+2
2022-07-20detect bad vtables on an upcastRalf Jung-2/+5
2022-07-20incorporate some review feedbackRalf Jung-24/+3
2022-07-20make use of symbolic vtables in interpreterRalf Jung-14/+20
2022-07-19interpret: rename Tag/PointerTag to Prov/ProvenanceRalf Jung-16/+16
2022-07-06deduplicate some copy_op codeRalf Jung-1/+1
2022-07-06interpret: remove LocalValue::Unallocated, add Operand::UninitRalf Jung-1/+2
2022-07-05Auto merge of #96862 - oli-obk:enum_cast_mir, r=RalfJungbors-23/+2
2022-07-02Auto merge of #91743 - cjgillot:enable_mir_inlining_inline_all, r=oli-obkbors-1/+2
2022-07-01interpret: make a comment less scaryRalf Jung-1/+1
2022-06-30Recover when failing to normalize closure signature.Camille GILLOT-1/+2
2022-06-30Change enum->int casts to not go through MIR casts.Oli Scherer-23/+2
2022-06-26fix box with custom allocator in miriDrMeepster-16/+0
2022-06-05Allow ptr_from_addr_cast to failRalf Jung-1/+1
2022-06-02add cast kind of from_exposed_addr (int-to-ptr casts)Ralf Jung-10/+24
2022-06-01rename PointerAddress → PointerExposeAddressRalf Jung-3/+3
2022-05-31Add a pointer to address cast kindTomasz Miąsko-15/+22
2022-05-28Move things to rustc_type_irWilco Kusee-3/+3
2022-05-19Remove unneeded assertscarbotaniuman-3/+0
2022-05-13Rustc changes for permissive provenancecarbotaniuman-15/+44
2022-04-07interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internalRalf Jung-1/+1
2022-04-03interpret: remove MemoryExtra in favor of giving access to the MachineRalf Jung-4/+4
2022-03-06CTFE engine: expose misc_cast to MiriRalf Jung-5/+5
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-1/+1
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-0/+365