Skip to content

interpret: add deref_operand_with_layout - #104355

Closed
RalfJung wants to merge 2 commits into
rust-lang:masterfrom
RalfJung:interpret-deref-sized
Closed

interpret: add deref_operand_with_layout#104355
RalfJung wants to merge 2 commits into
rust-lang:masterfrom
RalfJung:interpret-deref-sized

Conversation

@RalfJung

Copy link
Copy Markdown
Member

to override the layout the ptr is being deref'd at. This helps for rust-lang/miri#2661.

Also add an is_sized method to avoid the double negation in !is_unsized() that we have quite a lot.

r? @oli-obk

@rustbotrustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 13, 2022
@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

Some changes occurred in compiler/rustc_codegen_gcc

cc @antoyo

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

Some changes occurred in compiler/rustc_codegen_cranelift

cc @bjorn3

The Miri subtree was changed

cc @rust-lang/miri

@RalfJung

Copy link
Copy Markdown
MemberAuthor

Superseded by #104356.

@RalfJung
RalfJung deleted the interpret-deref-sized branch March 9, 2024 17:52
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-reviewStatus: Awaiting review from the assignee but also interested parties.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@RalfJung@rustbot@oli-obk