Make ty::ctxt be boxed.
Arguably we should leave ty_ctxt as a bare rec and just always work with boxes of it. This winds up being simpler and prettier, though.
This commit is contained in:
parent
a9a1392b2c
commit
f8bb5a3b58
3 changed files with 44 additions and 49 deletions
|
|
@ -143,7 +143,7 @@ fn compile_input(session::session sess, ast::crate_cfg cfg, str input,
|
|||
bind middle::tstate::ck::check_crate(ty_cx, crate));
|
||||
}
|
||||
time(time_passes, "alias checking",
|
||||
bind middle::alias::check_crate(@ty_cx, crate));
|
||||
bind middle::alias::check_crate(ty_cx, crate));
|
||||
auto llmod =
|
||||
time[llvm::llvm::ModuleRef](time_passes, "translation",
|
||||
bind trans::trans_crate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue