Updated stupid-stats

cc: nrc/stupid-stats#8
This commit is contained in:
Michael Bryan 2018-03-12 19:04:18 +08:00 committed by Who? Me?!
parent 27225507d7
commit c919a89995
1 changed files with 6 additions and 4 deletions

View File

@ -243,13 +243,15 @@ impl<'a> CompilerCalls<'a> for StupidCalls {
}
fn late_callback(&mut self,
t: &TransCrate,
m: &getopts::Matches,
s: &Session,
c: &CrateStore,
i: &Input,
odir: &Option<Path>,
ofile: &Option<Path>)
odir: &Option<PathBuf>,
ofile: &Option<PathBuf>)
-> Compilation {
self.default_calls.late_callback(m, s, i, odir, ofile);
self.default_calls.late_callback(t, m, s, c, i, odir, ofile);
Compilation::Continue
}
@ -393,4 +395,4 @@ It'd be great to see Rustdoc converted to using these APIs, if that is possible
analysis, rather than doing its own analysis). Other parts of the compiler
(e.g., pretty printing, testing) could be refactored to use these APIs
internally (I already changed save-analysis to use `CompilerController`). I've
been experimenting with a prototype rustfmt which also uses these APIs.
been experimenting with a prototype rustfmt which also uses these APIs.