diff options
Diffstat (limited to 'src/dotty/tools/dotc/Run.scala')
-rw-r--r-- | src/dotty/tools/dotc/Run.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/Run.scala b/src/dotty/tools/dotc/Run.scala index 962221994..a00fda36b 100644 --- a/src/dotty/tools/dotc/Run.scala +++ b/src/dotty/tools/dotc/Run.scala @@ -4,7 +4,7 @@ package dotc import core._ import Contexts._, Periods._, Symbols._ import io.PlainFile -import util.{SourceFile, NoSource} +import util.{SourceFile, NoSource, Stats} class Run(comp: Compiler)(implicit ctx: Context) { @@ -19,7 +19,7 @@ class Run(comp: Compiler)(implicit ctx: Context) { } } - def compile(fileNames: List[String]): Unit = { + def compile(fileNames: List[String]): Unit = Stats.monitorHeartBeat { val sources = fileNames map getSource if (sources forall (_.exists)) { units = sources map (new CompilationUnit(_)) |