diff options
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/TastyBuffer.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/pickling/TastyBuffer.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/TastyBuffer.scala b/src/dotty/tools/dotc/core/pickling/TastyBuffer.scala index 61dce9efb..9197a2acc 100644 --- a/src/dotty/tools/dotc/core/pickling/TastyBuffer.scala +++ b/src/dotty/tools/dotc/core/pickling/TastyBuffer.scala @@ -18,6 +18,8 @@ object TastyBuffer { def relativeTo(base: Addr): Addr = this - base.index - AddrWidth } + + val NoAddr = Addr(-1) /** The maximal number of address bytes. * Since addresses are written as base-128 natural numbers, |