Find a file
Marijn Haverbeke 8673c4f195 Make ty::t type self-sufficient
It is now no longer needed to have a ty::ctxt to get at the contents
of a ty::t. The straight-forward approach of doing this, simply making
ty::t a box type, unfortunately killed our compiler performance (~15%
slower) through refcounting cost. Thus, this patch now represents
ty::t as an unsafe pointer, assuming that the ty::ctxt, which holds
these boxes alive, outlives any uses of the ty::t values. In the
current compiler this trivially holds, but it is does of course add a
new potential pitfall.

ty::get takes a ty::t and returns a boxed representation of the type.
I've changed calls to ty::struct(X) to do ty::get(X).struct. Type
structs are full of vectors, and copying them every time we wanted to
access them was a bit of a cost.
2012-02-06 16:53:25 +01:00
doc Merge remote-tracking branch 'erickt/master' 2012-02-05 15:15:21 -08:00
man Updating the manpage and usage message 2012-01-30 19:02:20 -08:00
mk platform-specific valgrind suppression 2012-02-05 09:07:23 -08:00
src Make ty::t type self-sufficient 2012-02-06 16:53:25 +01:00
.gitignore Update .gitignore 2012-01-20 17:26:20 -08:00
.gitmodules Update libuv. 2012-02-02 17:39:47 -08:00
AUTHORS.txt Add Ted Horst to AUTHORS.txt 2012-02-03 20:55:20 -08:00
configure Update libuv. 2012-02-02 17:39:47 -08:00
INSTALL.txt doc: Just remove mention of the busted win installer from INSTALL.txt 2012-01-23 14:15:40 -08:00
LICENSE.txt Add Inno Setup installer script rather than NSIS 2012-01-25 16:02:53 -08:00
Makefile.in Merge pull request #1669 from graydon/inno-setup 2012-01-26 18:16:30 -08:00
README.txt Rename some readmes and fix some dist logic. 2012-01-17 16:50:13 -08:00
RELEASES.txt doc: Fix typo in RELEASES.txt 2012-01-19 22:54:08 -08:00

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.