librustc: De-@mut the translation stats

This commit is contained in:
Patrick Walton 2013-12-22 14:00:14 -08:00
parent 9f6706975b
commit d3fc7b9918

View file

@ -100,7 +100,7 @@ pub struct CrateContext {
all_llvm_symbols: RefCell<HashSet<@str>>,
tcx: ty::ctxt,
maps: astencode::Maps,
stats: @mut Stats,
stats: @Stats,
tydesc_type: Type,
int_type: Type,
opaque_vec_type: Type,
@ -210,7 +210,7 @@ impl CrateContext {
all_llvm_symbols: RefCell::new(HashSet::new()),
tcx: tcx,
maps: maps,
stats: @mut Stats {
stats: @Stats {
n_static_tydescs: Cell::new(0u),
n_glues_created: Cell::new(0u),
n_null_glues: Cell::new(0u),