diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala b/src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala index bd03fa3f8d..8ae305cc25 100644 --- a/src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala +++ b/src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala @@ -226,7 +226,7 @@ abstract class ICodeReader extends ClassfileParser { val codeLength = in.nextInt val code = new LinearCode - def parseInstruction { + def parseInstruction() { import opcodes._ import code._ var size = 1 // instruction size @@ -739,7 +739,7 @@ abstract class ICodeReader extends ClassfileParser { method.code } - def resolveDups { + def resolveDups() { import opcodes._ val tfa = new analysis.MethodTFA() { @@ -922,7 +922,7 @@ abstract class ICodeReader extends ClassfileParser { } /** Recover def-use chains for NEW and initializers. */ - def resolveNEWs { + def resolveNEWs() { import opcodes._ val rdef = new reachingDefinitions.ReachingDefinitionsAnalysis @@ -957,7 +957,7 @@ abstract class ICodeReader extends ClassfileParser { def getLocal(idx: Int, kind: TypeKind): Local = { assert(idx < maxLocals, "Index too large for local variable."); - def checkValidIndex { + def checkValidIndex() { locals.get(idx - 1) match { case Some(others) if others exists (_._2.isWideType) => global.globalError("Illegal index: " + idx + " points in the middle of another local") |