diff options
author | Martin Odersky <odersky@gmail.com> | 2016-11-17 18:56:16 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-11-17 18:56:16 +0100 |
commit | 5637720ea8769faa86b2cfedbfe9fe705e3f5b28 (patch) | |
tree | e8e2c8fee9df05fa10d54e78464532122e214dec /src/dotty/tools/dotc/core/tasty/TreeBuffer.scala | |
parent | fe20b9064fca765a38345a09aa484bfb537aa3c0 (diff) | |
download | dotty-5637720ea8769faa86b2cfedbfe9fe705e3f5b28.tar.gz dotty-5637720ea8769faa86b2cfedbfe9fe705e3f5b28.tar.bz2 dotty-5637720ea8769faa86b2cfedbfe9fe705e3f5b28.zip |
Address reviewer's comments.
Diffstat (limited to 'src/dotty/tools/dotc/core/tasty/TreeBuffer.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/tasty/TreeBuffer.scala | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala b/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala index 67dc6076f..6c7982d78 100644 --- a/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala +++ b/src/dotty/tools/dotc/core/tasty/TreeBuffer.scala @@ -17,10 +17,7 @@ class TreeBuffer extends TastyBuffer(50000) { private var delta: Array[Int] = _ private var numOffsets = 0 - /** A map from trees to the address(es) at which a tree is pickled. There may be several - * such addresses if the tree is shared. To keep the map compact, the value type is a - * disjunction of a single address (which is the common case) and a list of addresses. - */ + /** A map from trees to the address at which a tree is pickled. */ private val treeAddrs = new java.util.IdentityHashMap[Tree, Any] // really: Addr | Null def registerTreeAddr(tree: Tree): Addr = treeAddrs.get(tree) match { |