summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornielsen <nielsen@epfl.ch>2009-02-09 10:42:40 +0000
committernielsen <nielsen@epfl.ch>2009-02-09 10:42:40 +0000
commit6fde5968a302b360d861487a1f749def504e91f3 (patch)
treead12a9fad159415a2b426bd954d5a888f08b3fdf /src
parent18b36de92bac9743474897cedc3602fc6ec9fb38 (diff)
downloadscala-6fde5968a302b360d861487a1f749def504e91f3.tar.gz
scala-6fde5968a302b360d861487a1f749def504e91f3.tar.bz2
scala-6fde5968a302b360d861487a1f749def504e91f3.zip
Remove type annotations as part of SIP 00002 an...
Remove type annotations as part of SIP 00002 and removed function from Global that is not used any more
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index ef243c1b06..ecd7bdc6de 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -541,6 +541,7 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable
/* The set of phase objects that is the basis for the compiler phase chain */
protected val phasesSet : HashSet[SubComponent] = new HashSet[SubComponent]
+ /** A accessor for the phase descriptor list (List of SubComponents), Only calculate the list once */
def phaseDescriptors = {
if (phasesCache.isEmpty) phasesCache = Some(computePhaseDescriptors)
phasesCache.get
@@ -556,11 +557,6 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable
}
- protected def insertBefore(c: SubComponent, cs: List[SubComponent], before: SubComponent): List[SubComponent] = cs match {
- case List() => List(c)
- case c1 :: cs1 => if (c1 == before) c :: cs else c1 :: insertBefore(c, cs1, before)
- }
-
private var curRun: Run = null
def currentRun: Run = curRun
private var curRunId = 0