summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/backend/jvm/GenBCode.scala
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@gmail.com>2014-06-10 11:21:13 +0200
committerLukas Rytz <lukas.rytz@gmail.com>2014-07-08 13:17:23 +0200
commit0ccdb151ffe9caa9eae7d01a4f2eacc87fa8f5ff (patch)
treedbb47f570f9ffb2d8984598805ed92d783b9140e /src/compiler/scala/tools/nsc/backend/jvm/GenBCode.scala
parent1bed39a1cb2be13cb26a038dfd1649964063c498 (diff)
downloadscala-0ccdb151ffe9caa9eae7d01a4f2eacc87fa8f5ff.tar.gz
scala-0ccdb151ffe9caa9eae7d01a4f2eacc87fa8f5ff.tar.bz2
scala-0ccdb151ffe9caa9eae7d01a4f2eacc87fa8f5ff.zip
Clean up and document some usages of flags in the backend
Diffstat (limited to 'src/compiler/scala/tools/nsc/backend/jvm/GenBCode.scala')
-rw-r--r--src/compiler/scala/tools/nsc/backend/jvm/GenBCode.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenBCode.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenBCode.scala
index 6b192556d9..af5d01458a 100644
--- a/src/compiler/scala/tools/nsc/backend/jvm/GenBCode.scala
+++ b/src/compiler/scala/tools/nsc/backend/jvm/GenBCode.scala
@@ -165,7 +165,7 @@ abstract class GenBCode extends BCodeSyncAndTry {
// -------------- mirror class, if needed --------------
val mirrorC =
- if (isStaticModule(claszSymbol) && isTopLevelModule(claszSymbol)) {
+ if (isTopLevelModuleClass(claszSymbol)) {
if (claszSymbol.companionClass == NoSymbol) {
mirrorCodeGen.genMirrorClass(claszSymbol, cunit)
} else {