aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Contexts.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-01-26 10:13:11 +0100
committerMartin Odersky <odersky@gmail.com>2014-01-26 18:52:33 +0100
commit8b1cc2270c67157f60111a853680fd4f20418d59 (patch)
tree8527e023059546f2a8dc80e14237e3fab0555d64 /src/dotty/tools/dotc/core/Contexts.scala
parentb2dd6a8a67a70783e68da1f33c33f18c6641e5bb (diff)
downloaddotty-8b1cc2270c67157f60111a853680fd4f20418d59.tar.gz
dotty-8b1cc2270c67157f60111a853680fd4f20418d59.tar.bz2
dotty-8b1cc2270c67157f60111a853680fd4f20418d59.zip
Some more statistic sampling
Diffstat (limited to 'src/dotty/tools/dotc/core/Contexts.scala')
-rw-r--r--src/dotty/tools/dotc/core/Contexts.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Contexts.scala b/src/dotty/tools/dotc/core/Contexts.scala
index f74cd9445..8c2e0fbb3 100644
--- a/src/dotty/tools/dotc/core/Contexts.scala
+++ b/src/dotty/tools/dotc/core/Contexts.scala
@@ -427,6 +427,8 @@ object Contexts {
override def hash(x: Type): Int = x.hash
}
+ private[dotc] def uniquesSize = uniques.size
+
/** The number of recursive invocation of underlying on a NamedType
* during a controlled operation.
*/