From afb74449e0443d321da4b79e776eab376fdc51b1 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 22 Feb 2014 10:58:18 +0100 Subject: More statistics for created and retained trees --- src/dotty/tools/dotc/typer/Typer.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dotty/tools/dotc/typer/Typer.scala') diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala index 25721ad74..49792cb73 100644 --- a/src/dotty/tools/dotc/typer/Typer.scala +++ b/src/dotty/tools/dotc/typer/Typer.scala @@ -28,7 +28,7 @@ import util.SourcePosition import collection.mutable import annotation.tailrec import Implicits._ -import util.Stats.track +import util.Stats.{track, record} import config.Printers._ import language.implicitConversions @@ -959,7 +959,7 @@ class Typer extends Namer with Applications with Implicits { } def typedUnadapted(initTree: untpd.Tree, pt: Type = WildcardType)(implicit ctx: Context): Tree = { - + record("typedUnadapted") val xtree = expanded(initTree) xtree.removeAttachment(TypedAhead) match { case Some(ttree) => ttree -- cgit v1.2.3