reset init time in all compiler invocations

This commit is contained in:
Dmitry Jemerov
2015-08-04 17:00:33 +02:00
parent 4187be2fe5
commit 456cdab814
@@ -60,7 +60,6 @@ public abstract class CLICompiler<A extends CommonCompilerArguments> {
@SuppressWarnings("UnusedDeclaration") // Used via reflection in CompilerRunnerUtil#invokeExecMethod
@NotNull
public ExitCode execAndOutputXml(@NotNull PrintStream errStream, @NotNull Services services, @NotNull String... args) {
K2JVMCompiler.Companion.resetInitStartTime();
return exec(errStream, services, MessageRenderer.XML, args);
}
@@ -116,6 +115,8 @@ public abstract class CLICompiler<A extends CommonCompilerArguments> {
@NotNull MessageRenderer messageRenderer,
@NotNull String[] args
) {
K2JVMCompiler.Companion.resetInitStartTime();
A arguments = parseArguments(errStream, messageRenderer, args);
if (arguments == null) {
return INTERNAL_ERROR;