You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's generally no need to copy by-move arguments. They should not be by-value at the LLVM level but should instead be by-pointer. Essentially codegen should opportunistically treat by-value as a hypothetical &own for aggregates.
The text was updated successfully, but these errors were encountered:
Already playing with some patch that prefers to always zero after drop to
avoid having to copy (and zero) when passing by value, hitting a weird
crash at the moment though.
I see stuff like this in Servo's disassembly for arguments that are moved:
There's generally no need to copy by-move arguments. They should not be by-value at the LLVM level but should instead be by-pointer. Essentially codegen should opportunistically treat by-value as a hypothetical
&own
for aggregates.The text was updated successfully, but these errors were encountered: