summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/Global.scala
diff options
context:
space:
mode:
authorIulian Dragos <jaguarul@gmail.com>2006-08-15 09:26:50 +0000
committerIulian Dragos <jaguarul@gmail.com>2006-08-15 09:26:50 +0000
commit9b88ad1f3c30ebd32d3cb24116a71ad9628573e3 (patch)
treed59928d2872ab9c516829937f2654992e6a862d5 /src/compiler/scala/tools/nsc/Global.scala
parent6d236c4abdfbb0af8867a64461f69b9eecbeb279 (diff)
downloadscala-9b88ad1f3c30ebd32d3cb24116a71ad9628573e3.tar.gz
scala-9b88ad1f3c30ebd32d3cb24116a71ad9628573e3.tar.bz2
scala-9b88ad1f3c30ebd32d3cb24116a71ad9628573e3.zip
Added initial icode reader.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r--src/compiler/scala/tools/nsc/Global.scala6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala
index 7a42c54158..0a5e23b7d1 100644
--- a/src/compiler/scala/tools/nsc/Global.scala
+++ b/src/compiler/scala/tools/nsc/Global.scala
@@ -16,7 +16,7 @@ import scala.tools.nsc.reporters._
import scala.collection.mutable.{HashSet, HashMap, ListBuffer}
import symtab._
-import symtab.classfile.{PickleBuffer, Pickler}
+import symtab.classfile.{PickleBuffer, Pickler, ICodeReader}
import util.Statistics
import ast._
import ast.parser._
@@ -66,6 +66,10 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable
val global: Global.this.type = Global.this
}
+ object icodeReader extends ICodeReader {
+ val global: Global.this.type = Global.this
+ }
+
object analysis extends TypeFlowAnalysis {
val global: Global.this.type = Global.this
}