rustc: Make core injection a timed pass
It's not much of a pass, but lets be consistent
This commit is contained in:
parent
5610205363
commit
2220d0f20f
1 changed files with 3 additions and 1 deletions
|
@ -127,7 +127,9 @@ fn compile_upto(sess: session, cfg: ast::crate_cfg,
|
|||
|
||||
if upto == cu_expand { ret {crate: crate, tcx: none}; }
|
||||
|
||||
crate = front::core_inject::maybe_inject_libcore_ref(sess, crate);
|
||||
crate =
|
||||
time(time_passes, "core injection",
|
||||
bind front::core_inject::maybe_inject_libcore_ref(sess, crate));
|
||||
|
||||
let ast_map =
|
||||
time(time_passes, "ast indexing",
|
||||
|
|
Loading…
Add table
Reference in a new issue