rust/compiler/rustc_const_eval/src/interpret
Dylan DPC c4707ff8ef
Rollup merge of #100208 - RalfJung:dyn-upcast-nop, r=petrochenkov
make NOP dyn casts not require anything about the vtable

As suggested [on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/144729-t-types/topic/dyn-upcasting.20stabilization/near/292151439). This matches what the codegen backends already do, and what Miri did do until https://github.com/rust-lang/rust/pull/99420 when I made it super extra paranoid.
2022-08-19 12:26:41 +05:30
..
intrinsics interpret: rename Tag/PointerTag to Prov/Provenance 2022-07-19 15:38:32 -04:00
cast.rs make NOP dyn casts not require anything about the vtable 2022-08-06 18:31:59 -04:00
eval_context.rs now we can make scalar_to_ptr a method on Scalar 2022-07-23 10:36:57 -04:00
intern.rs now we can make scalar_to_ptr a method on Scalar 2022-07-23 10:36:57 -04:00
intrinsics.rs interpret, ptr_offset_from: refactor and test too-far-apart check 2022-07-24 19:35:40 -04:00
machine.rs Rename Machine memory hooks to suggest when they run 2022-08-15 19:54:43 -04:00
memory.rs Rename Machine memory hooks to suggest when they run 2022-08-15 19:54:43 -04:00
mod.rs interpret: refactor projection handling code 2022-07-11 22:50:46 -04:00
operand.rs Avoid repeating qualifiers on static_assert_size calls. 2022-08-10 11:51:21 +10:00
operator.rs interpret: rename Tag/PointerTag to Prov/Provenance 2022-07-19 15:38:32 -04:00
place.rs Avoid repeating qualifiers on static_assert_size calls. 2022-08-10 11:51:21 +10:00
projection.rs Auto merge of #99472 - RalfJung:provenance, r=oli-obk 2022-07-20 16:56:31 +00:00
step.rs add new rval, pull deref early 2022-07-12 14:26:41 +03:00
terminator.rs interpret: only consider 1-ZST when searching for receiver 2022-07-30 21:44:34 -04:00
traits.rs incorporate some review feedback 2022-07-20 17:12:07 -04:00
util.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
validity.rs add -Zextra-const-ub-checks to enable more UB checking in const-eval 2022-08-07 09:54:40 -04:00
visitor.rs make use of symbolic vtables in interpreter 2022-07-20 17:12:04 -04:00