Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

another GenJVM remnant that goes away

  • Loading branch information...
commit 0b6a592f6b7266ac8f443a081969a3eb9d1c93c1 1 parent af0184d
@magarciaEPFL magarciaEPFL authored
Showing with 0 additions and 15 deletions.
  1. +0 −15 src/compiler/scala/tools/nsc/backend/jvm/GenJVMASM.scala
View
15 src/compiler/scala/tools/nsc/backend/jvm/GenJVMASM.scala
@@ -5,7 +5,6 @@
package scala.tools.nsc
package backend.jvm
-import scala.tools.nsc.io.AbstractFile
import scala.tools.nsc.symtab._
/** Code shared between the erstwhile legacy backend (aka GenJVM)
@@ -19,20 +18,6 @@ trait GenJVMASM {
import icodes._
import definitions._
- protected def outputDirectory(sym: Symbol): AbstractFile =
- settings.outputDirs outputDirFor enteringFlatten(sym.sourceFile)
-
- protected def getFile(base: AbstractFile, clsName: String, suffix: String): AbstractFile = {
- var dir = base
- val pathParts = clsName.split("[./]").toList
- for (part <- pathParts.init) {
- dir = dir.subdirectoryNamed(part)
- }
- dir.fileNamed(pathParts.last + suffix)
- }
- protected def getFile(sym: Symbol, clsName: String, suffix: String): AbstractFile =
- getFile(outputDirectory(sym), clsName, suffix)
-
protected val ExcludedForwarderFlags = {
import Flags._
// Should include DEFERRED but this breaks findMember.
Please sign in to comment.
Something went wrong with that request. Please try again.