summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-09-21 21:44:05 +0000
committerPaul Phillips <paulp@improving.org>2011-09-21 21:44:05 +0000
commitc0aebb12202d4a025de7a627987542a3d3a20277 (patch)
treefb8422820eff4a1d02006b4feaa43ea75e3a0911 /src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala
parent6c56d71a1712836364826b7b80cceb4c12c102a9 (diff)
downloadscala-c0aebb12202d4a025de7a627987542a3d3a20277.tar.gz
scala-c0aebb12202d4a025de7a627987542a3d3a20277.tar.bz2
scala-c0aebb12202d4a025de7a627987542a3d3a20277.zip
More performant encoding of tree errors.
Stole two bits from Tree#id to record whether a tree contains an error tree and whether its subtrees have been checked. This leaves us with only a single gigatree of headroom for replaying trees in the presentation compiler. Alert the media. Review by odersky.
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala')
-rw-r--r--src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala b/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala
index c071193e0e..289b643ba1 100644
--- a/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala
+++ b/src/compiler/scala/tools/nsc/ast/TreeBrowsers.scala
@@ -36,7 +36,6 @@ abstract class TreeBrowsers {
def create(): SwingBrowser = new SwingBrowser();
trait ValidTree extends Tree {
- protected def errorSubtrees: List[Tree] = Nil
}
/** Pseudo tree class, so that all JTree nodes are treated uniformly */