提交 0e81072d 编写于 作者: N Niko Matsakis

Move stats into an @mut stats

上级 50e95ea4
......@@ -96,7 +96,7 @@ pub struct CrateContext {
all_llvm_symbols: HashSet<@str>,
tcx: ty::ctxt,
maps: astencode::Maps,
stats: Stats,
stats: @mut Stats,
upcalls: @upcall::Upcalls,
tydesc_type: Type,
int_type: Type,
......@@ -201,7 +201,7 @@ pub fn new(sess: session::Session,
all_llvm_symbols: HashSet::new(),
tcx: tcx,
maps: maps,
stats: Stats {
stats: @mut Stats {
n_static_tydescs: 0u,
n_glues_created: 0u,
n_null_glues: 0u,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册