rust/compiler/rustc_const_eval/src/interpret
Matthias Krüger e5ba69b927
Rollup merge of #139974 - Patrick-6:change-visibility, r=RalfJung
Change `InterpCx::instantiate*` function visibility to pub

For some ongoing work in Miri we need to be able to access `instantiate_from_current_frame_and_normalize_erasing_regions` and `instantiate_from_frame_and_normalize_erasing_regions` on `InterpCx`.

r? `@RalfJung`
2025-04-17 21:53:27 +02:00
..
call.rs add a doc comment 2025-02-15 08:21:27 +01:00
cast.rs Stop relying on rustc_type_ir in non-type-system crates 2025-03-15 06:42:48 +00:00
discriminant.rs make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00
eval_context.rs Change function visibility to pub 2025-04-17 16:23:44 +02:00
intern.rs intern_with_temp_alloc is for DummyMachine only. 2025-04-17 13:08:31 +10:00
intrinsics.rs miri: improve error when offset_from preconditions are violated 2025-02-02 15:07:13 +01:00
machine.rs interpret memory access hooks: also pass through the Pointer used for the access 2025-03-20 17:00:45 +01:00
memory.rs interpret: add a version of run_for_validation for &self 2025-04-01 15:11:10 +02:00
mod.rs make return type of get_alloc_info a struct, and reduce some code duplication with validity checking 2024-11-09 15:18:52 +01:00
operand.rs Remove BackendRepr::Uninhabited, replaced with an uninhabited: bool field in LayoutData. 2025-02-20 13:27:32 -06:00
operator.rs Contracts core intrinsics. 2025-02-03 12:53:57 -08:00
place.rs miri: optimize zeroed alloc 2025-01-28 12:50:02 +01:00
projection.rs Implement MIR, CTFE, and codegen for unsafe binders 2025-01-31 17:19:53 +00:00
stack.rs Shorten span of panic failures in const context 2025-02-28 16:28:41 +00:00
step.rs minor interpret cleanups 2025-03-12 18:35:40 +01:00
traits.rs interpret: adjust vtable validity check for higher-ranked types 2025-01-31 17:43:28 +01:00
util.rs fix ensure_monomorphic_enough 2025-02-11 01:15:08 +01:00
validity.rs interpret: add a version of run_for_validation for &self 2025-04-01 15:11:10 +02:00
visitor.rs make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00