rust/src/comp/middle
Marijn Haverbeke e58c48bdda Optimize += [x] into a simple push operation
This is a preparation for making vectors always-on-the-heap again,
which would cause way too much malloc traffic for this idiom. I will
add an efficient std::vec::push in the future, and migrate += [x] to
that instead.

Reduces compiler code size by 3%
2011-08-24 13:57:27 +02:00
..
tstate Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00
alias.rs Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00
ast_map.rs Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00
check_alt.rs Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00
freevars.rs Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00
gc.rs Replace &ty::t with ty::t throughout the compiler 2011-08-22 14:06:17 +02:00
kind.rs Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught kinding-violations in rustc and libstd. 2011-08-23 15:58:53 -07:00
resolve.rs Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00
shape.rs Encode the istr shape correctly. Issue #855 2011-08-22 16:12:42 -07:00
trans.rs Optimize += [x] into a simple push operation 2011-08-24 13:57:27 +02:00
trans_alt.rs Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00
trans_common.rs Add skeleton of copy glue that actually copies 2011-08-22 11:41:49 +02:00
trans_ivec.rs Optimize += [x] into a simple push operation 2011-08-24 13:57:27 +02:00
trans_objects.rs Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00
ty.rs Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00
typeck.rs Move functions from syntax::ast to syntax::ast_util 2011-08-22 10:44:04 -07:00