Closed
Description
In codegen_rvalue
we used to handle two kinds of Rvalue::Cast
: CastKind::Misc
and CastKind::Pointer
Rust introduced in a couple PRs new variants that distinguish (from CastKind::Misc
) casts that turn pointers into numbers or vice versa. This is likely due to the need to think specially about these, since they need to invent (or forget) pointer providence.
We currently do not take advantage of this. Should we?
Rust PRs:
Metadata
Metadata
Assignees
Labels
No labels