diff options
author | Miguel Garcia <miguelalfredo.garcia@epfl.ch> | 2012-03-05 10:21:23 +0100 |
---|---|---|
committer | Miguel Garcia <miguelalfredo.garcia@epfl.ch> | 2012-03-05 10:21:23 +0100 |
commit | 891b763071d5ee460a9c5f931eb4c44482d14eb4 (patch) | |
tree | 3a97561d9ddd6cf64ee6f1861eb1b34136fd9df1 /src | |
parent | 5f9756184a3911cc8197133cb0c327515b8fb90f (diff) | |
download | scala-891b763071d5ee460a9c5f931eb4c44482d14eb4.tar.gz scala-891b763071d5ee460a9c5f931eb4c44482d14eb4.tar.bz2 scala-891b763071d5ee460a9c5f931eb4c44482d14eb4.zip |
readability
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala index 8533affedd..aac777b71c 100644 --- a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala +++ b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala @@ -1126,8 +1126,6 @@ abstract class GenJVM extends SubComponent with GenJVMUtil with GenAndroid with linearization = linearizer.linearize(m) val labels = makeLabels(linearization) - /** local variables whose scope appears in this block. */ - val varsInBlock: mutable.Set[Local] = new mutable.HashSet var nextBlock: BasicBlock = linearization.head @@ -1263,7 +1261,9 @@ abstract class GenJVM extends SubComponent with GenJVMUtil with GenAndroid with var lastMappedPC = 0 var lastLineNr = 0 var crtPC = 0 - varsInBlock.clear() + + /** local variables whose scope appears in this block. */ + val varsInBlock: mutable.Set[Local] = new mutable.HashSet for (instr <- b) { |