aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/pickling/TastyBuffer.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-02-19 14:57:51 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-03-18 11:14:08 +0100
commit82f1ac6c326fc0a60b04b05e46c3e5e837249e64 (patch)
treebbbdb6dfafa3df664bffea3eac49fb9faff3c0bc /src/dotty/tools/dotc/core/pickling/TastyBuffer.scala
parent30f08b095192435b080afe4b1734b8ce48039f84 (diff)
downloaddotty-82f1ac6c326fc0a60b04b05e46c3e5e837249e64.tar.gz
dotty-82f1ac6c326fc0a60b04b05e46c3e5e837249e64.tar.bz2
dotty-82f1ac6c326fc0a60b04b05e46c3e5e837249e64.zip
Polishings on TastyReader
In particular: Allow for Addr(0) to point to the middle of the `bytes` array. Needed so that we can read trees without copying the bytes representing trees into a fresh array.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/TastyBuffer.scala')
-rw-r--r--src/dotty/tools/dotc/core/pickling/TastyBuffer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/TastyBuffer.scala b/src/dotty/tools/dotc/core/pickling/TastyBuffer.scala
index ba033461e..1c0f6e24f 100644
--- a/src/dotty/tools/dotc/core/pickling/TastyBuffer.scala
+++ b/src/dotty/tools/dotc/core/pickling/TastyBuffer.scala
@@ -21,7 +21,7 @@ object TastyBuffer {
/** The maximal number of address bytes.
* Since addresses are written as base-128 natural numbers,
- * the value of 4 gives a maximal array size of 512M.
+ * the value of 4 gives a maximal array size of 256M.
*/
final val AddrWidth = 4
}