rust/compiler/rustc_const_eval/src/interpret
Jacob Pratt e9ef8e1efa
Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=Amanieu
rename ptr::from_exposed_addr -> ptr::with_exposed_provenance

As discussed on [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/136281-t-opsem/topic/To.20expose.20or.20not.20to.20expose/near/427757066).

The old name, `from_exposed_addr`, makes little sense as it's not the address that is exposed, it's the provenance. (`ptr.expose_addr()` stays unchanged as we haven't found a better option yet. The intended interpretation is "expose the provenance and return the address".)

The new name nicely matches `ptr::without_provenance`.
2024-04-02 20:37:39 -04:00
..
cast.rs also rename the SIMD intrinsic 2024-03-23 23:03:37 +01:00
discriminant.rs tag_for_variant follow-ups 2024-03-23 10:45:42 +01:00
eval_context.rs Auto merge of #122493 - lukas-code:sized-constraint, r=lcnr 2024-03-19 04:21:14 +00:00
intern.rs Forbid implicit nested statics in thread local statics 2024-04-02 13:00:46 +00:00
intrinsics.rs Auto merge of #122582 - scottmcm:swap-intrinsic-v2, r=oli-obk 2024-03-23 13:57:55 +00:00
machine.rs Avoid various uses of Option<Span> in favor of using DUMMY_SP in the few cases that used None 2024-03-18 09:34:08 +00:00
memory.rs Rollup merge of #122537 - RalfJung:interpret-allocation, r=oli-obk 2024-03-22 11:36:59 +01:00
mod.rs Move only usage of take_static_root_alloc to its definition and inline it 2024-03-14 11:40:30 +00:00
operand.rs Add+Use mir::BinOp::Cmp 2024-03-23 23:23:41 -07:00
operator.rs Add+Use mir::BinOp::Cmp 2024-03-23 23:23:41 -07:00
place.rs remove unnecessary frame parameter from after_local_allocated 2024-03-10 09:52:29 +01:00
projection.rs remove some frame parameters that are no longer needed 2024-03-09 18:28:14 +01:00
step.rs refactor check_{lang,library}_ub: use a single intrinsic, put policy into library 2024-03-23 18:45:05 +01:00
terminator.rs Make RawPtr take Ty and Mutbl separately 2024-03-22 11:13:29 -04:00
traits.rs make it more clear which functions create fresh AllocId 2023-09-14 07:27:31 +02:00
util.rs Move the entire success path into eval_body_using_ecx 2024-03-14 12:21:29 +00:00
validity.rs Exhaustively match on the mutability and nestedness 2024-03-12 05:53:47 +00:00
visitor.rs miri: do not apply aliasing restrictions to Box with custom allocator 2024-03-09 13:08:55 +01:00