diff options
Diffstat (limited to 'src/dotty/tools/dotc/CompilationUnit.scala')
-rw-r--r-- | src/dotty/tools/dotc/CompilationUnit.scala | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/dotty/tools/dotc/CompilationUnit.scala b/src/dotty/tools/dotc/CompilationUnit.scala index f0ce19320..f5899f0f2 100644 --- a/src/dotty/tools/dotc/CompilationUnit.scala +++ b/src/dotty/tools/dotc/CompilationUnit.scala @@ -24,18 +24,4 @@ class CompilationUnit(val source: SourceFile) { * Subsequent phases can add new sections. */ var picklers: Map[ClassSymbol, TastyPickler] = Map() - - /** TODO: I'd prefer we do not put this in CompilationUnit - * Addresses in TASTY file of trees, stored by pickling. - * Note that trees are checked for reference equality, - * so one can reliably use this function only directly after `pickler` - */ - var addrOfTree: tpd.Tree => Option[Addr] = (_ => None) - - /** TODO: I'd prefer we do not put this in CompilationUnit - * Addresses in TASTY file of symbols, stored by pickling. - * Note that trees are checked for reference equality, - * so one can reliably use this function only dirrectly after `pickler` - */ - var addrOfSym: Symbol => Option[Addr] = (_ => None) } |