diff options
author | Martin Odersky <odersky@gmail.com> | 2014-01-26 10:13:11 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-01-26 18:52:33 +0100 |
commit | 8b1cc2270c67157f60111a853680fd4f20418d59 (patch) | |
tree | 8527e023059546f2a8dc80e14237e3fab0555d64 /src/dotty/tools/dotc/core/Contexts.scala | |
parent | b2dd6a8a67a70783e68da1f33c33f18c6641e5bb (diff) | |
download | dotty-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.scala | 2 |
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. */ |