summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/transform/LazyVals.scala
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-10-20 13:26:11 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-10-20 13:26:11 +0000
commit2014160121a62681bdc0e873a3f7e9b5e3bbae16 (patch)
tree5da2d4ad44f798bbf210f583139b302390ff8c8e /src/compiler/scala/tools/nsc/transform/LazyVals.scala
parentadd9be644fd7b2864e4dcdd792980622622c934a (diff)
downloadscala-2014160121a62681bdc0e873a3f7e9b5e3bbae16.tar.gz
scala-2014160121a62681bdc0e873a3f7e9b5e3bbae16.tar.bz2
scala-2014160121a62681bdc0e873a3f7e9b5e3bbae16.zip
Closes #3059, #3895 (the only difference betwee...
Closes #3059, #3895 (the only difference between this and r23232 is the forced info transformation that ensures that nested objects are viewed as lazy vals). sbt integration requires new starr for this commit to work.
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/LazyVals.scala')
-rw-r--r--src/compiler/scala/tools/nsc/transform/LazyVals.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/LazyVals.scala b/src/compiler/scala/tools/nsc/transform/LazyVals.scala
index 02da067619..9baec23129 100644
--- a/src/compiler/scala/tools/nsc/transform/LazyVals.scala
+++ b/src/compiler/scala/tools/nsc/transform/LazyVals.scala
@@ -12,6 +12,7 @@ abstract class LazyVals extends Transform with TypingTransformers with ast.TreeD
import CODE._
val phaseName: String = "lazyvals"
+ val FLAGS_PER_WORD: Int
def newTransformer(unit: CompilationUnit): Transformer =
new LazyValues(unit)
@@ -201,7 +202,6 @@ abstract class LazyVals extends Transform with TypingTransformers with ast.TreeD
private def mkSetFlag(bmp: Symbol, mask: Tree): Tree =
Ident(bmp) === (Ident(bmp) INT_| mask)
- final val FLAGS_PER_WORD = 32
val bitmaps = new mutable.HashMap[Symbol, List[Symbol]] {
override def default(meth: Symbol) = Nil
}