aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/SymDenotations.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-03-03 14:53:04 +0100
committerMartin Odersky <odersky@gmail.com>2013-03-03 15:13:18 +0100
commit30bfa5b1be62652fc07292d36ed1261edbcdb362 (patch)
treeb5329b2721a65170b2ff6623400d0bb7cbf51bcb /src/dotty/tools/dotc/core/SymDenotations.scala
parent24f5a1ef4b8a49b6a2a8c684c1c98bc6a5293813 (diff)
downloaddotty-30bfa5b1be62652fc07292d36ed1261edbcdb362.tar.gz
dotty-30bfa5b1be62652fc07292d36ed1261edbcdb362.tar.bz2
dotty-30bfa5b1be62652fc07292d36ed1261edbcdb362.zip
New LRU Cache implementation
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r--src/dotty/tools/dotc/core/SymDenotations.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala
index 0f519493a..975c4d6f1 100644
--- a/src/dotty/tools/dotc/core/SymDenotations.scala
+++ b/src/dotty/tools/dotc/core/SymDenotations.scala
@@ -577,7 +577,7 @@ object SymDenotations {
extends SymDenotation(symbol, _owner, name, initFlags, initInfo, initPrivateWithin) {
import NameFilter._
- import util.LRU8Cache
+ import util.LRUCache
// ----- denotation fields and accessors ------------------------------
@@ -707,10 +707,10 @@ object SymDenotations {
_definedFingerPrint
}
- private[this] var _memberCache: LRU8Cache[Name, PreDenotation] = null
+ private[this] var _memberCache: LRUCache[Name, PreDenotation] = null
- private def memberCache: LRU8Cache[Name, PreDenotation] = {
- if (_memberCache == null) _memberCache = new LRU8Cache
+ private def memberCache: LRUCache[Name, PreDenotation] = {
+ if (_memberCache == null) _memberCache = new LRUCache
_memberCache
}