aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-27 16:02:08 +0200
committerMartin Odersky <odersky@gmail.com>2017-04-11 09:33:10 +0200
commit0bb5bb3ca37b851e47f9388f5bf89c3d2a18351f (patch)
tree38f6b070112d0905cf5441e124566c8fef48893e /compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala
parent0698383d595fec40c70905eb0e06b430f93ba0b8 (diff)
downloaddotty-0bb5bb3ca37b851e47f9388f5bf89c3d2a18351f.tar.gz
dotty-0bb5bb3ca37b851e47f9388f5bf89c3d2a18351f.tar.bz2
dotty-0bb5bb3ca37b851e47f9388f5bf89c3d2a18351f.zip
Eliminate TastyNames
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala b/compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala
index 13bc95028..40782f534 100644
--- a/compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala
+++ b/compiler/src/dotty/tools/dotc/core/tasty/TastyBuffer.scala
@@ -26,6 +26,9 @@ object TastyBuffer {
* the value of 4 gives a maximal array size of 256M.
*/
final val AddrWidth = 4
+
+ /** An address referring to a serialized name */
+ case class NameRef(index: Int) extends AnyVal
}
import TastyBuffer._