Skip to content

Commit 0e81072

Browse files
committed
Move stats into an @mut stats
1 parent 50e95ea commit 0e81072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/middle/trans/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pub struct CrateContext {
9696
all_llvm_symbols: HashSet<@str>,
9797
tcx: ty::ctxt,
9898
maps: astencode::Maps,
99-
stats: Stats,
99+
stats: @mut Stats,
100100
upcalls: @upcall::Upcalls,
101101
tydesc_type: Type,
102102
int_type: Type,
@@ -201,7 +201,7 @@ impl CrateContext {
201201
all_llvm_symbols: HashSet::new(),
202202
tcx: tcx,
203203
maps: maps,
204-
stats: Stats {
204+
stats: @mut Stats {
205205
n_static_tydescs: 0u,
206206
n_glues_created: 0u,
207207
n_null_glues: 0u,

0 commit comments

Comments
 (0)