mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:06:44 +01:00
The Rust compiler
https://www.rust-lang.org/
8972588583
A class with a dtor has a different representation (a pair of a bit field and a pointer to the class itself), and previously, the trans code was selecting out the second field on any reference to a variable whose type was a class with a dtor. This turned out to be wrong in the case where a closure captures a variable with such a type. Changed the code to only insert the field selection on a class field access. |
||
---|---|---|
doc | ||
man | ||
mk | ||
src | ||
.gitignore | ||
.gitmodules | ||
AUTHORS.txt | ||
configure | ||
INSTALL.txt | ||
LICENSE.txt | ||
Makefile.in | ||
README.txt | ||
RELEASES.txt |
This is a compiler and suite of associated libraries and documentation for the Rust programming language. See LICENSE.txt for terms of copyright and redistribution. See http://www.rust-lang.org for more information.