diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2006-11-21 15:03:37 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2006-11-21 15:03:37 +0000 |
commit | 216f8bf4c23b66c786d93444f57e95beadb0bac7 (patch) | |
tree | e08c0aa2f3a47fd80e07b2f938ed737cf0b6d28b | |
parent | 54ad97b77d34a977c4cf2fc10c38593a7aa4106e (diff) | |
download | scala-216f8bf4c23b66c786d93444f57e95beadb0bac7.tar.gz scala-216f8bf4c23b66c786d93444f57e95beadb0bac7.tar.bz2 scala-216f8bf4c23b66c786d93444f57e95beadb0bac7.zip |
Small bugfix.
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala b/src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala index 0c8508b0b2..d517a8db53 100644 --- a/src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala +++ b/src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala @@ -581,10 +581,10 @@ abstract class ICodeReader extends ClassfileParser { var disableJmpTarget = false for (val Pair(pc, instr) <- instrs.elements) { - Console.println("> " + pc + ": " + instr); +// Console.println("> " + pc + ": " + instr); if (jmpTargets contains pc) { otherBlock = blocks(pc) - if (!bb.isClosed) { + if (!bb.isClosed && otherBlock != bb) { bb.emit(JUMP(otherBlock)) bb.close } |